Skip to main content

Courier Rates V2

Rates from many couriers at once, by district code.

Base URL​

https://use.api.co.id

Call GET /courier/v2/rates with the origin & destination district codes and the package weight (kg), plus the x-api-co-id header. Optional: item value, insurance, and package dimensions. The response contains a list of couriers and services with price, estimate, cheapest/fastest flags, and a quote_id.

District codes​

Get district codes from the location endpoints, in order:

  1. GET /courier/v1/locations/provinces
  2. GET /courier/v1/locations/cities?province=
  3. GET /courier/v1/locations/districts?city=

Pricing​

  • Rp 5 per successful call to GET /courier/v2/rates (pay-as-you-go, deducted from your balance).
  • Failed calls are not charged; an insufficient balance returns 402.
  • The location and courier list endpoints are free.

Ordering (pickup)​

Order creation (pickup) is coming soon. The ordering endpoint is being prepared for the next release. The quote_id from this rate check is the first step of that flow.

Replaces the previous version​

This version replaces Courier Rates V1, which is based on village codes. V2 uses district codes and returns a quote_id.

Was this page helpful?