API documentation
Reach the portal's datasets straight over HTTP, without downloading a file. No authentication is required; every endpoint offers public read access.
Base address
https://bvakp-od-portal.buyukverianalitigi.com/api/3/action/
Every response is UTF-8 JSON and uses the same envelope:
{
"success": true,
"result": { ... }
}
On failure "success" is false and an "error" object is returned. The HTTP status code may differ from 200.
Querying data - datastore_search
Used to query the rows of a dataset. Only resources loaded into the DataStore can be queried; the datasets reachable through the API are listed below.
GET https://bvakp-od-portal.buyukverianalitigi.com/api/3/action/datastore_search?resource_id=<kaynak-id>
Parameters
| Parameter | Description |
|---|---|
resource_id | Required. Id of the resource to query. |
limit | Number of rows to return (default 100). |
offset | Number of rows to skip. Together with limit it provides pagination. |
sort | Ordering: field name and direction, e.g. yil desc. Several fields can be given, comma separated. |
filters | Per-field equality filter; a JSON object, e.g. {"yil":"2025"}. |
q | Full-text search. Either a single string or a per-field JSON object. |
fields | Returns only the listed fields (comma separated). |
distinct | When true, duplicate rows are collapsed into one. |
SQL querying (datastore_search_sql) is disabled on this deployment; filter and sort with the parameters above.
Working examples
The examples below run against the real resource of this dataset: periyodik güncelleme test gün (7 rows).
curl
curl -s "https://bvakp-od-portal.buyukverianalitigi.com/api/3/action/datastore_search?resource_id=b681004b-5ecf-44db-a2b8-b453911ddf90&limit=5"
Ordering and pagination
curl -s "https://bvakp-od-portal.buyukverianalitigi.com/api/3/action/datastore_search?resource_id=b681004b-5ecf-44db-a2b8-b453911ddf90&sort=bolge_mudurlugu%20desc&limit=3&offset=3"
Filtering
curl -s -G "https://bvakp-od-portal.buyukverianalitigi.com/api/3/action/datastore_search" \
--data-urlencode "resource_id=b681004b-5ecf-44db-a2b8-b453911ddf90" \
--data-urlencode 'filters={"bolge_mudurlugu": "Adana"}'
Full-text search
curl -s -G "https://bvakp-od-portal.buyukverianalitigi.com/api/3/action/datastore_search" \
--data-urlencode "resource_id=b681004b-5ecf-44db-a2b8-b453911ddf90" \
--data-urlencode "q=Adana"
Python
import requests
response = requests.get(
"https://bvakp-od-portal.buyukverianalitigi.com/api/3/action/datastore_search",
params={"resource_id": "b681004b-5ecf-44db-a2b8-b453911ddf90", "limit": 5},
timeout=30,
)
payload = response.json()
for record in payload["result"]["records"]:
print(record)
JavaScript
const url = new URL("https://bvakp-od-portal.buyukverianalitigi.com/api/3/action/datastore_search");
url.searchParams.set("resource_id", "b681004b-5ecf-44db-a2b8-b453911ddf90");
url.searchParams.set("limit", "5");
const response = await fetch(url);
const { result } = await response.json();
console.table(result.records);
Response schema
result.total | Total number of rows matching the query (independent of limit). |
|---|---|
result.records | The rows; each one a field name to value object. |
result.fields | Field definitions (id and type). _id is the DataStore's automatic row key. |
result._links.next | Ready-made address of the next page. |
Fields of the example dataset
| fields | TYPE |
|---|---|
| bolge_mudurlugu | text |
| yil | text |
| sefer_sayisi | text |
| yolcu_sayisi | text |
Downloading all the data
To take a whole resource without paging, use the dump endpoints:
GET https://bvakp-od-portal.buyukverianalitigi.com/datastore/dump/<kaynak-id>?format=csv
GET https://bvakp-od-portal.buyukverianalitigi.com/datastore/dump/<kaynak-id>?format=json
GET https://bvakp-od-portal.buyukverianalitigi.com/datastore/dump/<kaynak-id>?format=xml
GET https://bvakp-od-portal.buyukverianalitigi.com/datastore/dump-xlsx/<kaynak-id>
The XLSX endpoint is specific to this portal; the other three are the DataStore's standard output.
Usage limits
| Authentication | Not needed. No API key or membership is required. |
|---|---|
| Permitted operations | Read only. Creating, updating and deleting data is closed from outside the portal. |
| Request limit | 60 requests per minute on the query endpoints and 6 per minute on the bulk download endpoints, per IP. There is no daily quota; the limit exists to protect system resources. |
| When the limit is exceeded | The request is answered with HTTP 429; the response's Retry-After header says how many seconds to wait. |
| Records per request | Without a limit parameter the default number of records is returned; the number of records one request can take is capped by the system. For more, page with offset or use the bulk download endpoint. |
Querying the catalogue
To search the datasets themselves (their metadata):
GET https://bvakp-od-portal.buyukverianalitigi.com/api/3/action/package_search?q=istasyon&rows=10
GET https://bvakp-od-portal.buyukverianalitigi.com/api/3/action/package_show?id=<veri-seti-adı>
GET https://bvakp-od-portal.buyukverianalitigi.com/api/3/action/group_list?all_fields=true
package_search supports every filter in the interface; by category, for instance:
GET https://bvakp-od-portal.buyukverianalitigi.com/api/3/action/package_search?fq=groups:ulasim
Datasets reachable through the API
The resources below are loaded into the DataStore and can be queried with datastore_search.
| datasets | Resource | resource_id |
|---|---|---|
| periyodik güncelleme test gün | periyodik güncelleme test gün | b681004b-5ecf-44db-a2b8-b453911ddf90 |
| veri seti maskelendi periyodik olarak kontrol et | veri seti maskelendi periyodik olarak kontrol et | 9aec61bb-f8c5-494a-8544-0e3c09f3f73c |
| otomasyon_public_portal_20261129_020807_155 | otomasyon_public_portal_20261129_020807_155 | ff71b118-1e83-47a0-8f78-bd3d2e048395 |
| otomasyon_takvim_ortak_20261129_020627_770 | otomasyon_takvim_ortak_20261129_020627_770 | 893975bc-c27a-4250-8012-d1d7ca1b975e |
| otomasyon_yayinlama_20261129_020607_075 | otomasyon_yayinlama_20261129_020607_075 | 4e705631-ac1c-454e-a0e4-27f25e9d93df |
| otomasyon_yayin_sonrasi_silme_20261129_020550_099 | otomasyon_yayin_sonrasi_silme_20261129_020550_099 | bb5edac5-0341-4ff4-bcbf-137453cd9582 |
| otomasyon_manuel_guncelleme_20261129_020459_491 | otomasyon_manuel_guncelleme_20261129_020459_491 | eade9a92-e11a-4e5f-a110-33996a47fc57 |
| otomasyon_public_portal_20261128_214407_372 | otomasyon_public_portal_20261128_214407_372 | bd254c73-7391-4252-9d95-d77858620c9f |
| otomasyon_yayinlama_20261128_214212_388 | otomasyon_yayinlama_20261128_214212_388 | 92cf72d0-84e1-4525-92d6-39354cc7c0d6 |
| otomasyon_takvim_ortak_20261128_214219_549 | otomasyon_takvim_ortak_20261128_214219_549 | e9450891-6067-49cd-a3a2-c72739a7072d |
| otomasyon_manuel_guncelleme_20261128_214049_687 | otomasyon_manuel_guncelleme_20261128_214049_687 | 87f11880-6892-4de9-99b6-dab888100f97 |
| otomasyon_public_portal_20261128_020905_070 | otomasyon_public_portal_20261128_020905_070 | 33d0b4ca-b977-412a-9619-94902b3f6ed6 |
| otomasyon_takvim_ortak_20261128_020714_131 | otomasyon_takvim_ortak_20261128_020714_131 | c4af194b-1dfe-4eee-be7d-15479e71e7d5 |
| otomasyon_yayinlama_20261128_020659_800 | otomasyon_yayinlama_20261128_020659_800 | 06301f43-dc47-44c4-accb-2bd2eafc3ecb |
| otomasyon_manuel_guncelleme_20261128_020549_422 | otomasyon_manuel_guncelleme_20261128_020549_422 | 7625482b-f119-4b75-bdbe-ea0f890b5b3c |
| otomasyon_public_portal_20261127_145537_888 | otomasyon_public_portal_20261127_145537_888 | f71b4b6b-f273-4abc-b062-b238990867d0 |
| otomasyon_takvim_ortak_20261127_145109_136 | otomasyon_takvim_ortak_20261127_145109_136 | dddf71ce-b4f5-447b-8368-f5c38765263a |
| otomasyon_yayinlama_20261127_144950_325 | otomasyon_yayinlama_20261127_144950_325 | ab2f35ae-15d8-451d-ba6b-d835cf11c214 |
| otomasyon_manuel_guncelleme_20261127_144624_757 | otomasyon_manuel_guncelleme_20261127_144624_757 | 7570d9ce-b50c-4045-8d25-10feed24f901 |
| otomasyon_public_portal_20261127_143845_593 | otomasyon_public_portal_20261127_143845_593 | b34a52b3-ef98-4a40-94d6-99f35fe154c6 |
| otomasyon_takvim_ortak_20261127_143631_875 | otomasyon_takvim_ortak_20261127_143631_875 | 6fc2b28f-2556-41cd-8d0f-6b548a10cb50 |
| otomasyon_yayinlama_20261127_143617_724 | otomasyon_yayinlama_20261127_143617_724 | c75450ee-14cd-44da-8d80-a03249ccb520 |
| otomasyon_manuel_guncelleme_20261127_143457_439 | otomasyon_manuel_guncelleme_20261127_143457_439 | e2828f57-e2e9-40e6-8e15-02cfbe97a448 |
| otomasyon_takvim_ortak_20261127_141922_491 | otomasyon_takvim_ortak_20261127_141922_491 | 4e7c4772-5beb-4c61-903d-f65c83823052 |
| otomasyon_public_portal_20261127_142153_392 | otomasyon_public_portal_20261127_142153_392 | 48425456-0c47-4bd6-96ae-04dc66ce1a6f |
| otomasyon_yayinlama_20261127_141855_355 | otomasyon_yayinlama_20261127_141855_355 | ec888ca4-864b-4d2d-a439-be71c2b04bac |
| otomasyon_manuel_guncelleme_20261127_141751_900 | otomasyon_manuel_guncelleme_20261127_141751_900 | 00aae02a-2f65-4a0d-8b15-2fff98fc6c4a |
| otomasyon_public_portal_20261127_130608_120 | otomasyon_public_portal_20261127_130608_120 | 7e886915-203e-4477-afd3-bb1214829bf3 |
| otomasyon_takvim_ortak_20261127_130346_708 | otomasyon_takvim_ortak_20261127_130346_708 | c3397385-16dc-43d9-9b2d-6ce79a10c91b |
| otomasyon_yayinlama_20261127_130321_103 | otomasyon_yayinlama_20261127_130321_103 | c126c72e-260a-422c-9a87-f9e46eeedd24 |
| otomasyon_manuel_guncelleme_20261127_130210_236 | otomasyon_manuel_guncelleme_20261127_130210_236 | 5d1e41b6-550f-49a9-a970-1fabf450d8bd |
| otomasyon_public_portal_20261127_125343_262 | otomasyon_public_portal_20261127_125343_262 | b33d33dc-e2e2-4baf-9c8a-ec0697aa6363 |
| otomasyon_yayinlama_20261127_125323_774 | otomasyon_yayinlama_20261127_125323_774 | 5205cc70-7992-4e73-9b54-41eabd9810d0 |
| otomasyon_public_portal_20261127_122816_829 | otomasyon_public_portal_20261127_122816_829 | a7ae6f94-8312-4acb-ac55-b583c2186a91 |
| otomasyon_takvim_ortak_20261127_122621_721 | otomasyon_takvim_ortak_20261127_122621_721 | e1e94d44-76fb-4670-80f8-58d1ee68aa80 |
| otomasyon_yayinlama_20261127_122611_500 | otomasyon_yayinlama_20261127_122611_500 | e7983500-3f76-4544-921e-97eb2557d6ab |
| otomasyon_manuel_guncelleme_20261127_122449_609 | otomasyon_manuel_guncelleme_20261127_122449_609 | 153eb384-db04-4697-8aeb-a19d8d713e20 |
| otomasyon_public_portal_20261127_121628_046 | otomasyon_public_portal_20261127_121628_046 | 5c75b85a-614b-4e03-ad47-6aa7896750c8 |
| otomasyon_takvim_ortak_20261127_121405_974 | otomasyon_takvim_ortak_20261127_121405_974 | 78291dd5-82ca-4933-b9c3-a937f56891e1 |
| otomasyon_yayinlama_20261127_121317_281 | otomasyon_yayinlama_20261127_121317_281 | 7bf090f8-fb1b-4543-8fde-c16eb7229e37 |
| otomasyon_manuel_guncelleme_20261127_121152_195 | otomasyon_manuel_guncelleme_20261127_121152_195 | 997a7eab-4c19-41f0-bb67-3938883bc8fd |
| otomasyon_public_portal_20261127_115124_872 | otomasyon_public_portal_20261127_115124_872 | 39dbf903-d6e5-457e-87a6-bc0a4beeea0c |
| otomasyon_takvim_ortak_20261127_114853_236 | otomasyon_takvim_ortak_20261127_114853_236 | 599575f7-29c5-43ad-acf6-63b497366f3b |
| otomasyon_yayinlama_20261127_114821_924 | otomasyon_yayinlama_20261127_114821_924 | e6e314b0-4e32-4caa-bd02-04dd154113bb |
| otomasyon_manuel_guncelleme_20261127_114659_405 | otomasyon_manuel_guncelleme_20261127_114659_405 | 52470ce7-93b2-4f5e-bb3f-0f98e336960d |
| otomasyon_public_portal_20261127_111723_510 | otomasyon_public_portal_20261127_111723_510 | 33148dd3-cf40-4745-9c85-bc319d0cf1af |
| otomasyon_takvim_ortak_20261127_111436_770 | otomasyon_takvim_ortak_20261127_111436_770 | c0ab2439-2cc9-458a-9e95-8fbaadd26437 |
| otomasyon_yayinlama_20261127_111421_041 | otomasyon_yayinlama_20261127_111421_041 | 70c4ce94-ed8c-47ef-8226-e9d6d4840f4d |
| otomasyon_manuel_guncelleme_20261127_111309_897 | otomasyon_manuel_guncelleme_20261127_111309_897 | 59d2cd1c-718f-41ac-b55a-4496f3cca656 |
| otomasyon_public_portal_20261127_095804_710 | otomasyon_public_portal_20261127_095804_710 | a6e6b9d9-2cac-47f9-9991-64a7196d7425 |