Test Live API in Your Browser
GET & POST + OPTIONS CORS * · Edge APISelect a quick preset or customize parameters below, then execute a live fetch() directly against /api/v1/*.
{
"status": "Select an endpoint above and click 'Run Live Request' to inspect live JSON from /api/v1/*."
}
/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.
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.
| Param | Default | Description |
|---|---|---|
region | All (FSC: U.S.) | Optional region or PADD filter: US, PADD1, PADD1A, PADD1B, PADD1C, PADD2, PADD3, PADD4, PADD5, California, or substring. |
base | 1.20 | Base diesel peg price in USD/gal (0 to 20). |
mpg | 6.5 | Contractual fleet MPG divisor (> 0 to 50). |
miles | 1000 | Linehaul distance in miles (0 to 1,000,000). |
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.
| Param | Default | Description |
|---|---|---|
state | All states | Optional 2-letter U.S. state or DC postal code (e.g., IA, MN, TX, CA, IL). |
sort | interstate | Descending rank metric: interstate, usdot, or hazmat. |
limit | 10 | Number of state rows returned when state is omitted (integer 1 to 51). |
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.
calc | Parameters (Defaults) | Returned Fields |
|---|---|---|
deadhead | loaded=780, empty=120 | deadhead_pct, total_miles, loaded_ratio_pct |
cpm | fixed_monthly=4800, variable_cpm=1.28, monthly_miles=9500 | fixed_cpm, total_cpm, break_even_revenue |
operating-ratio | operating_expenses=184000, operating_revenue=200000 | operating_ratio_pct, operating_margin_pct, net_operating_income |
detention | hours_at_dock=4.5, free_hours=2.0, hourly_rate=75 | billable_hours, total_detention_usd |
broker-margin | customer_rate=2450, carrier_pay=2050, rep_commission_pct=15 | gross_margin_usd, gross_margin_pct, rep_payout_usd, net_brokerage_usd |
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 / Input | Default / Limit | Description |
|---|---|---|
GET ?sample= | 204 | Validates 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= | false | Optional boolean (true/false) to treat warnings as validation failures. |
POST text/plain | Max 256 KB | Submit 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/json | Max 256 KB | Submit {"edi": "ISA*00*...", "strict": false}. Returns full structured validation 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.
| Param | Default | Description |
|---|---|---|
l, w, h | 48, 40, 60 | Handling unit length, width, and height in inches (l up to 636; w, h up to 144). |
weight | 1200 | Weight per handling unit in pounds (> 0 to 50,000). |
qty | 2 | Number of handling units (integer 1 to 500). |
stackable | true | true or false. When false, effective cube uses max(h, 96) inches. |
tare | 0 | Optional extra pallet tare weight per unit in pounds (0 to 500). |
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:
| Resource | Format | Purpose |
|---|---|---|
/openapi.json | OpenAPI 3.1.0 JSON | Machine-readable spec covering all 6 /api/v1/* routes and 5 static data endpoints (11 paths total). |
/.well-known/ai-plugin.json | JSON Manifest | AI agent discovery manifest linking OpenAPI, agent-tools.json, llms.txt, and entity JSON-LD. |
/.well-known/security.txt | RFC 9116 Text | Security disclosure contacts, canonical URI, policy URL, and expiration timestamp. |
/strong-tower-entity.jsonld | Schema.org JSON-LD | Canonical entity graph, verified sameAs URLs, and 4-way disambiguation. |
/entity-profile.json | JSON | Extended company profile, practice catalog, calculators, and technical scope. |
/agent-tools.json | WebMCP JSON | Complete catalog of browser-local freight calculators and diagnostic scorecards. |
/datasets/eia-on-highway-diesel-benchmarks-2026-11-30.json | CC-BY-4.0 JSON | Raw U.S. EIA weekly retail on-highway diesel dataset (11 regions). |
/datasets/fmcsa-active-carriers-by-state-aggregate.json | CC-BY-4.0 JSON | Raw 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.