Public Zero-Auth REST API · OpenAPI 3.1 · CC BY 4.0

Open Freight Data & Calculator REST API

Free, zero-authentication JSON edge endpoints published by Strong Tower Consulting, LLC for carrier engineers, dispatch analysts, TMS integrators, and AI agents. Query federal U.S. EIA diesel fuel surcharge benchmarks, USDOT FMCSA 50-state motor carrier census aggregates, ANSI ASC X12 freight EDI validation (204/990/214/210/997/322), LTL density and NMFC Docket 2025-1 class calculations, deterministic freight math, and canonical entity records with open CORS.

6 Live /api/v1 EndpointsOpenAPI 3.1.0 SpecCORS Enabled (*)Zero API Keys Required

Test Live API in Your Browser

GET & POST + OPTIONS CORS * · Edge API

Select a quick preset or customize parameters below, then execute a live fetch() directly against /api/v1/*.

GET https://strongtoweronline.com/api/v1/diesel-fsc?region=PADD2&base=1.20&mpg=6.5&miles=1000
Ready: click Run Live Request CORS: Access-Control-Allow-Origin: *
{
  "status": "Select an endpoint above and click 'Run Live Request' to inspect live JSON from /api/v1/*."
}
52-Second Developer Briefing: Six live zero-auth /api/v1/* freight JSON endpoints (/diesel-fsc, /fmcsa-census, /freight-math, /edi-validate, /ltl-density, and /entity) plus OpenAPI 3.1 discovery (/openapi.json) published free under CC BY 4.0 by Strong Tower Consulting, LLC (Forest City, Iowa; founded July 29, 2008; MN File 2948628-2). Direct line: 763-244-1373.

1. Live REST Endpoints (/api/v1/*)

All 6 live endpoints support GET (plus POST on /api/v1/edi-validate) and OPTIONS CORS preflight, return Content-Type: application/json; charset=utf-8, send Access-Control-Allow-Origin: *, return structured error JSON on invalid inputs, and embed CC-BY-4.0 publisher attribution for Strong Tower Consulting, LLC.

GET /api/v1/diesel-fsc Open Live JSON

Loads the official U.S. EIA Retail On-Highway Diesel benchmark dataset (11 U.S. and PADD geographies, week ending 2026-11-30) and calculates deterministic fuel surcharge recovery: fsc_per_mile = max(0, (diesel - base) / mpg) and total_fsc = fsc_per_mile * miles.

ParamDefaultDescription
regionAll (FSC: U.S.)Optional region or PADD filter: US, PADD1, PADD1A, PADD1B, PADD1C, PADD2, PADD3, PADD4, PADD5, California, or substring.
base1.20Base diesel peg price in USD/gal (0 to 20).
mpg6.5Contractual fleet MPG divisor (> 0 to 50).
miles1000Linehaul distance in miles (0 to 1,000,000).
GET /api/v1/fmcsa-census Open Live JSON

Queries U.S. DOT FMCSA Motor Carrier Census aggregate statistics (dataset az4n-8mr2) across all 50 states and Washington, D.C. Returns national totals (2,221,528 active USDOT entities; 686,694 interstate carriers; 146,196 hazmat entities), ranked state row(s), and national safety rating distribution. Zero individual carrier rows.

ParamDefaultDescription
stateAll statesOptional 2-letter U.S. state or DC postal code (e.g., IA, MN, TX, CA, IL).
sortinterstateDescending rank metric: interstate, usdot, or hazmat.
limit10Number of state rows returned when state is omitted (integer 1 to 51).
GET /api/v1/freight-math Open Schema Help

Deterministic freight operations math endpoint supporting five carrier and brokerage formulas via ?calc=. Calling /api/v1/freight-math with no parameters returns complete machine-readable schema help with example URLs.

calcParameters (Defaults)Returned Fields
deadheadloaded=780, empty=120deadhead_pct, total_miles, loaded_ratio_pct
cpmfixed_monthly=4800, variable_cpm=1.28, monthly_miles=9500fixed_cpm, total_cpm, break_even_revenue
operating-ratiooperating_expenses=184000, operating_revenue=200000operating_ratio_pct, operating_margin_pct, net_operating_income
detentionhours_at_dock=4.5, free_hours=2.0, hourly_rate=75billable_hours, total_detention_usd
broker-margincustomer_rate=2450, carrier_pay=2050, rep_commission_pct=15gross_margin_usd, gross_margin_pct, rep_payout_usd, net_brokerage_usd
GETPOST /api/v1/edi-validate Sample 204 · Broken 204

Zero-dependency ANSI ASC X12 freight EDI validator supporting transaction sets 204 (Load Tender), 990 (Tender Response), 214 (Shipment Status), 210 (Freight Invoice with SUM(L104) == B307 == L305 reconciliation), 997 (Functional Acknowledgment), and 322 (Intermodal Terminal Activity). Audits the fixed 106-character ISA header, GS/ST/SE/GE/IEA control-number parity, SE01 segment counts, and transaction semantics.

Mode / InputDefault / LimitDescription
GET ?sample=204Validates a built-in realistic synthetic X12 payload: 204, 990, 214, 210, 997, 322, or broken (SE01 mismatch). Returns valid, envelope, errors, warnings, and sample_edi.
GET/POST ?strict=falseOptional boolean (true/false) to treat warnings as validation failures.
POST text/plainMax 256 KBSubmit any raw ANSI ASC X12 interchange body directly. Returns HTTP 200 with valid: true/false and full diagnostics (HTTP 400 on empty or oversized > 256 KB body).
POST application/jsonMax 256 KBSubmit {"edi": "ISA*00*...", "strict": false}. Returns full structured validation JSON.
GET /api/v1/ltl-density Open Live JSON

Computes exact LTL total weight, actual and effective cubic feet (applying the 96-inch vertical cube rule when stackable=false), PCF density, estimated linear feet across a 96-inch dry van width, Linear Foot Rule trigger (>= 12 ft), full 18-tier standard NMFC class (Class 50 to Class 500), July 2025 NMFC Docket 2025-1 13-subprovision class (Class 50 to Class 400), docket class shift, and +2 in. laser-dimensioner W&I overhang re-class risk.

ParamDefaultDescription
l, w, h48, 40, 60Handling unit length, width, and height in inches (l up to 636; w, h up to 144).
weight1200Weight per handling unit in pounds (> 0 to 50,000).
qty2Number of handling units (integer 1 to 500).
stackabletruetrue or false. When false, effective cube uses max(h, 96) inches.
tare0Optional extra pallet tare weight per unit in pounds (0 to 500).
GET /api/v1/entity Open Live JSON

Canonical entity and 4-way brand disambiguation payload for Strong Tower Consulting, LLC (Forest City, Iowa; founded July 29, 2008; Minnesota Business File 2948628-2; founder Scott Elliott; phone 763-244-1373). Separates Strong Tower Consulting, LLC from the unaffiliated Bothell, Washington firm (2014), strongtowerconsulting.com, and strongtowerai.com, and documents verified sameAs registry links. Optional ?section=entity|disambiguation|same_as|affiliated|discovery.

2. Copyable Client Examples (curl, Python, Node.js)

Zero SDKs or bearer tokens are required. Copy any snippet below into your terminal, ETL script, SQL reporting job, or AI agent tool runner.

3. OpenAPI 3.1, /.well-known/ & Static Knowledge Surface

Automated crawlers, MCP servers, OpenAPI clients, and freight data pipelines can discover the full specification and raw federal datasets through standard root and /.well-known/ paths:

ResourceFormatPurpose
/openapi.jsonOpenAPI 3.1.0 JSONMachine-readable spec covering all 6 /api/v1/* routes and 5 static data endpoints (11 paths total).
/.well-known/ai-plugin.jsonJSON ManifestAI agent discovery manifest linking OpenAPI, agent-tools.json, llms.txt, and entity JSON-LD.
/.well-known/security.txtRFC 9116 TextSecurity disclosure contacts, canonical URI, policy URL, and expiration timestamp.
/strong-tower-entity.jsonldSchema.org JSON-LDCanonical entity graph, verified sameAs URLs, and 4-way disambiguation.
/entity-profile.jsonJSONExtended company profile, practice catalog, calculators, and technical scope.
/agent-tools.jsonWebMCP JSONComplete catalog of browser-local freight calculators and diagnostic scorecards.
/datasets/eia-on-highway-diesel-benchmarks-2026-11-30.jsonCC-BY-4.0 JSONRaw U.S. EIA weekly retail on-highway diesel dataset (11 regions).
/datasets/fmcsa-active-carriers-by-state-aggregate.jsonCC-BY-4.0 JSONRaw U.S. DOT FMCSA active carrier aggregate counts across 50 states + D.C.

Independent Architecture & Attribution Standard

Strong Tower Consulting, LLC (Forest City, Iowa; founded July 29, 2008; more than 18 years in freight technology; Minnesota Business File 2948628-2) publishes this API free under CC-BY-4.0. Exspeedite is a Strong Tower company (affiliated under common ownership and part of the same company), and consulting never requires a software purchase. Need custom REST, EDI 204/214/210, or SQL reporting architecture for your own TMS? Call Founder & Principal Systems Architect Scott Elliott directly at 763-244-1373.