---
title: "Get price estimate"
method: POST
path: "/{countryCode}/1.0/public/price"
tags: ["Tariff API"]
---

# Get price estimate

`POST /{countryCode}/1.0/public/price`

Returns an estimated standard delivery fee for an order based on the provided `weight`, `service_level`, `from` and `to` locations, excluding any surcharge and discount. 

**Note:** This endpoint doesn't require authentication but is rate-limited to 20 calls per minute.

## Path parameters

- `countryCode` 'ID', required

## Request body

- PriceEstimate
  - `weight` number, double — Weight of the parcel, in kilograms (k.g.). If a value is not provided or zero is provided, the price will be estimated based on 1 kg instead.
  - `service_level` 'Standard' | 'Express' | 'Sameday' | 'Nextday', required — Shipment service level.
  - `from` BillingZone, required
    - `l1_tier_code` string, required — Refer to [Zone code mapping](#tag/Reference/Zone-code-mapping)
    - `l2_tier_code` string, required — Refer to [Zone code mapping](#tag/Reference/Zone-code-mapping)
  - `to` BillingZone, required
    - `l1_tier_code` string, required — Refer to [Zone code mapping](#tag/Reference/Zone-code-mapping)
    - `l2_tier_code` string, required — Refer to [Zone code mapping](#tag/Reference/Zone-code-mapping)

## Response `200`

Obtained a price estimate successfully.

- object
  - `data` object, required
    - `total_fee` number — The estimated price. May be expressed in exponential notation.

## Other responses

- `404` — Origin-Destination (OD) pair error. Cannot find a price estimate because the given from and to zone pair does not exist in the rate card. This may mean that the submitted zone codes are invalid.

---

[API](https://skmtc.net/ninjavan/apis/ninja-van-api.md) · [All operations](https://skmtc.net/ninjavan/apis/ninja-van-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/ninjavan/ninja-van-api/revisions/9096adaf76a2/schema)
