Pencarian Profile Perusahaan Indonesia Dapat dengan mencari berdasarkan no NIB ataupun Nama Perusahaan
POC
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "https://profile-perusahaan-indonesia.p.rapidapi.com/perusahaan");
struct curl_slist *headers = NULL;
headers = curl_slist_append(headers, "X-RapidAPI-Key: key");
headers = curl_slist_append(headers, "X-RapidAPI-Host: profile-perusahaan-indonesia.p.rapidapi.com");
curl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);
curl_easy_setopt(hnd, CURLOPT_POSTFIELDS, "nama=Nama+perusahaan");
CURLcode ret = curl_easy_perform(hnd);
Result
{
"nama_perusahaan": "Nama Perusahaan",
"nib": "Nomer NIB",
"uraian_jenis_nib": "Perseorangan",
"npwp_perusahaan": "npwp perusahaan",
"nomor_identitas": "nomer identitas pemilik",
"email": "email@gmail.com",
"daereah_perusahaan": "Alamat Perusahaan,
"flag_umkm": "N",
"status_penanaman_modal": "Penanaman Modal Dalam Negeri (PMDN)",
"status_nib": "Aktif",
"jenis_perusahaan_uraian": "Perorangan"
}