Interactive API documentation for Freight Rate Intelligence. Explore all 9 intelligence skills with request/response examples.
https://freightrateintelligence.com/v1
All API requests require a bearer token. Include your API key in the Authorization header:
Authorization: Bearer fri_YOUR_API_KEY
POST /v1/rates/lookup — Cost-basis rate estimate for any U.S. lanePOST /v1/diesel-trend — PADD regional diesel price trendsPOST /v1/fuel-surcharge — ATA/DOE fuel surcharge calculationPOST /v1/market/analysis — Macro freight market intelligencePOST /v1/lanes/compare — Side-by-side lane comparison (2–5 lanes)POST /v1/alerts — Threshold monitoring and alert creationGET /v1/capacity/{region} — Regional capacity pressure indexPOST /v1/reports/audit — Receipt-chain provenance tracingPOST /v1/forecast — Forward rate projections with scenariosEvery response includes:
receipt_id — Constitutional receipt for audit trailauth_obj_id — Attribution object linking data sourcesconfidence — Structured confidence grade (level, score, label, factors)factor_versions — Data source versions with observation datesmodel_type — Model identifier for the skillmodel_disclaimer — Usage context for the estimateAll authenticated endpoints return standard error codes:
| Code | Meaning | Key Fields |
|---|---|---|
400 | Validation error | error, message |
401 | Missing or invalid API key | error |
403 | Tier upgrade required | error, skill, required_tier, current_tier |
429 | Rate limited | error, used, limit, resets_at |
500 | Internal server error | error |
The full interactive API explorer with code samples is available when JavaScript is enabled. It uses ReDoc to render the OpenAPI 3.1 specification.
OpenAPI spec: /openapi.json