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
        Ketenagaan
        PNS
        PPPK
        Honor
        Perjanjian Kerja
        Jumlah

Success Response

{ "status": 200, "message": "Success", "count": 23, "idkab": 7400, "tahun": 2024, "data": [ { "tabel_74_879_1": "Dokter Umum", "tabel_74_879_2": "1", "tabel_74_879_3": "3", "tabel_74_879_4": "3", "tabel_74_879_5": null, "tabel_74_879_6": "7", "updated_at": "2025-07-24 06:06:34" }, { "tabel_74_879_1": "Dokter Gigi", "tabel_74_879_2": "6", "tabel_74_879_3": null, "tabel_74_879_4": null, "tabel_74_879_5": null, "tabel_74_879_6": "6", "updated_at": "2025-07-24 06:06:34" }, { "tabel_74_879_1": "Dokter Spesialis Konversi Gigi", "tabel_74_879_2": null, "tabel_74_879_3": null, "tabel_74_879_4": null, "tabel_74_879_5": "1", "tabel_74_879_6": "1", "updated_at": "2025-07-24 06:06:34" }, { "tabel_74_879_1": "Dokter Spesialis Jiwa", "tabel_74_879_2": "2", "tabel_74_879_3": null, "tabel_74_879_4": null, "tabel_74_879_5": "2", "tabel_74_879_6": "4", "updated_at": "2025-07-24 06:06:34" }, { "tabel_74_879_1": "Dokter Spesialis Penyakit Dalam", "tabel_74_879_2": null, "tabel_74_879_3": null, "tabel_74_879_4": null, "tabel_74_879_5": "1", "tabel_74_879_6": "1", "updated_at": "2025-07-24 06:06:34" }, { "tabel_74_879_1": "Dokter Spesialis Penyakit Syaraf", "tabel_74_879_2": null, "tabel_74_879_3": null, "tabel_74_879_4": null, "tabel_74_879_5": "1", "tabel_74_879_6": "1", "updated_at": "2025-07-24 06:06:34" }, { "tabel_74_879_1": "Apoteker", "tabel_74_879_2": "8", "tabel_74_879_3": null, "tabel_74_879_4": null, "tabel_74_879_5": null, "tabel_74_879_6": "8", "updated_at": "2025-07-24 06:06:34" }, { "tabel_74_879_1": "Asisten Apoteker", "tabel_74_879_2": "7", "tabel_74_879_3": "3", "tabel_74_879_4": null, "tabel_74_879_5": null, "tabel_74_879_6": "10", "updated_at": "2025-07-24 06:06:34" }, { "tabel_74_879_1": "Psikolog", "tabel_74_879_2": "4", "tabel_74_879_3": null, "tabel_74_879_4": null, "tabel_74_879_5": null, "tabel_74_879_6": "4", "updated_at": "2025-07-24 06:06:34" }, { "tabel_74_879_1": "Fisioterapi", "tabel_74_879_2": "1", "tabel_74_879_3": "2", "tabel_74_879_4": "2", "tabel_74_879_5": null, "tabel_74_879_6": "5", "updated_at": "2025-07-24 06:06:34" }, { "tabel_74_879_1": "Perawat", "tabel_74_879_2": "37", "tabel_74_879_3": "32", "tabel_74_879_4": "15", "tabel_74_879_5": null, "tabel_74_879_6": "84", "updated_at": "2025-07-24 06:06:34" }, { "tabel_74_879_1": "Ners", "tabel_74_879_2": "23", "tabel_74_879_3": "11", "tabel_74_879_4": "3", "tabel_74_879_5": null, "tabel_74_879_6": "37", "updated_at": "2025-07-24 06:06:34" }, { "tabel_74_879_1": "Terapis Gigi dan Mulut \/ Perawat Gigi", "tabel_74_879_2": "3", "tabel_74_879_3": null, "tabel_74_879_4": "1", "tabel_74_879_5": null, "tabel_74_879_6": "4", "updated_at": "2025-07-24 06:06:34" }, { "tabel_74_879_1": "Administrator Kesehatan", "tabel_74_879_2": "9", "tabel_74_879_3": "3", "tabel_74_879_4": null, "tabel_74_879_5": null, "tabel_74_879_6": "11", "updated_at": "2025-07-24 06:06:34" }, { "tabel_74_879_1": "Sanitarian", "tabel_74_879_2": "6", "tabel_74_879_3": "1", "tabel_74_879_4": null, "tabel_74_879_5": null, "tabel_74_879_6": "7", "updated_at": "2025-07-24 06:06:34" }, { "tabel_74_879_1": "Epidemologi", "tabel_74_879_2": "2", "tabel_74_879_3": null, "tabel_74_879_4": null, "tabel_74_879_5": null, "tabel_74_879_6": "2", "updated_at": "2025-07-24 06:06:34" }, { "tabel_74_879_1": "Penyuluh Kesehatan Masyarakat", "tabel_74_879_2": "2", "tabel_74_879_3": null, "tabel_74_879_4": null, "tabel_74_879_5": null, "tabel_74_879_6": "2", "updated_at": "2025-07-24 06:06:34" }, { "tabel_74_879_1": "Pranata Laboratorium Kesehatan", "tabel_74_879_2": "2", "tabel_74_879_3": "2", "tabel_74_879_4": null, "tabel_74_879_5": null, "tabel_74_879_6": "4", "updated_at": "2025-07-24 06:06:34" }, { "tabel_74_879_1": "Pranata Komputer", "tabel_74_879_2": null, "tabel_74_879_3": "3", "tabel_74_879_4": null, "tabel_74_879_5": null, "tabel_74_879_6": "3", "updated_at": "2025-07-24 06:06:34" }, { "tabel_74_879_1": "Jumlah SDM Kesehatan", "tabel_74_879_2": "113", "tabel_74_879_3": "60", "tabel_74_879_4": "24", "tabel_74_879_5": "5", "tabel_74_879_6": "201", "updated_at": "2025-07-24 06:06:34" }, { "tabel_74_879_1": "Struktural", "tabel_74_879_2": "17", "tabel_74_879_3": null, "tabel_74_879_4": null, "tabel_74_879_5": null, "tabel_74_879_6": "17", "updated_at": "2025-07-24 06:06:34" }, { "tabel_74_879_1": "Non Profesi", "tabel_74_879_2": "68", "tabel_74_879_3": null, "tabel_74_879_4": "48", "tabel_74_879_5": null, "tabel_74_879_6": "116", "updated_at": "2025-07-24 06:06:34" }, { "tabel_74_879_1": "Total SDM Rumah Sakit", "tabel_74_879_2": "198", "tabel_74_879_3": "60", "tabel_74_879_4": "24", "tabel_74_879_5": "5", "tabel_74_879_6": "334", "updated_at": "2025-07-24 06:06:34" } ]}

Error Response

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