{"openapi":"3.2.0","info":{"title":"eKTP Validator API","description":"This api will check the Indonesian nik (nomor induk kependudukan) Number or KTP (Kartu Tanda Penduduk) Number, and will validate based on server Dukcapil","version":"1.0.0"},"servers":[{"url":"https://ektp.jojapi.net"}],"security":[{"ApiKeyAuth":[]}],"x-agent-commerce":{"catalog_url":"https://ektp.jojapi.net/_jojapi/agent/plans","discovery_url":"https://ektp.jojapi.net/.well-known/x402","directory_url":"https://agents.jojapi.net/apis/ektp-validation","docs":"https://docs.jojapi.com/consumers/agents"},"paths":{"/ktp":{"post":{"operationId":"post_ktp","summary":"NIK/ KTP","description":"Input 16 Number from NIK","responses":{"200":{"description":"Successful response","content":{"application/json":{"example":{"status":200,"message":"success","data":{"nik":"3208301204010001","nama":"ARGO PRASETIADI","tempat_lahir":"KUNINGAN","tgl_lahir":"2001-04-12","jenis_kelamin":"LAKI-LAKI","alamat":"DUSUN I","rt":"002","rw":"001","kelurahan":"MANDALAJAYA","kecamatan":"MALEBER","kabupaten":"KUNINGAN","provinsi":"JAWA BARAT","agama":"ISLAM","status_kawin":"","pekerjaan":"KARYAWAN SWASTA","kewarganegaraan":"WNI","no_kk":"3208301904240003","gol_darah":"","nama_ayah":"","nama_ibu":"Uun Untini"},"timestamp":"2026-10-20 20:28:22"}}}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object"},"example":{"nik":"3208301204010001"}}}}}},"/ektp/search":{"post":{"operationId":"post_ektp_search","summary":"Name","description":"Name","responses":{"200":{"description":"Successful response","content":{"application/json":{"example":{"status":404,"message":"eKTP tidak ditemukan untuk nama \"nama1 nama2\" di kab \"kabname\"","data":null,"timestamp":"2026-10-20 20:29:59"}}}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object"},"example":{"nama":"nama1 nama2","kab":"kabname"}}}}}},"/ektp/extract":{"post":{"operationId":"post_ektp_extract","summary":"Extract","description":"Extract nik get details","responses":{"200":{"description":"Successful response","content":{"application/json":{"example":{"status":200,"message":"success","data":{"nik":"3208301204010001","nama":"ARGO PRASETIADI","tempat_lahir":"KUNINGAN","tanggal_lahir":"2001-04-12","jenis_kelamin":"LAKI-LAKI","gol_darah":"-","alamat":"DUSUN I","rt_rw":"002/001","kelurahan_desa":"MANDALAJAYA","kecamatan":"MALEBER","kota_kabupaten":"KUNINGAN","provinsi":"JAWA BARAT","agama":"ISLAM","status_perkawinan":"-","pekerjaan":"KARYAWAN SWASTA","kewarganegaraan":"WNI","nomor_kk":"3208301904240003","pendidikan":"SLTA/SEDERAJAT"},"timestamp":"2026-10-20 20:30:02"}}}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object"},"example":{"nik":"3208301204010001"}}}}}}},"components":{"securitySchemes":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"X-JoJAPI-Key","description":"Your JoJ API key."}}}}