EkspedisiKu

API reference

All endpoints use the same URLs. Choose the logistics provider with the carrier field (body or query). One Bearer token works for every supported carrier.

Administrative Data

Fetch Indonesian administrative locations (Provinces, Regencies, Districts, Villages) for your forms or dropdowns.

1. Provinces

GET /provinces
GET https://courier.rasaconnect.com/api/provinces

2. Regencies

GET /regencies?province_id={id}
GET https://courier.rasaconnect.com/api/regencies?province_id=11

3. Districts

GET /districts?regency_id={id}
GET https://courier.rasaconnect.com/api/districts?regency_id=1101

4. Villages

GET /villages?district_id={id}
GET https://courier.rasaconnect.com/api/villages?district_id=110101

Example response

application/json

{
  "success": true,
  "data": [
    { "id": "11", "name": "ACEH" },
    { "id": "12", "name": "SUMATERA UTARA" }
  ]
}