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
        PEMDA
        Kategori
        Nilai
        Keterangan

Success Response

{ "status": 200, "message": "Success", "count": 18, "idkab": 7400, "tahun": 2024, "data": [ { "tabel_74_147_1": "MUNA", "tabel_74_147_2": "B", "tabel_74_147_3": "60,60", "tabel_74_147_4": null, "updated_at": "2025-07-10 02:32:34" }, { "tabel_74_147_1": "KONAWE UTARA", "tabel_74_147_2": "B", "tabel_74_147_3": "68,86", "tabel_74_147_4": null, "updated_at": "2025-07-10 02:32:34" }, { "tabel_74_147_1": "KONAWE KEPULAUAN", "tabel_74_147_2": "B", "tabel_74_147_3": "68,12", "tabel_74_147_4": null, "updated_at": "2025-07-10 02:32:34" }, { "tabel_74_147_1": "KONAWE KEPULAUAN", "tabel_74_147_2": "C", "tabel_74_147_3": "49,29", "tabel_74_147_4": null, "updated_at": "2025-07-10 02:32:34" }, { "tabel_74_147_1": "KONAWE", "tabel_74_147_2": "B", "tabel_74_147_3": "68,22", "tabel_74_147_4": null, "updated_at": "2025-07-10 02:32:34" }, { "tabel_74_147_1": "KOLAKA UTARA", "tabel_74_147_2": "B", "tabel_74_147_3": "66,47", "tabel_74_147_4": null, "updated_at": "2025-07-10 02:32:34" }, { "tabel_74_147_1": "KOLAKA", "tabel_74_147_2": "BB", "tabel_74_147_3": "77,08", "tabel_74_147_4": null, "updated_at": "2025-07-10 02:32:34" }, { "tabel_74_147_1": "KOLAKA TIMUR", "tabel_74_147_2": "CC", "tabel_74_147_3": "57,06", "tabel_74_147_4": null, "updated_at": "2025-07-10 02:32:34" }, { "tabel_74_147_1": "BUTON UTARA", "tabel_74_147_2": "CC", "tabel_74_147_3": "59,31", "tabel_74_147_4": null, "updated_at": "2025-07-10 02:32:34" }, { "tabel_74_147_1": "BUTON SELATAN", "tabel_74_147_2": "B", "tabel_74_147_3": "62,34", "tabel_74_147_4": null, "updated_at": "2025-07-10 02:32:34" }, { "tabel_74_147_1": "BUTON TENGAH", "tabel_74_147_2": "B", "tabel_74_147_3": "65,27", "tabel_74_147_4": null, "updated_at": "2025-07-10 02:32:34" }, { "tabel_74_147_1": "BUTON", "tabel_74_147_2": "B", "tabel_74_147_3": "63,25", "tabel_74_147_4": null, "updated_at": "2025-07-10 02:32:34" }, { "tabel_74_147_1": "BOMBANA", "tabel_74_147_2": "BB", "tabel_74_147_3": "75,44", "tabel_74_147_4": null, "updated_at": "2025-07-10 02:32:34" }, { "tabel_74_147_1": "PROVINSI SUTRA", "tabel_74_147_2": "CC", "tabel_74_147_3": "59,93", "tabel_74_147_4": null, "updated_at": "2025-07-10 02:32:34" }, { "tabel_74_147_1": "MUNA BARAT", "tabel_74_147_2": "B", "tabel_74_147_3": "65,20", "tabel_74_147_4": null, "updated_at": "2025-07-10 02:32:34" }, { "tabel_74_147_1": "WAKATOBI", "tabel_74_147_2": "B", "tabel_74_147_3": "65,82", "tabel_74_147_4": null, "updated_at": "2025-07-10 02:32:34" }, { "tabel_74_147_1": "KENDARI", "tabel_74_147_2": "BB", "tabel_74_147_3": "71,34", "tabel_74_147_4": null, "updated_at": "2025-07-10 02:32:34" }, { "tabel_74_147_1": "BAUBAU", "tabel_74_147_2": "B", "tabel_74_147_3": "67,99", "tabel_74_147_4": null, "updated_at": "2025-07-10 02:32:34" } ]}

Error Response

{ "status": 404, "message": "Table not found", "count": 0, "data": [] }