Cek Ongkir
Testing
GET
/ongkir
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET '/ongkir?sender_addr_id=14900&receiver_addr_id=15780&item_weight=1&w=10&h=10&i=10&form_id=6bed868b-2415-4101-9026-9290760b9c95&courier_code=idx'
Response Response Example
{
"data": [
{
"cod": 1,
"courier_name": "IDEXPRESS",
"drop_off": "1",
"etd": "1-3",
"max_price": 18000,
"price": 14400,
"service_code": "00",
"service_name": "STD",
"shipping_type": "regular",
"volume_price": 6000,
"rating": 0,
"courier_code": "idx"
},
{
"cod": 1,
"courier_name": "IDEXPRESS",
"drop_off": "1",
"etd": "3-5",
"max_price": 50000,
"price": 47500,
"service_code": "06",
"service_name": "IDTruck",
"shipping_type": "cargo",
"volume_price": 4000,
"rating": 0,
"courier_code": "idx"
}
]
}
Request
Query Params
sender_addr_id
integer
optional
Example:
14900
receiver_addr_id
integer
optional
Example:
15780
item_weight
integer
optional
Example:
1
w
integer
optional
Example:
10
h
integer
optional
Example:
10
i
integer
optional
Example:
10
form_id
string
optional
Example:
6bed868b-2415-4101-9026-9290760b9c95
courier_code
string
optional
Example:
idx
Responses
Modified at 2025-06-19 10:20:55