Sources › Logistics › Cek Resi (cekresi.com) › Area Search

Cek Resi Area Search API
Find district (kecamatan) IDs for Shipping Rates: `id` is the destination, `regionId` its city/regency for the origin.
Request
https://api.zapi.ink/v1/logistics:cek-resi/areaSend 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 7 days.
Parameters
| Name | Type | In | Required | Description |
|---|---|---|---|---|
| q | string | query | Yes | District (kecamatan) name, at least 3 letters Example: gubeng |
| limit | number | query | No | Maximum results. Default 15, max 50 Example: 15 |
Code examples
curl -X GET "https://api.zapi.ink/v1/logistics:cek-resi/area?q=gubeng&limit=15" \ -H "x-api-key: zpi_xxxxxxxxxxxxxxxxxxxxxxxx"
const res = await fetch("https://api.zapi.ink/v1/logistics:cek-resi/area?q=gubeng&limit=15", { method: "GET", headers: { "x-api-key": "zpi_xxxxxxxxxxxxxxxxxxxxxxxx" }, }); const data = await res.json(); console.log(data);
import requests res = requests.get( "https://api.zapi.ink/v1/logistics:cek-resi/area", params={"q":"gubeng","limit":"15"}, headers={"x-api-key":"zpi_xxxxxxxxxxxxxxxxxxxxxxxx"}, ) print(res.json())
Example response
{ "project": "logistics:cek-resi", "data": { "areas": [ { "id": 5836, "region": "Bandung", "district": "Sukajadi", "province": "Jawa Barat", "regionId": 22, "provinceId": 9, "regionType": "Kota", "villageCount": 5 }, { "id": 5837, "region": "Pekanbaru", "district": "Sukajadi", "province": "Riau", "regionId": 363, "provinceId": 26, "regionType": "Kota", "villageCount": 7 } ], "count": 2, "query": "sukajadi" }, "timestamp": "2026-06-13T02:22:13Z" }
Frequently asked questions
How do I call the Cek Resi Area Search API?
Send a GET request to https://api.zapi.ink/v1/logistics:cek-resi/area?q=gubeng with your Zapi key in the x-api-key header. Parameters — required: q; optional: limit. The response is JSON in the { project, data, timestamp } envelope.
What does the Cek Resi Area Search API return?
Find district (kecamatan) IDs for Shipping Rates: `id` is the destination, `regionId` its city/regency for the origin. The example response has the fields areas, count, query. Each item in areas has fields such as id, region, district, province, regionId, provinceId, regionType, villageCount.
Is the Cek Resi Area Search 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 Area Search 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 "area".
What other Cek Resi API endpoints are there?
It has 3 endpoints. Besides Area Search: Track Package, Shipping Rates.