{"uid":"cap_rKKQ-Bp7HGJv9Zt2TOhPm","slug":"oneshotagent-market-freight-rate-lookup-32cbb640","name":"OneShotAgent Market Freight Rate Lookup","description":"Tools, payments, and compute orchestration for autonomous AI agents.\n\n## Authentication\n\n- **`x402Payment`** — paid tool endpoints use the [x402 payment protocol](https://x402.io).\n  First call returns `402 Payment Required` with a quote; sign and resend the request\n  with `payment-signature: <base64 x402 payment>` and `X-Quote-ID: <quote_id>`.\n- **`agentId`** — free read-only endpoints accept `X-Agent-ID: <wallet>` (0x… address).\n- **`soulKey`** — soul marketplace seller dashboard uses `Authorization: Bearer soul_…`\n  (issued by `POST /v1/soul/register`).\n- **`acpBearer`** — Stripe ACP checkout sessions use a separate bearer token plus the\n  `API-Version: 2026-01-30` header.\n\n## Async tools & polling\n\nMost tool endpoints return `202 Accepted` with `{ request_id, tool, status }`. Poll\n`GET /v1/requests/{id}` (with the same `X-Agent-ID`) to retrieve the final result.\nA WebSocket fallback is available at `wss://<host>/v1/requests/subscribe`.\n\n## Pricing\n\nPrices are listed at [docs.oneshotagent.com/pricing](https://docs.oneshotagent.com/pricing).\nA wallet (x402) call returns its exact price in the 402 quote before anything is charged.\nCalls paid from prepaid credits (access-token sessions, and the phone number purchase at\n`POST /v1/tools/voice/numbers`) debit the credit balance when the request is accepted, before the work runs\n(`200` for a synchronous lookup, `201` for the number purchase, `202` for a queued job),\nand answer `402 insufficient_credits` with nothing charged or bought when the balance cannot cover it.\n\n## Error format\n\n`{ \"error\": \"<machine_code>\", \"message\": \"<human readable>\", \"details\": <optional> }`.\nValidation errors include a `details` field with the failing field paths.","url":"https://win.oneshotagent.com/v1/tools/lookup/market-freight-rate?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"mode":{"enum":["ltl","ftl","van","box_truck"],"type":"string","description":"How the freight moves. Picks the quote asked for; there is no default"},"pallets":{"type":"integer","description":"How many pallets. Required for ltl, van (up to 3) and box_truck (up to 12); not needed for ftl. At least 1."},"width_in":{"type":"integer","description":"The width of each pallet in inches. Required for ltl; ignored for other modes. At least 1."},"height_in":{"type":"integer","description":"The height of each pallet in inches, up to 85. Required for ltl; ignored for other modes. At least 1."},"length_in":{"type":"integer","description":"The length of each pallet in inches. Required for ltl; ignored for other modes. At least 1."},"origin_zip":{"type":"string","description":"Where the freight is collected. 5-digit US ZIP code."},"pickup_date":{"type":"string","description":"The day the freight is collected: today (UTC) or later. YYYY-MM-DD."},"destination_zip":{"type":"string","description":"Where the freight is delivered. 5-digit US ZIP code."},"weight_lbs_per_pallet":{"type":"integer","description":"The weight of each pallet in pounds. Required for ltl, van (3,500 lb in all) and box_truck (10,000 lb in all); not needed for ftl. At least 1."}}},"responseSchema":{"type":"json","example":{"mode":"ltl","rate":329.95,"currency":"USD","quote_tier":"indicative","pickup_date":"2026-10-20","valid_until":"2026-10-18T03:36:09.269Z","transit_days":3,"delivery_date":"2026-10-23","included_services":["liftgate","residential delivery","delivery appointment","limited access","notify before delivery"]}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_DKM9JAgnRExv7sMK2N5cS","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns a market freight rate quote for a US lane between two ZIP codes for a given pickup date and shipping mode (LTL, FTL, van, or box truck).","exampleAgentPrompt":"Can you get me a market freight rate quote for shipping 6 pallets LTL from ZIP 60601 to ZIP 90210, picking up on 2025-08-15? Each pallet is 48x40x60 inches and weighs 800 lbs.","exampleUseCases":[{"title":"E-commerce seller comparing shipping bids","prompt":"I need to ship 4 pallets of goods LTL from ZIP 07302 to ZIP 77002, pickup on 2025-08-20. Each pallet is 48x40x72 inches and weighs 600 lbs — what's the current market freight rate for that lane?"},{"title":"3PL quoting a customer for a van move","prompt":"Quote me a van shipment of 2 pallets from ZIP 30301 to ZIP 85001 for pickup on 2025-08-18, with each pallet weighing 1,200 lbs."},{"title":"Operations team benchmarking FTL lanes","prompt":"What's the market rate for a full truckload from ZIP 10001 to ZIP 94105 with a pickup date of 2025-09-01?"}],"resultDescription":"Returns a market freight rate quote for the specified lane, mode, and pickup date — typically including a price estimate in USD for moving the freight between the two ZIP codes under the chosen shipping mode and load constraints.","failureModes":["Invalid or non-existent US ZIP code returns an error","Pickup date in the past returns a validation error","Missing required fields for the selected mode (e.g. pallet dimensions for LTL) returns a schema error","Pallet count or weight exceeds mode limits (e.g. over 12 pallets for box truck) returns an error","No market data available for the requested lane or date may return a null or error response","Payment failure (x402) if USDC balance is insufficient"],"whenToPreferThis":"Use this endpoint when you need a real-time market freight rate for a specific US lane, pickup date, and shipping mode. It is ideal for agents automating freight procurement, benchmarking carrier quotes, or surfacing shipping costs in logistics workflows. Prefer it over generic shipping calculators when you need mode-specific (LTL/FTL/van/box truck) lane pricing with pallet-level detail.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-30T12:38:09.022Z","isFirstParty":false,"canonicalSlug":"oneshotagent-market-freight-rate-lookup-32cbb640"}