Developer documentation
One API key for every need
Guides, API reference, and code samples for every api.co.id product — from eKYC to shipping rates. Send your first request in minutes.
x-api-co-id header safely.PlaygroundTry endpoints right from your browser.Products by category
Identity & eKYC
8 productsKTP OCRExtract NIK, name, and address from a KTP photo.POST/ocr/ktp-extractSIM OCRRead Indonesian driver's license (SIM) data automatically.POST/ocr/sim-extractPassport OCRExtract passport data page fields, including the MRZ lines.POST/ocr/passport-extractFace MatchingCompare two faces and get a similarity score.POST/face-match/verifyLiveness DetectionCheck that a selfie comes from a live face, not a print or screen.POST/liveness/detectKTP CheckVerify NIK, name, date of birth, and KTP photo.POST/id-verification/verifyNPWP VerificationVerify an NPWP or NIK and match name and address.POST/npwp/verifyBank Account ValidationMatch account numbers and holder names across 130+ Indonesian banks.GET/validation/bank
Computer Vision & AI
3 productsCommunication
1 productsIndonesian Data
6 productsIndonesia RegionalProvinces, cities/regencies, and districts.GET/regional/indonesia/provincesIndonesia SchoolsSearch and filter Indonesian school data.GET/regional/indonesia/schoolsIndonesia UniversitiesIndonesian university data.GET/regional/indonesia/universitiesIndonesia HospitalsIndonesian hospital data from SIRS.GET/hospitals/indonesia/Indonesian HolidaysNational and regional public holidays in Indonesia.GET/holidays/indonesia/Prayer TimesDaily prayer times per regency/city.GET/regional/indonesia/prayer-times/regencies
Location & Logistics
5 productsIP GeolocationLocation and network metadata for an IP address.GET/location/ip-geolocationReverse GeocodingTurn coordinates into a structured address.GET/location/reverse-geocodeCourier Rates V2Rates from many couriers at once, by district code.GET/courier/v2/ratesCourier Rates V1DeprecatedCalculate shipping costs between Indonesian villages.GET/expedition/shipping-costCourier API9 pagesCompare courier rates, create shipping orders, track shipments, and manage your balance.
Finance
3 productsYour first request
Fetch the list of provinces from Indonesia Regional.
- Copy your API key from the Dashboard.
- Store it in the
API_CO_ID_KEYenvironment variable. - Run the sample alongside.
File-processing endpoints (OCR, Face Matching, and similar) accept multipart/form-data; data endpoints take query parameters or JSON.
Request
curl -X GET "https://use.api.co.id/regional/indonesia/provinces" \ -H "x-api-co-id: $API_CO_ID_KEY"Was this page helpful?