Get shipping cost quotes

Quotes shipping cost per courier and service for a given origin, destination and package weight.

  • couriers must be a JSON-encoded array string of courier codes, e.g. ["jne","jnt"]. An empty array falls back to the platform default priority list (oexpress, jne, jnt, ninja, sap, idexpress, spx).
  • weight is in grams.
  • With payment_method=cod only COD-capable services are returned and COD fees apply.
Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Query Params
integer
required

Origin subdistrict ID (see /v1/subdistricts).

integer
required

Destination subdistrict ID.

json
required

JSON-encoded array of courier codes. Known codes: oexpress, jne, jnt, ninja, sap, idexpress, spx, sicepat.

integer
required
≥ 1

Package weight in grams.

string
enum
Defaults to bank_transfer

Payment method of the order being quoted. Affects COD fees and which services are offered.

Allowed:
json

JSON-encoded volumetric dimensions in cm, used for volumetric weight by couriers that support it.

boolean
Defaults to true

Fall back to cached rates when a courier API is unreachable.

string
Defaults to normal

Quote mode. Leave at the default unless instructed otherwise.

exclude_couriers
array of strings

Courier codes to exclude from couriers. Send as repeated exclude_couriers[]=jne query params.

exclude_couriers
string

lat,lng of the origin. Only used by distance-based couriers.

string

lat,lng of the destination. Only used by distance-based couriers.

string

Free-text marker of who requested the quote. Logged only.

boolean
Defaults to false

When true the response carries Cache-Control: max-age=300, must-revalidate and a Cache-Tag header.

Responses

Language
Credentials
Bearer
JWT
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json