Sources › Logistics › Cek Resi (cekresi.com) › Shipping Rates

Cek Resi Shipping Rates API

Shipping rates from 12 Indonesian couriers (JNE, J&T, J&T Cargo, SiCepat, TIKI, POS, AnterAja, Lion Parcel, Wahana, NCS, ID Express, Atlas) for one route, cheapest first. Origin is a city/regency, destination a district; weight in kg.

Cek Resi (cekresi.com)GET /ongkirAll plans1 Zap

Request

GET
https://api.zapi.ink/v1/logistics:cek-resi/ongkir

Send your key in the x-api-key header. The response is JSON in the { project, data, timestamp } envelope, and an identical request is served from cache for 12 hours.

Parameters

NameTypeInRequiredDescription
fromstringqueryYesOrigin city: `regionId` from the `area` endpoint, or a city/district name (e.g. `jakarta selatan`, `tebet`) Example: 156
tostringqueryYesDestination district: `id` from the `area` endpoint, or a district name; add the city after a comma to disambiguate (e.g. `sukajadi, bandung`) Example: 1787
weightnumberqueryYesPackage weight in kg; fractions are rounded up to the next kg, as couriers bill Example: 1
courierstringqueryNoComma-separated couriers to keep. Omit for all: jne, tiki, pos-indonesia, jnt-express, jnt-cargo, wahana, sicepat, lion-parcel, atlas-express, anteraja, pt-ncs, id-express Example: jne,sicepat

Code examples

cURL
curl -X GET "https://api.zapi.ink/v1/logistics:cek-resi/ongkir?from=156&to=1787&weight=1&courier=jne%2Csicepat" \
  -H "x-api-key: zpi_xxxxxxxxxxxxxxxxxxxxxxxx"
JavaScript
const res = await fetch("https://api.zapi.ink/v1/logistics:cek-resi/ongkir?from=156&to=1787&weight=1&courier=jne%2Csicepat", {
  method: "GET",
  headers: {
    "x-api-key": "zpi_xxxxxxxxxxxxxxxxxxxxxxxx"
  },
});
const data = await res.json();
console.log(data);
Python
import requests

res = requests.get(
    "https://api.zapi.ink/v1/logistics:cek-resi/ongkir",
    params={"from":"156","to":"1787","weight":"1","courier":"jne,sicepat"},
    headers={"x-api-key":"zpi_xxxxxxxxxxxxxxxxxxxxxxxx"},
)
print(res.json())

Example response

200 OK · application/json
{
  "project": "logistics:cek-resi",
  "data": {
    "to": {
      "id": 1787,
      "region": "Surabaya",
      "district": "Gubeng",
      "province": "Jawa Timur"
    },
    "from": {
      "id": 156,
      "region": "Jakarta Selatan",
      "province": "DKI Jakarta"
    },
    "count": 46,
    "weight": 1,
    "cheapest": 12000,
    "services": [
      {
        "etd": "3 Hari",
        "cost": 12000,
        "icon": "https://www.google.com/s2/favicons?domain=wahana.com&sz=128",
        "courier": "wahana",
        "courierName": "Wahana",
        "serviceName": "Express"
      },
      {
        "etd": "2 - 5 Hari",
        "cost": 12000,
        "icon": "https://www.google.com/s2/favicons?domain=lionparcel.com&sz=128",
        "courier": "lion-parcel",
        "courierName": "Lion Parcel",
        "serviceName": "JAGOPACK"
      },
      {
        "etd": "2 - 3 Hari",
        "cost": 13000,
        "icon": "https://www.google.com/s2/favicons?domain=lionparcel.com&sz=128",
        "courier": "lion-parcel",
        "courierName": "Lion Parcel",
        "serviceName": "REGPACK"
      }
    ]
  },
  "timestamp": "2026-06-13T02:22:13Z"
}

Frequently asked questions

How do I call the Cek Resi Shipping Rates API?

Send a GET request to https://api.zapi.ink/v1/logistics:cek-resi/ongkir?from=156&to=1787&weight=1 with your Zapi key in the x-api-key header. Parameters — required: from, to, weight; optional: courier. The response is JSON in the { project, data, timestamp } envelope.

What does the Cek Resi Shipping Rates API return?

Shipping rates from 12 Indonesian couriers (JNE, J&T, J&T Cargo, SiCepat, TIKI, POS, AnterAja, Lion Parcel, Wahana, NCS, ID Express, Atlas) for one route, cheapest first. The example response has the fields to, from, count, weight, cheapest, services. Each item in services has fields such as etd, cost, icon, courier, courierName, serviceName.

Is the Cek Resi Shipping Rates API free?

Yes. It is on the Zapi free tier: 600 Zap a month with one API key and no credit card. Each call costs 1 Zap. Paid plans raise the limits.

Can an AI assistant call the Cek Resi Shipping Rates API?

Yes. Add the Zapi MCP server (https://mcp.zapi.ink/mcp) to Claude, Cursor or another MCP client and ask in plain words; it calls run_scraper with scraper "cek-resi" and endpoint "ongkir".

What other Cek Resi API endpoints are there?

It has 3 endpoints. Besides Shipping Rates: Track Package, Area Search.