Carrier Integration

Shiprocket Tracking API

Shiprocket is a shipping aggregator: it books your orders onto partner couriers. ClearTrack tracks Shiprocket shipments and maps Shiprocket's own status wording into the same JSON as direct carriers.

Get a free API key

Shiprocket is an aggregator, not a courier

Shiprocket books shipments onto partner couriers. Call /v1/track/shiprocket/:awb with the tracking number Shiprocket gave you; if you already know the partner courier and its AWB, that courier's slug (for example delhivery or xpressbees) applies that courier's own wording table instead.

Shiprocket's pre-pickup states

ClearTrack's Shiprocket table has more pre-pickup wording than any other carrier table. "Pickup Scheduled", "Pickup Generated", "Pickup Queued", "Pickup Requested", "Pickup Pending", "Ready for Pickup", "Awaiting Pickup" and "Order Received" all return awaiting_pickup, while "Manifested" returns order_placed. Wait for picked_up before telling a buyer the parcel has left. After pickup, "NDR" returns exception with a failed attempt (reason codes: NDR reason codes) and "RTO Initiated" returns returned.

Shiprocket wording and the status you get back

Each row is the output of ClearTrack's normalizer for that Shiprocket wording: the top-level status and the per-event code.

Shiprocket wording status Event code Notes
Order Received awaiting_pickup received Order created; pickup not yet done.
Manifested order_placed bagged Manifest generated for the courier.
Picked Up picked_up picked_up Collected by the courier partner.
In Transit in_transit dispatched Moving through the courier's network.
Out for Delivery out_for_delivery out_for_delivery Out with the delivery agent.
Delivered delivered delivered Delivered (terminal).
NDR exception delivery_attempted (ndr: other) Non-delivery report with no reason text.
RTO Initiated returned rto_initiated Return to origin started.

All statuses across carriers: Shipment Statuses Reference.

Track a Shiprocket shipment

Pass your ClearTrack API key in the X-API-Key header:

cURL GET /v1/track/shiprocket/:awb
curl -s -H "X-API-Key: YOUR_API_KEY" \
  "https://api.cleartrackpromise.in/v1/track/shiprocket/YOUR_AWB"

Frequently Asked Questions

Is Shiprocket a courier?

No. Shiprocket is an aggregator that books shipments onto partner couriers. ClearTrack lists it under aggregators on the supported carriers page.

Should I use the shiprocket slug or the courier's slug?

Use shiprocket when the tracking number you have is the one Shiprocket gave you. If you know the partner courier and its AWB, that courier's slug (for example delhivery or xpressbees) returns the shipment with that courier's own wording table.

Do I need a Shiprocket account to use ClearTrack?

No. ClearTrack is a separate service; you query Shiprocket shipments with your ClearTrack API key. For Shiprocket's own integration options, ask Shiprocket directly.

Sample JSON Response

The response shape is the same for every carrier; see the tracking endpoint reference for each field.

JSON (Illustrative Example) 200 OK
{
  "awb": "YOUR_AWB",
  "tracking_number": "YOUR_AWB",
  "carrier": "shiprocket",
  "status": "in_transit",
  "status_text": "In Transit",
  "is_delivered": false,
  "is_rto": false,
  "origin": {
    "office": "Gurugram Hub",
    "city": "Gurugram",
    "state": "Haryana",
    "pincode": "122001"
  },
  "destination": {
    "office": "Lucknow Hub",
    "city": "Lucknow",
    "state": "Uttar Pradesh",
    "pincode": "226001"
  },
  "estimated_delivery_at": null,
  "delivered_at": null,
  "first_scan_at": "2026-11-12T06:30:00.000Z",
  "last_location": "Lucknow Hub",
  "last_known_location": "Lucknow Hub",
  "last_updated_at": "2026-11-13T09:10:00.000Z",
  "last_polled_at": "2026-11-13T09:10:00.000Z",
  "cached": false,
  "stale": false,
  "shipment": {
    "service_type": null,
    "weight_grams": null,
    "origin": {
      "office": "Gurugram Hub",
      "city": "Gurugram",
      "state": "Haryana",
      "pincode": "122001"
    },
    "destination": {
      "office": "Lucknow Hub",
      "city": "Lucknow",
      "state": "Uttar Pradesh",
      "pincode": "226001"
    },
    "booked_at": "2026-11-12T06:30:00.000Z"
  },
  "milestones": {
    "booked_at": "2026-11-12T06:30:00.000Z",
    "picked_up_at": "2026-11-12T06:30:00.000Z",
    "in_transit_at": "2026-11-13T09:10:00.000Z",
    "out_for_delivery_at": null,
    "first_attempt_at": null,
    "delivered_at": null,
    "rto_initiated_at": null,
    "rto_delivered_at": null
  },
  "delivery_attempts": {
    "count": 0,
    "attempts": []
  },
  "insights": {
    "transit_days_elapsed": 1.1,
    "hours_since_last_scan": 2.5,
    "is_stuck": false,
    "is_late_vs_carrier_edd": false,
    "delay_days_vs_carrier_edd": null,
    "hub_count": 2,
    "current_stage": "in_transit",
    "requires_attention": false,
    "attention_reason": null,
    "benchmark": {
      "median_transit_days_for_route": null,
      "sample_size": null,
      "expected_delivery_by": null
    }
  },
  "events": [
    {
      "timestamp": "2026-11-13T09:10:00.000Z",
      "status": "in_transit",
      "status_text": "In Transit",
      "code": "dispatched",
      "facility": "Lucknow Hub",
      "location": "Lucknow",
      "description": "In Transit"
    },
    {
      "timestamp": "2026-11-12T06:30:00.000Z",
      "status": "picked_up",
      "status_text": "Picked Up",
      "code": "picked_up",
      "facility": "Gurugram Hub",
      "location": "Gurugram",
      "description": "Picked Up"
    }
  ]
}

Pricing

Free trial: 100 lookups over 14 days. Paid plans are 30-day prepaid lookup packs from ₹399 (about ₹0.25–₹0.27 per lookup), billed in rupees via Razorpay Autopay and cancellable anytime.

See all plans Start Free Trial

Supported Logistics Networks

The same endpoint and JSON shape cover Delhivery, Xpressbees, Blue Dart, Ekart Logistics, Trackon, Shadowfax, Shree Maruti Courier, The Professional Couriers, Speed Post. Multi-carrier overview: Shipment Tracking API in India.

Related guides: normalizing courier tracking statuses, handling failed delivery attempts and NDR codes and tracking Delhivery and Blue Dart shipments with one API.

ClearTrack is not affiliated with, endorsed by, or sponsored by any courier company. All trademarks belong to their respective owners.