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
        Komoditas
        Januari
        Februari
        Maret
        April
        Mei
        Juni
        Juli
        Agustus
        September
        Oktober
        November
        Desember
        Rata-Rata
        CV (%)

Success Response

{ "status": 200, "message": "Success", "count": 9, "idkab": 7400, "tahun": 2024, "data": [ { "tabel_74_638_1": "Luas Panen Padi", "tabel_74_638_2": "52", "tabel_74_638_3": "49", "tabel_74_638_4": "47", "tabel_74_638_5": "43", "tabel_74_638_6": "86", "tabel_74_638_7": "49", "tabel_74_638_8": "-", "tabel_74_638_9": "-", "tabel_74_638_10": "3", "tabel_74_638_11": "1", "tabel_74_638_12": "-", "tabel_74_638_13": "-", "tabel_74_638_14": "27", "tabel_74_638_15": "112,33", "updated_at": "2025-07-21 07:31:15" }, { "tabel_74_638_1": "GKP Tingkat Petani", "tabel_74_638_2": "4,885", "tabel_74_638_3": "5,052", "tabel_74_638_4": "5,334", "tabel_74_638_5": "5,350", "tabel_74_638_6": "5,794", "tabel_74_638_7": "5,325", "tabel_74_638_8": "5,525", "tabel_74_638_9": "3,465", "tabel_74_638_10": "5,628", "tabel_74_638_11": "5,557", "tabel_74_638_12": "5,538", "tabel_74_638_13": "5,546", "tabel_74_638_14": "5,222", "tabel_74_638_15": "11,77", "updated_at": "2025-07-21 07:31:15" }, { "tabel_74_638_1": "GKP Tingkat Penggilingan", "tabel_74_638_2": "5,180", "tabel_74_638_3": "5,361", "tabel_74_638_4": "5,969", "tabel_74_638_5": "5,821", "tabel_74_638_6": "5,689", "tabel_74_638_7": "5,627", "tabel_74_638_8": "6,021", "tabel_74_638_9": "6,159", "tabel_74_638_10": "6,134", "tabel_74_638_11": "5,946", "tabel_74_638_12": "6,124", "tabel_74_638_13": "6,057", "tabel_74_638_14": "5,851", "tabel_74_638_15": "5,43", "updated_at": "2025-07-21 07:31:15" }, { "tabel_74_638_1": "GKG Tingkat Penggilingan", "tabel_74_638_2": "5,194", "tabel_74_638_3": "5,200", "tabel_74_638_4": "5,951", "tabel_74_638_5": "5,500", "tabel_74_638_6": "5,564", "tabel_74_638_7": "5,794", "tabel_74_638_8": "6,195", "tabel_74_638_9": "7,192", "tabel_74_638_10": "6,427", "tabel_74_638_11": "6,352", "tabel_74_638_12": "6,562", "tabel_74_638_13": "6,627", "tabel_74_638_14": "6,073", "tabel_74_638_15": "10,20", "updated_at": "2025-07-21 07:31:15" }, { "tabel_74_638_1": "Beras Medium Penggilingan", "tabel_74_638_2": "9,221", "tabel_74_638_3": "9,502", "tabel_74_638_4": "10,315", "tabel_74_638_5": "10,551", "tabel_74_638_6": "10,287", "tabel_74_638_7": "10,290", "tabel_74_638_8": "11,192", "tabel_74_638_9": "11,401", "tabel_74_638_10": "11,189", "tabel_74_638_11": "10,965", "tabel_74_638_12": "11,406", "tabel_74_638_13": "11,444", "tabel_74_638_14": "10,661", "tabel_74_638_15": "7,04", "updated_at": "2025-07-21 07:31:15" }, { "tabel_74_638_1": "Beras Premium Penggilingan", "tabel_74_638_2": "10,015", "tabel_74_638_3": "10,270", "tabel_74_638_4": "11,049", "tabel_74_638_5": "11,456", "tabel_74_638_6": "11,131", "tabel_74_638_7": "11,268", "tabel_74_638_8": "12,273", "tabel_74_638_9": "10,789", "tabel_74_638_10": "12,203", "tabel_74_638_11": "11,887", "tabel_74_638_12": "12,264", "tabel_74_638_13": "12,348", "tabel_74_638_14": "11,403", "tabel_74_638_15": "7,03", "updated_at": "2025-07-21 07:31:15" }, { "tabel_74_638_1": "Jagung Pipilan Kering", "tabel_74_638_2": "-", "tabel_74_638_3": "-", "tabel_74_638_4": "-", "tabel_74_638_5": "-", "tabel_74_638_6": "-", "tabel_74_638_7": "3,654", "tabel_74_638_8": "3,767", "tabel_74_638_9": "3,626", "tabel_74_638_10": "4,410", "tabel_74_638_11": "4,534", "tabel_74_638_12": "4,577", "tabel_74_638_13": "5,514", "tabel_74_638_14": "4,120", "tabel_74_638_15": "52,15", "updated_at": "2025-07-21 07:31:15" }, { "tabel_74_638_1": "Stok GKG Tingkat Penggilingan", "tabel_74_638_2": "889", "tabel_74_638_3": "1,235", "tabel_74_638_4": "135", "tabel_74_638_5": "179", "tabel_74_638_6": "739", "tabel_74_638_7": "477", "tabel_74_638_8": "55", "tabel_74_638_9": "66", "tabel_74_638_10": "54", "tabel_74_638_11": "63", "tabel_74_638_12": "46", "tabel_74_638_13": "38", "tabel_74_638_14": "317", "tabel_74_638_15": "128,98", "updated_at": "2025-07-21 07:31:15" }, { "tabel_74_638_1": "Stok Beras Tingkat Penggilingan", "tabel_74_638_2": "167", "tabel_74_638_3": "283", "tabel_74_638_4": "64", "tabel_74_638_5": "113", "tabel_74_638_6": "272", "tabel_74_638_7": "114", "tabel_74_638_8": "115", "tabel_74_638_9": "80", "tabel_74_638_10": "40", "tabel_74_638_11": "81", "tabel_74_638_12": "53", "tabel_74_638_13": "18", "tabel_74_638_14": "114", "tabel_74_638_15": "74,19", "updated_at": "2025-07-21 07:31:15" } ]}

Error Response

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