Skip to main content

Developer Reference

API Documentation

Everything you need to integrate freight data into your application. The REST API accepts JSON requests and returns JSON responses.

Introduction

The FreightAPIs API provides programmatic access to carrier location data for 10 carriers (ABF Freight, Central Transport, CEVA Logistics, C.H. Robinson, Estes Express, GLS US, Saia LTL, SEKO Logistics, TForce Freight and USPS), 4,400+ global seaports, Amazon drop point locations, and the National Motor Freight Classification (NMFC) database. All endpoints share a single, consistent REST interface.

Base URL

https://freightapis.dev/api

Response Format

JSON

Authentication

Bearer token

All requests must include a valid API key. Requests without authentication will return 401 Unauthorized.

Authentication

Authenticate by passing your API key in the Authorization header as a Bearer token.

Request Header

Authorization: Bearer YOUR_API_KEY

You can generate and manage API keys from your dashboard after signing up. Each key is displayed only once at creation time - store it securely. The API also accepts the key in an X-API-Key header (used by the Postman collection and SDKs below).

curl
curl https://freightapis.dev/api/article/63321 \
  -H "Authorization: Bearer YOUR_API_KEY"

Tools & SDKs

Rate Limits

API usage is metered per account against your plan's call allowance. There is no fixed per-second or concurrency limit — only the allowance below (we reserve the right to throttle abnormal traffic). When the allowance is exhausted the API returns 429 Too Many Requests.

Plan Requests / Cycle Notes
Free 20 Good for prototyping
Starter 10,000 For developers building freight tools
Pro 50,000 Production workloads
Enterprise Unlimited SLA + priority support

When your allowance resets

Your allowance resets on your subscription billing cycle, not on the calendar month. It refreshes to a full allowance when a payment succeeds — your first subscription, each renewal, and paid upgrades. Changes that don't involve a charge (updating a card or invoice email, or downgrading, which produces only a prorated credit) do not refresh it; a downgrade takes effect on your next paid renewal. Accounts without an active subscription reset on the calendar month (UTC). Unused calls do not carry over.

Top-up balance

On paid plans, once the cycle's allowance is used up, calls are automatically drawn from any top-up pack balance on the account instead of failing — so you are only blocked with a 429 once both are exhausted. Top-up credits never expire and are not reset by renewals or plan changes.

Checking your usage

Current usage is shown on your account page. A 429 response body reports where you stand:

{
  "error": "Monthly API limit reached",
  "limit": 50000,
  "used": 50000,
  "topup_balance": 0,
  "upgrade_url": "https://freightapis.dev/pricing"
}

Error Codes

The API uses standard HTTP status codes. Error responses always include a JSON body with an error field containing a human-readable message.

Error response
{
  "error": "Invalid API key"
}
Status Meaning Description
200 OK Request succeeded
400 Bad Request Invalid parameters or malformed request body
401 Unauthorized Missing or invalid API key
403 Forbidden Your current plan does not include access to this endpoint
404 Not Found The requested resource does not exist
429 Rate Limit Exceeded Your plan allowance and any top-up balance are both exhausted
500 Internal Server Error An unexpected error occurred on our end

API Products

Choose a product to view its full endpoint reference.

Unified Locations

RECOMMENDED
6 endpoints

Look up terminals across every US carrier at once, plus coverage answers: which carriers serve a ZIP and whether a given carrier can reach it. One endpoint family.

View docs

NMFC Classification

PRO
7 endpoints

Search articles, look up freight classes, access rules, packages, change history, and density calculators.

View docs

Amazon Drop Points

3 endpoints

Find Amazon pickup and return locations by zip code or keyword. Includes addresses, hours, and coordinates.

View docs

ABF Freight Locations

8 endpoints

Service coverage by ZIP code, carrier info, transit add-on days, daily pickup/delivery schedules for ABF Freight.

View docs

Central Transport

5 endpoints

Terminal locations, service coverage, and direct/indirect service status for Central Transport LTL.

View docs

CEVA Logistics

8 endpoints

Global logistics locations across 157 countries. Search by country, city, coordinates, or activity type.

View docs

C.H. Robinson

5 endpoints

Global office locations across 9 regions and 5 service categories. Search, filter, and batch lookup.

View docs

Estes Express

5 endpoints

274 terminal locations across US and Canada. Search by state, ZIP, or terminal code.

View docs

GLS US Drop Boxes

4 endpoints

535 drop box locations across the US. Search by state, ZIP, or keyword with GPS coordinates.

View docs

Saia LTL Freight

5 endpoints

213 terminal locations across the US. Search by state, ZIP, or terminal code. Includes hours and manager info.

View docs

SEKO Logistics

5 endpoints

Global logistics offices across 66 countries. Search by country, city, or keyword. Includes hub locations and GPS coordinates.

View docs

TForce Freight

5 endpoints

291 service centers across US, Canada, and Mexico. Includes timezone and mailing address data.

View docs

USPS Locations

5 endpoints

98,000+ post offices and collection boxes across the US with GPS coordinates. Search by state, ZIP, city, or radius.

View docs

Seaports

6 endpoints

4,400+ global seaports across 210 countries by UN/LOCODE, country, shipping company, and geographic radius. Includes coordinates and carrier coverage.

View docs

Start free - no credit card

Create an API key and make your first call in minutes. 20 free calls/month on the free plan.