> ## Documentation Index
> Fetch the complete documentation index at: https://docs.webrouter.net/llms.txt
> Use this file to discover all available pages before exploring further.

# Shippo

> Multi-carrier shipping: rate quotes across 40+ carriers, purchased labels, package tracking and carrier accounts.

![](https://mintcdn.com/webrouter/T_A5Quwg50s_JK2y/logo/data-apis/shippo.webp?fit=max\&auto=format\&n=T_A5Quwg50s_JK2y\&q=85\&s=a480334b11672a6f5775d6b1e4756203)

[Web Catalog · Commerce](https://docs.webrouter.net/data-apis.md?category=commerce)

Needs&#x20;

`SHIPPO_API_TOKEN`

Endpoints

7

Auth

Key in header

[Vendor docs](https://docs.goshippo.com/shippoapi/public-api/)

&#x20;·&#x20;

[Pricing](https://goshippo.com/pricing)

## Setup

| Variable | | What it is |
| - | - | - |
| `SHIPPO_API_TOKEN` | required | A Shippo API token (goshippo.com/user/apikeys). shippo\_test\_ tokens run in test mode: free labels that ship nothing. |

Put them in your environment or `.env`; [Data APIs](https://docs.webrouter.net/vendors.md) covers the other ways.

## Notes

* Rate limits are per minute and lower in test mode: about 50 list calls (10 test), 4000 single-object reads (400 test) and 500 creates (50 test) per resource; tracking 500 GETs and 750 POSTs (50 test). Over it answers 429.
* Objects are disposable: to change a shipment or address, create a new one. Shipments, rates and transactions older than 390 days are not returned.
* The flow is create a shipment (returns rates), pick a rate object\_id, then create a transaction with it to buy the label.
* Lists page with page and results (max 100).

## Endpoints

GET

Get a package's tracking status

Current status, location, ETA and history for a carrier tracking number.

[Open](#shippo-tracks-get)

GET

List shipments

Shipments created on the account.

[Open](#shippo-shipments-list)

GET

Get a shipment

One shipment with its addresses, parcels and rates.

[Open](#shippo-shipments-get)

GET

List a shipment's rates

Carrier rates (price, carrier and service level) for a shipment.

[Open](#shippo-shipments-rates)

GET

List shipping labels

Purchased labels (transactions), filterable by status.

[Open](#shippo-transactions-list)

GET

Get a shipping label

One transaction with a fresh label\_url and its tracking number.

[Open](#shippo-transactions-get)

GET

List carrier accounts

Carrier accounts connected to the Shippo account, Shippo's own and the user's.

[Open](#shippo-carrier-accounts-list)

### Get a package's tracking status

GET

`/tracks/{Carrier}/{TrackingNumber}`

`shippo.tracks.get`

Current status, location, ETA and history for a carrier tracking number.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        `Carrier`

        required
      </td>

      <td>
        string
      </td>

      <td>
        path
      </td>

      <td>
        Carrier token, e.g. usps, ups, fedex (the list is on the Tracking Carriers page).
      </td>
    </tr>

    <tr>
      <td>
        `TrackingNumber`

        required
      </td>

      <td>
        string
      </td>

      <td>
        path
      </td>

      <td>
        The tracking number.
      </td>
    </tr>
  </tbody>
</table>

[Vendor docs](https://docs.goshippo.com/api-reference/tracking-status/get-a-tracking-status)

> [!NOTE]
>
> * Needs a live token for real packages. Free for labels bought on Shippo; other tracking numbers cost per number. In test mode use carrier shippo with SHIPPO\_PRE\_TRANSIT, SHIPPO\_TRANSIT, SHIPPO\_DELIVERED, SHIPPO\_RETURNED, SHIPPO\_FAILURE or SHIPPO\_UNKNOWN.

### List shipments

GET

`/shipments`

`shippo.shipments.list`

Shipments created on the account.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        `page`
      </td>

      <td>
        integer
      </td>

      <td>
        query
      </td>

      <td>
        Page number, default 1.
      </td>
    </tr>

    <tr>
      <td>
        `results`
      </td>

      <td>
        integer
      </td>

      <td>
        query
      </td>

      <td>
        Results per page, default 25, max 100.
      </td>
    </tr>

    <tr>
      <td>
        `object_created_gt`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Created after this ISO 8601 UTC date-time (no timezone offsets).
      </td>
    </tr>

    <tr>
      <td>
        `object_created_gte`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Created at or after this ISO 8601 UTC date-time (no timezone offsets).
      </td>
    </tr>

    <tr>
      <td>
        `object_created_lt`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Created before this ISO 8601 UTC date-time (no timezone offsets).
      </td>
    </tr>

    <tr>
      <td>
        `object_created_lte`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Created at or before this ISO 8601 UTC date-time (no timezone offsets).
      </td>
    </tr>
  </tbody>
</table>

[Vendor docs](https://docs.goshippo.com/api-reference/shipments/list-all-shipments)

```python Python theme={null}
router.call_data_api("shippo.shipments.list")
```

```text MCP theme={null}
call_data_api(endpoint="shippo.shipments.list")
```

### Get a shipment

GET

`/shipments/{ShipmentId}`

`shippo.shipments.get`

One shipment with its addresses, parcels and rates.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        `ShipmentId`

        required
      </td>

      <td>
        string
      </td>

      <td>
        path
      </td>

      <td>
        Shipment object\_id.
      </td>
    </tr>
  </tbody>
</table>

[Vendor docs](https://docs.goshippo.com/api-reference/shipments/retrieve-a-shipment)

### List a shipment's rates

GET

`/shipments/{ShipmentId}/rates`

`shippo.shipments.rates`

Carrier rates (price, carrier and service level) for a shipment.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        `ShipmentId`

        required
      </td>

      <td>
        string
      </td>

      <td>
        path
      </td>

      <td>
        Shipment object\_id.
      </td>
    </tr>

    <tr>
      <td>
        `page`
      </td>

      <td>
        integer
      </td>

      <td>
        query
      </td>

      <td>
        Page number, default 1.
      </td>
    </tr>

    <tr>
      <td>
        `results`
      </td>

      <td>
        integer
      </td>

      <td>
        query
      </td>

      <td>
        Results per page, default 25, max 100.
      </td>
    </tr>
  </tbody>
</table>

[Vendor docs](https://docs.goshippo.com/api-reference/rates/retrieve-shipment-rates)

### List shipping labels

GET

`/transactions`

`shippo.transactions.list`

Purchased labels (transactions), filterable by status.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        `rate`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Only labels for this rate id.
      </td>
    </tr>

    <tr><td>`object_status`</td><td>string</td><td>query</td><td>Label status. One of `WAITING`, `QUEUED`, `SUCCESS`, `ERROR`, `REFUNDED`, `REFUNDPENDING`, `REFUNDREJECTED`</td></tr>
    <tr><td>`tracking_status`</td><td>string</td><td>query</td><td>Tracking status. One of `UNKNOWN`, `PRE_TRANSIT`, `TRANSIT`, `DELIVERED`, `RETURNED`, `FAILURE`</td></tr>

    <tr>
      <td>
        `page`
      </td>

      <td>
        integer
      </td>

      <td>
        query
      </td>

      <td>
        Page number, default 1.
      </td>
    </tr>

    <tr>
      <td>
        `results`
      </td>

      <td>
        integer
      </td>

      <td>
        query
      </td>

      <td>
        Results per page, default 25, max 100.
      </td>
    </tr>

    <tr>
      <td>
        `object_created_gt`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Created after this ISO 8601 UTC date-time (no timezone offsets).
      </td>
    </tr>

    <tr>
      <td>
        `object_created_gte`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Created at or after this ISO 8601 UTC date-time (no timezone offsets).
      </td>
    </tr>

    <tr>
      <td>
        `object_created_lt`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Created before this ISO 8601 UTC date-time (no timezone offsets).
      </td>
    </tr>

    <tr>
      <td>
        `object_created_lte`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Created at or before this ISO 8601 UTC date-time (no timezone offsets).
      </td>
    </tr>
  </tbody>
</table>

[Vendor docs](https://docs.goshippo.com/api-reference/transactions/list-all-shipping-labels)

```python Python theme={null}
router.call_data_api("shippo.transactions.list")
```

```text MCP theme={null}
call_data_api(endpoint="shippo.transactions.list")
```

### Get a shipping label

GET

`/transactions/{TransactionId}`

`shippo.transactions.get`

One transaction with a fresh label\_url and its tracking number.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        `TransactionId`

        required
      </td>

      <td>
        string
      </td>

      <td>
        path
      </td>

      <td>
        Transaction object\_id.
      </td>
    </tr>
  </tbody>
</table>

[Vendor docs](https://docs.goshippo.com/api-reference/transactions/retrieve-a-shipping-label)

> [!NOTE]
>
> * Each call returns a new label\_url with a new expiry; call again when the old one has expired.

### List carrier accounts

GET

`/carrier_accounts`

`shippo.carrier_accounts.list`

Carrier accounts connected to the Shippo account, Shippo's own and the user's.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        `service_levels`
      </td>

      <td>
        boolean
      </td>

      <td>
        query
      </td>

      <td>
        Add each account's service levels.
      </td>
    </tr>

    <tr>
      <td>
        `carrier`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Only this carrier token, e.g. usps.
      </td>
    </tr>

    <tr>
      <td>
        `account_id`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Only this carrier account id.
      </td>
    </tr>

    <tr>
      <td>
        `page`
      </td>

      <td>
        integer
      </td>

      <td>
        query
      </td>

      <td>
        Page number, default 1.
      </td>
    </tr>

    <tr>
      <td>
        `results`
      </td>

      <td>
        integer
      </td>

      <td>
        query
      </td>

      <td>
        Results per page, default 5, max 100.
      </td>
    </tr>
  </tbody>
</table>

[Vendor docs](https://docs.goshippo.com/api-reference/carrier-accounts/list-all-carrier-accounts)

```python Python theme={null}
router.call_data_api("shippo.carrier_accounts.list")
```

```text MCP theme={null}
call_data_api(endpoint="shippo.carrier_accounts.list")
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.