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.
- 1Your system → TrackParcelAPI callsYou add shipments with your key, and read them whenever you need to.
- On a plan
- Counted
- Per call
- Free
- 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
- 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.
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 parcels | 1 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 refuses | Free |
Adding parcels (POST /api/v1/shipments) | Free |
| Reading shipments and their scans | Free |
| Webhook settings, deliveries and replays | Free |
| Every webhook we send you | Free, retries included. |
| Our quality re-checks after a parcel ends | Free |
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 month | Each 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:
| Speed | While in transit | Out for delivery | That parcel |
|---|---|---|---|
| Standard | Every 12 hours | Every 12 hours | 8 checks, ₹0.64 |
| Adaptive | Every 6 hours | Every 2 hours, 7 AM–10 PM IST | 16 checks, ₹1.28 |
| Priority | Every 4 hours | Every 90 minutes, 7 AM–10 PM IST | 23 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 month | Calls | The month | A parcel |
|---|---|---|---|
| 1,000 | 16,000 | ₹1,280 | ₹1.28 |
| 10,000 | 1,60,000 | ₹6,425 | ₹0.64 |
| 50,000 | 8,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:
| Request | Counts as |
|---|---|
POST /api/v1/shipments | 1 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 call | 1 call each: listing, reading one, its events, changing, archiving, restoring, refreshing, looking a number up, and every webhook setting. |
GET /api/v1/usage | Free, up to 30 times a minute. |
| Our checks with the courier | Included on a plan, however often we check. On a per-call contract, each check is 1 call. |
| Webhooks we send you | Free, retries included. |
Limits
| Plan | Per minute, per workspace | Calls per usage period |
|---|---|---|
| Starter | 30 | 3,000 |
| Growth | 60 | 15,000 |
| Pro | 120 | 75,000 |
| Enterprise | As agreed | As 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).
| Status | Starter and Growth | Pro and Enterprise |
|---|---|---|
| Just added | At once | At once |
| In transit and moving | Every 6 hours | Every 4 hours |
| Out for delivery, on its first day (7 AM–10 PM IST) | Every 2 hours | Every 90 minutes |
| After a failed delivery attempt, for 72 hours | Every 4 hours | Every 3 hours |
| Booked, not picked up, for its first 3 days | Every 6 hours | Every 6 hours |
| In transit with no new scan for 3 days or more | Every 12 hours | Every 12 hours |
| Returning to the sender | Every 12 hours | Every 12 hours |
| Delivered, returned, cancelled or not found | Stops | Stops |
The full schedule, with the Free plan's, is in How often we check.
- Every check reads the courier live, never a cached copy.
- A tracking number that several workspaces follow is checked once, and each of them gets the result.
- We keep every scan we have seen. Some couriers show only a parcel's current stage (Shadowfax, for one), so their own page loses the earlier steps; your timeline in TrackParcel keeps them, in the app and in
GET /api/v1/shipments/{id}/events. - When a courier doesn't answer, we retry on our own and keep showing the last good reading.
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
- Owners and Admins add one under Developers → Webhooks in the app, or with
POST /api/v1/webhooksand a key that haswebhooks:manage. - The address must use HTTPS, on port 443 or 8443, and resolve to a public address.
- Starter has 1 endpoint, Growth 3, Pro and Enterprise 10. Each endpoint has its own signing secret (
whsec_…) and its own list of events. - Send test (or
POST /api/v1/webhooks/{id}/test) sends awebhook.testevent so you can check your code.
Events
| Event | Sent when |
|---|---|
shipment.created | A shipment is added, by any route. |
shipment.status_changed | Its status changes. |
shipment.out_for_delivery | It goes out for delivery. |
shipment.delivered | It is delivered. data.provisional is true until our next check confirms it. |
shipment.confirmed | Our next check confirms a provisional delivery or return. |
shipment.failed_attempt | A new failed delivery attempt. |
shipment.exception | An exception starts: stuck, failed attempt, RTO and the rest (data.exception.type says which). |
shipment.event_added | Every new courier scan, even when the status stays the same. Growth and above. |
shipment.archived, shipment.unarchived | It is archived or restored. |
webhook.test | You 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
}
}| Header | Value |
|---|---|
TrackParcel-Event-Id | The event's id, the same every time it is sent. Use it to skip repeats. |
TrackParcel-Delivery-Id | This delivery's id, the same on every retry of it. A replay is a new delivery, with a new id. |
TrackParcel-Timestamp | When it was sent, in Unix seconds. |
TrackParcel-Signature | t=<timestamp>,v1=<signature>: two v1 values for 24 hours after a secret is rotated. |
User-Agent | TrackParcel-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 answer | Any 2xx within 10 seconds. Do the slow work after answering. A redirect (3xx) counts as a failure. |
| Retries | 1 minute, 5 minutes, 30 minutes, 2 hours, 6 hours, 12 hours and 24 hours after each failure: 8 attempts over about 45 hours. |
| Switched off | At 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 up | Switch 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 repeats | Webhooks 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 returns | A 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:
| When | What happens | API calls |
|---|---|---|
| Mon 10:00 | You add it with POST /api/v1/shipments. We check it at once and send shipment.created. | 1 |
| Mon to Wed | We check it every 6 hours. Each new scan sends shipment.event_added, and each change of status shipment.status_changed. | 0 |
| Thu 08:00 | It goes out for delivery: shipment.out_for_delivery. We now check it every 2 hours. | 0 |
| Thu 14:00 | It is delivered: shipment.delivered, provisional. | 0 |
| Thu 16:00 | Our next check agrees: shipment.confirmed. Checks stop. | 0 |
| In all | Every 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.
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.
Create one webhook endpoint
Status changes cover most integrations. Add shipment.event_added (Growth and above) when you want every scan.
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.
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.
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 works | You 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 counts | Each 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. |
| Webhooks | No | Yes |
| Best for | A track-your-order box, or one-off lookups | Following every parcel you ship |
| Docs | Tracking API | Business 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.