Skip to content
TrackParcelTrackParcel API

Calls and webhooks,
explained.

What your system sends to TrackParcel, what we ask each courier on your behalf, and what we send back to your server. And what each of them costs, on a plan or per call.

How it fits together.


  1. 1Your system → TrackParcelAPI callsYou add shipments with your key, and read them whenever you need to.
    On a plan
    Counted
    Per call
    Free
  2. 2TrackParcel → the courierChecksWe check every shipment with its courier on our own schedule until it is delivered, reading the courier live each time.
    On a plan
    Included
    Per call
    1 call each
  3. 3TrackParcel → your serverWebhooksWhen a check finds something new, we POST it to your server straight away.
    On a plan
    Free
    Per call
    Free

Add a parcel once and the rest is ours: we keep checking it and tell your server what changes, so your system never has to ask. No Business API call reads the courier while you wait. Reading a shipment gives you what our last check found, and even a refresh only asks our checker to go now; the result comes the usual way.

Two ways to pay.


Starter, Growth and ProPlansA monthly price for the parcels you track. Our checks and webhooks are included, and each plan comes with API calls. Suits most businesses: you know roughly how many parcels you ship.Business plans →
EnterprisePay per callYou pay for each live read of a courier: every automatic check of your parcels, every refresh and every Tracking API lookup. Adding parcels, reading them and webhooks are free, and the limits are set in your contract. Suits high volumes and tracking platforms.API pricing →

On a per-call contract, a call is one live read of a courier, whoever starts it: you, with a lookup or a refresh, or our checker, on your parcels' schedule. Everything else is free.

What costs a call

On a per-call contract
A Tracking API lookup (GET /api/v1/track)1 call. Our failures, a number not found when we chose the courier, and one refused without asking the courier because it doesn't fit the courier's format, are free.
An automatic check of one of your parcels1 call
A refresh (POST /api/v1/shipments/{id}/refresh)1 call: the check it makes.
A check before the courier's first scan of the parcel, or one the courier fails or refusesFree
Adding parcels (POST /api/v1/shipments)Free
Reading shipments and their scansFree
Webhook settings, deliveries and replaysFree
Every webhook we send youFree, retries included.
Our quality re-checks after a parcel endsFree

Rates

The calls of each calendar month (India time) are priced in bands, each band at its own rate, so each call costs less as you grow.

Calls in a monthEach call
The first 25,000₹0.08
25,001 to 1,00,000₹0.035
1,00,001 to 5,00,000₹0.03
Above 5,00,000₹0.025

You choose how often we check

Faster checks mean fresher updates, and more calls. Pick a speed for your workspace, and tell us whenever you want to change it. A parcel added at pickup, 3 days in transit, then out for delivery for 6 hours, is checked:

SpeedWhile in transitOut for deliveryThat parcel
StandardEvery 12 hoursEvery 12 hours8 checks, ₹0.64
AdaptiveEvery 6 hoursEvery 2 hours, 7 AM–10 PM IST16 checks, ₹1.28
PriorityEvery 4 hoursEvery 90 minutes, 7 AM–10 PM IST23 checks, ₹1.84

Counted from the schedule, with the check when you add it and the one that confirms the delivery, at the first rate. A parcel added later in its journey, or delivered sooner, takes fewer; one that waits long for pickup, has a failed delivery attempt or goes back to the sender takes more. Checks before the courier's first scan are free, and checks stop once a parcel is delivered, returned or cancelled.

What a month costs

At every 6 hours, with each parcel checked 16 times like the one above:

Parcels a monthCallsThe monthA parcel
1,00016,000₹1,280₹1.28
10,0001,60,000₹6,425₹0.64
50,0008,00,000₹24,125₹0.48

Want a figure for your own volumes? Write to us with your parcels a month and the speed you want.

API calls on a plan: what counts.


Your workspace's plan includes a number of API calls for each usage period, and a per-minute limit that all its keys share. This is what each request costs on a plan:

RequestCounts as
POST /api/v1/shipments1 call for each shipment it creates or restores, and at least 1 per request. A shipment that was already there, or is invalid, costs nothing more. The same Idempotency-Key and body again within 24 hours gives back the first answer and costs nothing.
Every other /api/v1/shipments and /api/v1/webhooks call1 call each: listing, reading one, its events, changing, archiving, restoring, refreshing, looking a number up, and every webhook setting.
GET /api/v1/usageFree, up to 30 times a minute.
Our checks with the courierIncluded on a plan, however often we check. On a per-call contract, each check is 1 call.
Webhooks we send youFree, retries included.

