API Validasi Badan Hukum Perseroan, CV, Perkumpulan, Bumdes, Firma, Koperasi, Yayasan dan Perdata
API for checking information and validation about Perseroan, CV, Perkumpulkan, Bumdes, Yayasan, Firma, Koperasi and Perdata legit or not legit
OPTION TYPE
- perseroan
- cv
- perkumpulan
- perdata
- koperasi
- yayasan
- bumdes
- firma
Example for CV
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "https://validasi-badan-hukum.p.rapidapi.com/badan");
struct curl_slist *headers = NULL;
headers = curl_slist_append(headers, "X-RapidAPI-Key: key");
headers = curl_slist_append(headers, "X-RapidAPI-Host: validasi-badan-hukum.p.rapidapi.com");
curl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);
curl_easy_setopt(hnd, CURLOPT_POSTFIELDS, "type=cv&nama=mekar+jaya");
CURLcode ret = curl_easy_perform(hnd);
Example for perkumpulan
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "https://validasi-badan-hukum.p.rapidapi.com/badan");
struct curl_slist *headers = NULL;
headers = curl_slist_append(headers, "X-RapidAPI-Key: key");
headers = curl_slist_append(headers, "X-RapidAPI-Host: validasi-badan-hukum.p.rapidapi.com");
curl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);
curl_easy_setopt(hnd, CURLOPT_POSTFIELDS, "type=perkumpulan&nama=mekar+jaya");
CURLcode ret = curl_easy_perform(hnd);
RESULT
{
"NAMA": "NAMA LEMBAGA",
"NPWP": "123123123",
"NOMOR_SK": "NOMERSK",
"TANGGAL_SK": "0000-00-00 00:00:00",
"STATUS": "Perubahan",
"ALAMAT": "JALAN PLUIT SELATAN RAYA NO. 64-65 023 008 NOGARI PENJARINGAN",
"PROVINSI": "DKI JAKARTA",
"KABUPATEN": "JAKARTA UTARA",
"KODE_POST": "",
"TELEPON": "NOTEPL",
"EMAIL": null,
"EXP": "Tidak Terbatas"
},