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
        NAMA DAERAH
        KERJA SAMA ANTAR PEMERINTAH YANG DIFASILITASI
        KERJA SAMA BADAN USAHA/SWASTA YANG DIFASILITASI
        STATUS

Success Response

{ "status": 200, "message": "Success", "count": 18, "idkab": 7400, "tahun": 2024, "data": [ { "tabel_74_468_2": "PROVINSI SULAWESI TENGGARA", "tabel_74_468_3": "52", "tabel_74_468_4": "18", "tabel_74_468_5": "TERLAKSANA", "updated_at": "2025-08-01 01:59:56" }, { "tabel_74_468_2": "KOTA KENDARI", "tabel_74_468_3": "9", "tabel_74_468_4": "15", "tabel_74_468_5": "TERLAKSANA", "updated_at": "2025-08-01 01:59:56" }, { "tabel_74_468_2": "KOTA BAUBAU", "tabel_74_468_3": "3", "tabel_74_468_4": "-", "tabel_74_468_5": "TERLAKSANA", "updated_at": "2025-08-01 01:59:56" }, { "tabel_74_468_2": "KABUPATEN KONAWE", "tabel_74_468_3": "3", "tabel_74_468_4": "-", "tabel_74_468_5": "TERLAKSANA", "updated_at": "2025-08-01 01:59:56" }, { "tabel_74_468_2": "KABUPATEN KONAWE SELATAN", "tabel_74_468_3": "3", "tabel_74_468_4": "1", "tabel_74_468_5": "TERLAKSANA", "updated_at": "2025-08-01 01:59:56" }, { "tabel_74_468_2": "KABUPATEN KONAWE UTARA", "tabel_74_468_3": "3", "tabel_74_468_4": "-", "tabel_74_468_5": "TERLAKSANA", "updated_at": "2025-08-01 01:59:56" }, { "tabel_74_468_2": "KABUPATEN KONAWE KEPULAUAN", "tabel_74_468_3": "3", "tabel_74_468_4": "1", "tabel_74_468_5": "TERLAKSANA", "updated_at": "2025-08-01 01:59:56" }, { "tabel_74_468_2": "KABUPATEN KOLAKA", "tabel_74_468_3": "3", "tabel_74_468_4": "5", "tabel_74_468_5": "TERLAKSANA", "updated_at": "2025-08-01 01:59:56" }, { "tabel_74_468_2": "KABUPATEN KOLAKA TIMUR", "tabel_74_468_3": "3", "tabel_74_468_4": "-", "tabel_74_468_5": "TERLAKSANA", "updated_at": "2025-08-01 01:59:56" }, { "tabel_74_468_2": "KABUPATEN KOLAKA UTARA", "tabel_74_468_3": "3", "tabel_74_468_4": "12", "tabel_74_468_5": "TERLAKSANA", "updated_at": "2025-08-01 01:59:56" }, { "tabel_74_468_2": "KABUPATEN BOMBANA", "tabel_74_468_3": "2", "tabel_74_468_4": "-", "tabel_74_468_5": "TERLAKSANA", "updated_at": "2025-08-01 01:59:56" }, { "tabel_74_468_2": "KABUPATEN BUTON", "tabel_74_468_3": "3", "tabel_74_468_4": "11", "tabel_74_468_5": "TERLAKSANA", "updated_at": "2025-08-01 01:59:56" }, { "tabel_74_468_2": "KABUPATEN BUTON SELATAN", "tabel_74_468_3": "3", "tabel_74_468_4": "2", "tabel_74_468_5": "TERLAKSANA", "updated_at": "2025-08-01 01:59:56" }, { "tabel_74_468_2": "KABUPATEN BUTON TENGAH", "tabel_74_468_3": "3", "tabel_74_468_4": "12", "tabel_74_468_5": "TERLAKSANA", "updated_at": "2025-08-01 01:59:56" }, { "tabel_74_468_2": "KABUPATEN BUTON UTARA", "tabel_74_468_3": "3", "tabel_74_468_4": "8", "tabel_74_468_5": "TERLAKSANA", "updated_at": "2025-08-01 01:59:56" }, { "tabel_74_468_2": "KABUPATEN MUNA", "tabel_74_468_3": "5", "tabel_74_468_4": "5", "tabel_74_468_5": "TERLAKSANA", "updated_at": "2025-08-01 01:59:56" }, { "tabel_74_468_2": "KABUPATEN MUNA BARAT", "tabel_74_468_3": "3", "tabel_74_468_4": "21", "tabel_74_468_5": "TERLAKSANA", "updated_at": "2025-08-01 01:59:56" }, { "tabel_74_468_2": "KABUPATEN WAKATOBI", "tabel_74_468_3": "4", "tabel_74_468_4": "11", "tabel_74_468_5": "TERLAKSANA", "updated_at": "2025-08-01 01:59:56" } ]}

Error Response

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