Limits

PlanPer minute, per workspaceCalls per usage period
Starter303,000
Growth6015,000
Pro12075,000
EnterpriseAs agreedAs agreed

Over the per-minute limit you get 429 rate_limited with Retry-After; once the period's calls are used up, 429 quota_exceeded. Every call your key is admitted to carries X-Quota-Limit, X-Quota-Used and X-Quota-Reset, and GET /api/v1/usage answers with the numbers that apply to your key.

If TrackParcel has linked a paid tracking API key to your workspace, your Business API calls and that key's lookups share its monthly allowance, and your plan's shipment limits no longer apply: calls are the only limit.

How we check the courier.


These are the calls we make for you. Every shipment is checked with its courier as soon as it is added, then on a schedule that follows the parcel: often when something is about to happen, less often while it is simply on its way, and never again once it has arrived. On a plan they are included; on a per-call contract each one that reads the courier is 1 call, at the speed you choose (Two ways to pay).

StatusStarter and GrowthPro and Enterprise
Just addedAt onceAt once
In transit and movingEvery 6 hoursEvery 4 hours
Out for delivery, on its first day (7 AM–10 PM IST)Every 2 hoursEvery 90 minutes
After a failed delivery attempt, for 72 hoursEvery 4 hoursEvery 3 hours
Booked, not picked up, for its first 3 daysEvery 6 hoursEvery 6 hours
In transit with no new scan for 3 days or moreEvery 12 hoursEvery 12 hours
Returning to the senderEvery 12 hoursEvery 12 hours
Delivered, returned, cancelled or not foundStopsStops

The full schedule, with the Free plan's, is in How often we check.

Checking one now

POST /api/v1/shipments/{id}/refresh makes the shipment due at once, and our checker reads the courier within moments; the result comes by webhook, or on your next read. On a plan it costs 1 call and one of the workspace's manual refreshes for the day (Starter 100, Growth 500, Pro 2,000); on a per-call contract, the check it makes is the 1 call, within the daily refreshes your contract sets. At most once every 10 minutes for each shipment. A refresh isn't used up while the courier can't be read, or once the journey has ended.

Webhooks: the calls we make to you.


A webhook is a POST we send to your server when something happens to a shipment, so you never have to keep asking. It goes out the moment a check finds the change, so it is exactly as fresh as our checks.

Setting up an endpoint

Events

EventSent when
shipment.createdA shipment is added, by any route.
shipment.status_changedIts status changes.
shipment.out_for_deliveryIt goes out for delivery.
shipment.deliveredIt is delivered. data.provisional is true until our next check confirms it.
shipment.confirmedOur next check confirms a provisional delivery or return.
shipment.failed_attemptA new failed delivery attempt.
shipment.exceptionAn exception starts: stuck, failed attempt, RTO and the rest (data.exception.type says which).
shipment.event_addedEvery new courier scan, even when the status stays the same. Growth and above.
shipment.archived, shipment.unarchivedIt is archived or restored.
webhook.testYou press Send test, or ask for one through the API.

What a webhook looks like

POST /webhooks/trackparcel HTTP/1.1
Host: your-server.example
Content-Type: application/json
User-Agent: TrackParcel-Webhooks/1.0
TrackParcel-Event-Id: evt_01JA3…
TrackParcel-Delivery-Id: 6f1c…
TrackParcel-Timestamp: 1760245933
TrackParcel-Signature: t=1760245933,v1=5257a869e7ec…

{
  "id": "evt_01JA3…",
  "type": "shipment.status_changed",
  "created_at": "2026-10-12T10:42:13+05:30",
  "org_id": "c0a8…",
  "data": {
    "shipment": { "…": "the shipment, as in the API" },
    "previous_status": "in_transit",
    "status": "out_for_delivery",
    "event": {"at": "2026-10-12T08:02:00+05:30", "date_only": null, "location": "PUNE", "activity": "Out For Delivery"},
    "sequence": 7,
    "provisional": false
  }
}
HeaderValue
TrackParcel-Event-IdThe event's id, the same every time it is sent. Use it to skip repeats.
TrackParcel-Delivery-IdThis delivery's id, the same on every retry of it. A replay is a new delivery, with a new id.
TrackParcel-TimestampWhen it was sent, in Unix seconds.
TrackParcel-Signaturet=<timestamp>,v1=<signature>: two v1 values for 24 hours after a secret is rotated.
User-AgentTrackParcel-Webhooks/1.0

