GET /api/ratesFreight Rates
Retrieve route and carrier rate context for quote workflows.
Build freight quote tools, D&D calculators, local-charge lookups, and logistics-agent workflows on carrier-backed shipping intelligence.
GET /api/ratesRetrieve route and carrier rate context for quote workflows.
GET /api/demo/dd-compareCompare demurrage and detention examples by country, direction, days, and container type.
GET /api/total-costCombine freight, D&D exposure, and related cost assumptions.
GET /api/portResolve port context and location intelligence for carrier workflows.
GET /api/transitUse transit and schedule context in planning and exception handling.
GET /api/congestionPair rate decisions with port congestion and operational risk signals.
Estimate port-side free-time exposure.
Estimate container return risk.
Compare broader landed-cost signals.
Build comparison tools on structured data.
Connect agents to the same freight intelligence surface.
Choose between direct MCP, REST API, dashboard, and Apify discovery.
Access tariffs, local charges, ports, and transit intelligence.
Understand source provenance and fail-closed validation.
Every paid route grants 25 free requests per month per IP — no signup, no API key. Public demo endpoints stay fully open for lightweight exploration.
Paid routes support x402 payment flows so agents and applications can settle specific freight intelligence calls with USDC where enabled.
X-Require-Payment: x402 or Prefer: x402 when a client needs an immediate 402 challenge instead of free-tier accessUse https://mcp.shippingrates.org/mcp when a logistics agent needs structured freight intelligence without scraping public pages.
Machine-readable discovery remains available for agents and crawlers that need to understand the product surface before calling it.
ShippingRates publishes carrier-backed freight intelligence only after source-backed rows pass deterministic validation. Unsupported tariff shapes, missing source provenance, and ambiguous port scopes stay out of public API and SEO pages until they can be represented safely.
Read the ShippingRates methodology for the data integrity rules behind calculators, API responses, MCP tools, and data-backed content pages such as India container local charges and Singapore demurrage and detention charges.
# Free demo route — no auth needed curl "https://api.shippingrates.org/api/demo/dd-compare?country=IN&direction=import&days=14&container_type=40GP" # Paid routes: 25 free requests/month per IP, then x402 payment (USDC). # There is no API-key signup for public routes — agents pay per call via # the 402 challenge; see /.well-known/x402 for the payment flow. curl "https://api.shippingrates.org/api/local-charges?country=IN&port=INNSA"