Skip to main content
The Carrier API gives you one set of endpoints for every shipping carrier your customers connect. Each charge on a carrier invoice comes back as a line item in the same shape whichever carrier billed it, and the original invoice files are there to download.

Make a request

Every endpoint lives under https://production.trackstarhq.com/carrier/ and takes two headers: your API key, and the access token for the customer’s connection. See Getting Started for how to get both.
List endpoints return up to 1000 items per page with a next_token for the next page, and accept filters such as updated_date[gte]. About the API covers pagination, filtering, errors, and rate limits.

Resources

Invoice Line Items

Individual charges on carrier invoices, normalized across carriers.

Files

The raw invoice files each carrier sends, with download links.

Sample Files

Example invoice files from each supported carrier.

Keep your data current

Trackstar picks up new invoices on a schedule, so reads come from Trackstar and don’t wait on the carrier. To hear about new invoices as they land instead of polling, subscribe to webhooks. Syncing Data lists how often each resource syncs. To try the endpoints before a customer connects, use the Carrier sandbox.

Use cases

Carrier Invoice Data

Retrieve invoice line items as JSON or download raw invoice files.