Cara Penggunaan API
https://simdata.sultraprov.go.id/api/fetch-data/{kode_tabel}/{tahun}
Parameter
| Variabel | Tipe | Deskripsi |
|---|---|---|
| kode_tabel | String | Kode tabel yang ingin ditarik datanya. Kode tabel dapat juga dilihat pada URL saat mengakses halaman ini. |
| tahun | Number | Tahun data yang akan ditarik. |
Response
| Variabel | Tipe | Deskripsi |
|---|---|---|
| status | Number | Kode status respon, 2XX bila berhasil, 4XX bila ada kesalahan request pengguna, dan 5XX bila ada kesalahan server. |
| message | String | Catatan terkait respon dari server. Field ini bisa saja kosong. |
| count | Number | Jumlah baris data yang berhasil didapatkan. |
| idkab | Number | Kode wilayah data yang didapatkan. |
| tahun | Number | Tahun data yang didapatkan. |
| data | Object | Data respon |
| Kota / Kabupaten | ||
| Aktif | ||
| Tidak Aktif | ||
| Total | ||
Success Response
{
"status": 200,
"message": "Success",
"count": 18,
"idkab": 7400,
"tahun": 2025,
"data": [
{
"tabel_74_613_2": "KAB. BUTON",
"tabel_74_613_3": "14",
"tabel_74_613_4": "58",
"tabel_74_613_5": "72",
"updated_at": "2025-07-14 06:17:04"
},
{
"tabel_74_613_2": "KAB. MUNA",
"tabel_74_613_3": "126",
"tabel_74_613_4": "41",
"tabel_74_613_5": "167",
"updated_at": "2025-07-14 06:17:04"
},
{
"tabel_74_613_2": "KAB. KONAWE",
"tabel_74_613_3": "39",
"tabel_74_613_4": "128",
"tabel_74_613_5": "167",
"updated_at": "2025-07-14 06:17:04"
},
{
"tabel_74_613_2": "KAB. KOLAKA",
"tabel_74_613_3": "53",
"tabel_74_613_4": "247",
"tabel_74_613_5": "300",
"updated_at": "2025-07-14 06:17:04"
},
{
"tabel_74_613_2": "KAB. BOMBANA",
"tabel_74_613_3": "15",
"tabel_74_613_4": "158",
"tabel_74_613_5": "173",
"updated_at": "2025-07-14 06:17:04"
},
{
"tabel_74_613_2": "KAB. KOLAKA UTARA",
"tabel_74_613_3": "19",
"tabel_74_613_4": "72",
"tabel_74_613_5": "91",
"updated_at": "2025-07-14 06:17:04"
},
{
"tabel_74_613_2": "KAB. KONAWE SELATAN",
"tabel_74_613_3": "40",
"tabel_74_613_4": "15",
"tabel_74_613_5": "55",
"updated_at": "2025-07-14 06:17:04"
},
{
"tabel_74_613_2": "KAB. WAKATOBI",
"tabel_74_613_3": "7",
"tabel_74_613_4": "115",
"tabel_74_613_5": "122",
"updated_at": "2025-07-14 06:17:04"
},
{
"tabel_74_613_2": "KAB. KONAWE UTARA",
"tabel_74_613_3": "18",
"tabel_74_613_4": "31",
"tabel_74_613_5": "49",
"updated_at": "2025-07-14 06:17:04"
},
{
"tabel_74_613_2": "KAB. BUTON UTARA",
"tabel_74_613_3": "9",
"tabel_74_613_4": "95",
"tabel_74_613_5": "104",
"updated_at": "2025-07-14 06:17:04"
},
{
"tabel_74_613_2": "KAB. BUTON SELATAN",
"tabel_74_613_3": "9",
"tabel_74_613_4": "18",
"tabel_74_613_5": "27",
"updated_at": "2025-07-14 06:17:04"
},
{
"tabel_74_613_2": "KAB. BUTON TENGAH",
"tabel_74_613_3": "6",
"tabel_74_613_4": "44",
"tabel_74_613_5": "50",
"updated_at": "2025-07-14 06:17:04"
},
{
"tabel_74_613_2": "KAB. KOLAKA TIMUR",
"tabel_74_613_3": "10",
"tabel_74_613_4": "86",
"tabel_74_613_5": "96",
"updated_at": "2025-07-14 06:17:04"
},
{
"tabel_74_613_2": "KAB. KONAWE KEPULAUAN",
"tabel_74_613_3": "4",
"tabel_74_613_4": "11",
"tabel_74_613_5": "15",
"updated_at": "2025-07-14 06:17:04"
},
{
"tabel_74_613_2": "KAB. MUNA BARAT",
"tabel_74_613_3": "18",
"tabel_74_613_4": "2",
"tabel_74_613_5": "20",
"updated_at": "2025-07-14 06:17:04"
},
{
"tabel_74_613_2": "KOTA KENDARI",
"tabel_74_613_3": "280",
"tabel_74_613_4": "272",
"tabel_74_613_5": "552",
"updated_at": "2025-07-14 06:17:04"
},
{
"tabel_74_613_2": "KOTA BAU BAU",
"tabel_74_613_3": "101",
"tabel_74_613_4": "90",
"tabel_74_613_5": "191",
"updated_at": "2025-07-14 06:17:04"
},
{
"tabel_74_613_2": "Total",
"tabel_74_613_3": "768",
"tabel_74_613_4": "1483",
"tabel_74_613_5": "2251",
"updated_at": "2025-07-14 06:17:04"
}
]}
Error Response
{
"status": 404,
"message": "Table not found",
"count": 0,
"data": []
}