Checking the signature

Anyone can send a POST to your address; only TrackParcel can sign it. Work out HMAC-SHA256 of the timestamp t, a full stop and the raw body, keyed with your whole secret, write it in hex, and accept the request if it equals any v1 in TrackParcel-Signature. Reject a timestamp more than 300 seconds from your clock. After you rotate a secret, the old one keeps working for 24 hours. Code for Node.js, PHP and Python is in Verifying webhook signatures.

Delivery and retries

What happens
Your answerAny 2xx within 10 seconds. Do the slow work after answering. A redirect (3xx) counts as a failure.
Retries1 minute, 5 minutes, 30 minutes, 2 hours, 6 hours, 12 hours and 24 hours after each failure: 8 attempts over about 45 hours.
Switched offAt once on 410 Gone. After 100 failed attempts in a row, or 72 hours in which every delivery failed, the endpoint is switched off and the Owner and Admins get a notice in the app.
Catching upSwitch it back on and replay the failed deliveries of the last 72 hours. Events that happened while it was off aren't sent: read current statuses with GET /api/v1/shipments.
Order and repeatsWebhooks can arrive out of order, and the same event can arrive twice. Put them in order with data.sequence and created_at, and skip an event id you have already handled.
Deliveries and returnsA delivery or return is provisional (data.provisional: true) until our next check agrees; then shipment.confirmed follows.

One parcel, start to finish.


A parcel added on Monday morning and delivered on Thursday, on Growth, with a webhook endpoint for status changes and every scan:

WhenWhat happensAPI calls
Mon 10:00You add it with POST /api/v1/shipments. We check it at once and send shipment.created.1
Mon to WedWe check it every 6 hours. Each new scan sends shipment.event_added, and each change of status shipment.status_changed.0
Thu 08:00It goes out for delivery: shipment.out_for_delivery. We now check it every 2 hours.0
Thu 14:00It is delivered: shipment.delivered, provisional.0
Thu 16:00Our next check agrees: shipment.confirmed. Checks stop.0
In allEvery update reached your server by webhook.1

The same parcel read with GET /api/v1/shipments/{id} once an hour instead: 79 calls (1 to add it, 78 to read it), for the same information, since no read is fresher than our last check.

On a per-call contract, the parcel's checks are what count instead, and adding and reading it are free: at every 6 hours this one takes about 16 (Two ways to pay).

The setup we recommend.


1

Add each parcel when it ships

POST /api/v1/shipments with an Idempotency-Key, up to 100 shipments a request. A parcel added before it moves keeps its whole journey.

2

Create one webhook endpoint

Status changes cover most integrations. Add shipment.event_added (Growth and above) when you want every scan.

3

Check, answer, then work

Check the signature, answer 2xx within 10 seconds, do the work afterwards, and skip an event id you have already handled.

4

Read only to catch up

After downtime, GET /api/v1/shipments?updated_since=… brings you up to date, and GET /api/v1/shipments/{id}/events gives a full timeline.

5

Refresh only when someone is waiting

For example, a customer asking about their parcel right now.

Tracking API or Business API?


Tracking API (/api/v1/track)Business API (/api/v1/shipments)
How it worksYou ask about a number, and we read the courier for that request.You add a number once. We check it until it is delivered and tell your server what changes.
What countsEach lookup is 1 call. Our failures, a number not found when we chose the courier, and one refused without asking the courier because it doesn't fit the courier's format, are free.On a plan, each shipment added is 1 call, and so is each request; our checks and webhooks are included. On a per-call contract, each check is 1 call, and adding, reading and webhooks are free.
WebhooksNoYes
Best forA track-your-order box, or one-off lookupsFollowing every parcel you ship
DocsTracking APIBusiness API

Prices: Tracking API plans and Business plans. Start with the API quickstart; the full description is the OpenAPI document at /api-docs/openapi.json.