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 |
| Kabupaten / Kota | ||
| Puskesmas | ||
| Kusta (PB) Tahun -1 | Jumlah Penderita Baru | ||
| Kusta (PB) Tahun -1 | Jumlah Penderita RFT | ||
| Kusta (PB) Tahun -1 | RFT Rate PB (%) | ||
| Kusta (MB) Tahun -2 | Jumlah Penderita Baru | ||
| Kusta (MB) Tahun -2 | Jumlah Penderita RFT | ||
| Kusta (MB) Tahun -2 | RFT Rate MB (%) | ||
Success Response
{
"status": 200,
"message": "Success",
"count": 18,
"idkab": 7400,
"tahun": 2024,
"data": [
{
"tabel_74_1016_1": "BUTON",
"tabel_74_1016_2": "15",
"tabel_74_1016_3": "3",
"tabel_74_1016_4": "3",
"tabel_74_1016_5": "100,00",
"tabel_74_1016_6": "27",
"tabel_74_1016_7": "22",
"tabel_74_1016_8": "81,5",
"updated_at": "2025-08-08 02:47:31"
},
{
"tabel_74_1016_1": "MUNA",
"tabel_74_1016_2": "34",
"tabel_74_1016_3": "1",
"tabel_74_1016_4": "1",
"tabel_74_1016_5": "100,00",
"tabel_74_1016_6": "6",
"tabel_74_1016_7": "0",
"tabel_74_1016_8": "0,0",
"updated_at": "2025-08-08 02:47:31"
},
{
"tabel_74_1016_1": "KONAWE",
"tabel_74_1016_2": "29",
"tabel_74_1016_3": "0",
"tabel_74_1016_4": "1",
"tabel_74_1016_5": "0,00",
"tabel_74_1016_6": "0",
"tabel_74_1016_7": "1",
"tabel_74_1016_8": "0,0",
"updated_at": "2025-08-08 02:47:31"
},
{
"tabel_74_1016_1": "KOLAKA",
"tabel_74_1016_2": "14",
"tabel_74_1016_3": "8",
"tabel_74_1016_4": "8",
"tabel_74_1016_5": "100,00",
"tabel_74_1016_6": "21",
"tabel_74_1016_7": "20",
"tabel_74_1016_8": "95,2",
"updated_at": "2025-08-08 02:47:31"
},
{
"tabel_74_1016_1": "KONAWE SELATAN",
"tabel_74_1016_2": "26",
"tabel_74_1016_3": "1",
"tabel_74_1016_4": "1",
"tabel_74_1016_5": "100,00",
"tabel_74_1016_6": "12",
"tabel_74_1016_7": "12",
"tabel_74_1016_8": "100,0",
"updated_at": "2025-08-08 02:47:31"
},
{
"tabel_74_1016_1": "BOMBANA",
"tabel_74_1016_2": "22",
"tabel_74_1016_3": "3",
"tabel_74_1016_4": "2",
"tabel_74_1016_5": "66,67",
"tabel_74_1016_6": "4",
"tabel_74_1016_7": "3",
"tabel_74_1016_8": "75,0",
"updated_at": "2025-08-08 02:47:31"
},
{
"tabel_74_1016_1": "WAKATOBI",
"tabel_74_1016_2": "20",
"tabel_74_1016_3": "4",
"tabel_74_1016_4": "3",
"tabel_74_1016_5": "75,00",
"tabel_74_1016_6": "5",
"tabel_74_1016_7": "3",
"tabel_74_1016_8": "60,0",
"updated_at": "2025-08-08 02:47:31"
},
{
"tabel_74_1016_1": "KOLAKA UTARA",
"tabel_74_1016_2": "16",
"tabel_74_1016_3": "1",
"tabel_74_1016_4": "0",
"tabel_74_1016_5": "0,00",
"tabel_74_1016_6": "12",
"tabel_74_1016_7": "7",
"tabel_74_1016_8": "58,3",
"updated_at": "2025-08-08 02:47:31"
},
{
"tabel_74_1016_1": "BUTON UTARA",
"tabel_74_1016_2": "12",
"tabel_74_1016_3": "0",
"tabel_74_1016_4": "0",
"tabel_74_1016_5": "0,00",
"tabel_74_1016_6": "7",
"tabel_74_1016_7": "4",
"tabel_74_1016_8": "57,1",
"updated_at": "2025-08-08 02:47:31"
},
{
"tabel_74_1016_1": "KONAWE UTARA",
"tabel_74_1016_2": "22",
"tabel_74_1016_3": "1",
"tabel_74_1016_4": "0",
"tabel_74_1016_5": "0,00",
"tabel_74_1016_6": "3",
"tabel_74_1016_7": "2",
"tabel_74_1016_8": "66,7",
"updated_at": "2025-08-08 02:47:31"
},
{
"tabel_74_1016_1": "KOLAKA TIMUR",
"tabel_74_1016_2": "13",
"tabel_74_1016_3": "7",
"tabel_74_1016_4": "0",
"tabel_74_1016_5": "0,00",
"tabel_74_1016_6": "12",
"tabel_74_1016_7": "10",
"tabel_74_1016_8": "83,3",
"updated_at": "2025-08-08 02:47:31"
},
{
"tabel_74_1016_1": "KONAWE KEPULAUAN",
"tabel_74_1016_2": "9",
"tabel_74_1016_3": "1",
"tabel_74_1016_4": "1",
"tabel_74_1016_5": "100,00",
"tabel_74_1016_6": "4",
"tabel_74_1016_7": "4",
"tabel_74_1016_8": "100,0",
"updated_at": "2025-08-08 02:47:31"
},
{
"tabel_74_1016_1": "MUNA BARAT",
"tabel_74_1016_2": "16",
"tabel_74_1016_3": "2",
"tabel_74_1016_4": "2",
"tabel_74_1016_5": "100,00",
"tabel_74_1016_6": "3",
"tabel_74_1016_7": "3",
"tabel_74_1016_8": "100,0",
"updated_at": "2025-08-08 02:47:31"
},
{
"tabel_74_1016_1": "BUTON TENGAH",
"tabel_74_1016_2": "14",
"tabel_74_1016_3": "1",
"tabel_74_1016_4": "1",
"tabel_74_1016_5": "100,00",
"tabel_74_1016_6": "18",
"tabel_74_1016_7": "12",
"tabel_74_1016_8": "66,7",
"updated_at": "2025-08-08 02:47:31"
},
{
"tabel_74_1016_1": "BUTON SELATAN",
"tabel_74_1016_2": "14",
"tabel_74_1016_3": "0",
"tabel_74_1016_4": "0",
"tabel_74_1016_5": "0,00",
"tabel_74_1016_6": "8",
"tabel_74_1016_7": "8",
"tabel_74_1016_8": "100,0",
"updated_at": "2025-08-08 02:47:31"
},
{
"tabel_74_1016_1": "KENDARI",
"tabel_74_1016_2": "15",
"tabel_74_1016_3": "4",
"tabel_74_1016_4": "4",
"tabel_74_1016_5": "100,00",
"tabel_74_1016_6": "23",
"tabel_74_1016_7": "16",
"tabel_74_1016_8": "69,6",
"updated_at": "2025-08-08 02:47:31"
},
{
"tabel_74_1016_1": "BAU BAU",
"tabel_74_1016_2": "17",
"tabel_74_1016_3": "0",
"tabel_74_1016_4": "0",
"tabel_74_1016_5": "0,00",
"tabel_74_1016_6": "44",
"tabel_74_1016_7": "40",
"tabel_74_1016_8": "90,9",
"updated_at": "2025-08-08 02:47:31"
},
{
"tabel_74_1016_1": "Jumlah (Kabupaten\/Kota)",
"tabel_74_1016_2": null,
"tabel_74_1016_3": "37",
"tabel_74_1016_4": "27",
"tabel_74_1016_5": "72,97",
"tabel_74_1016_6": "209",
"tabel_74_1016_7": "167",
"tabel_74_1016_8": "79,90",
"updated_at": "2025-08-08 02:47:31"
}
]}
Error Response
{
"status": 404,
"message": "Table not found",
"count": 0,
"data": []
}