Lookup Market Freight Rate
by OneShot in Markets & finance
Quote a freight lane between two US ZIP codes for a pickup date, by mode.
https://win.oneshotagent.com/v1/tools/lookup/market-freight-rate- Price
- $0.01
- per call in USDC
- Uptime
- 0.0%
- last 30 days
- Response time
- -
- no timed checks yet
- Last check
- Failed
- 6 h ago, next any minute now
Reliability
Latest check failed 6 h ago: Expected HTTP 402, got 400
Status and outage history · Atom feed · Watch with other listings
How to call it
POST https://win.oneshotagent.com/v1/tools/lookup/market-freight-rate
Each call costs $0.01 in USDC on Base, paid with the request over x402.
Run a free test callOne unpaid request, the way an agent sends it. You see the payment challenge it gets back. Nothing is charged.
Example request
From the listing.
POST https://win.oneshotagent.com/v1/tools/lookup/market-freight-rate
content-type: application/json
{
"destination_zip": "94105",
"height_in": 48,
"length_in": 48,
"mode": "ltl",
"origin_zip": "90012",
"pallets": 2,
"pickup_date": "2026-11-22",
"weight_lbs_per_pallet": 800,
"width_in": 40
}Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
destination_zip | string | Yes | Where the freight is delivered. 5-digit US ZIP code. |
height_in | integer | No | The height of each pallet in inches, up to 85. Required for ltl; ignored for other modes. At least 1. |
length_in | integer | No | The length of each pallet in inches. Required for ltl; ignored for other modes. At least 1. |
mode | string | Yes | How the freight moves. Picks the quote asked for; there is no default One of: ltl, ftl, van, box_truck. |
origin_zip | string | Yes | Where the freight is collected. 5-digit US ZIP code. |
pallets | integer | No | How many pallets. Required for ltl, van (up to 3) and box_truck (up to 12); not needed for ftl. At least 1. |
pickup_date | string | Yes | The day the freight is collected: today (UTC) or later. YYYY-MM-DD. |
weight_lbs_per_pallet | integer | No | 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. |
width_in | integer | No | The width of each pallet in inches. Required for ltl; ignored for other modes. At least 1. |
Example response
The provider's example. We can't check it without paying.
{
"currency": "USD",
"delivery_date": "2026-10-23",
"included_services": [
"liftgate",
"residential delivery",
"delivery appointment",
"limited access",
"notify before delivery"
],
"mode": "ltl",
"pickup_date": "2026-10-20",
"quote_tier": "indicative",
"rate": 329.95,
"transit_days": 3,
"valid_until": "2026-10-18T03:36:09.269Z"
}Call it from code
The curl command shows the payment challenge. The JavaScript and Python versions pay and call, and never pay more than $0.01.
curl: see the payment challenge
# bash or zsh: see the payment challenge. Nothing is charged.
curl -sS -g -i -X POST 'https://win.oneshotagent.com/v1/tools/lookup/market-freight-rate' \
-H 'content-type: application/json' \
--data-raw '{"destination_zip":"94105","height_in":48,"length_in":48,"mode":"ltl","origin_zip":"90012","pallets":2,"pickup_date":"2026-11-22","weight_lbs_per_pallet":800,"width_in":40}'
# x402 v2 sends the challenge base64-encoded in the PAYMENT-REQUIRED header (v1 sends it in the body).
# To read the header:
curl -sS -g -o /dev/null -D - -X POST 'https://win.oneshotagent.com/v1/tools/lookup/market-freight-rate' \
-H 'content-type: application/json' \
--data-raw '{"destination_zip":"94105","height_in":48,"length_in":48,"mode":"ltl","origin_zip":"90012","pallets":2,"pickup_date":"2026-11-22","weight_lbs_per_pallet":800,"width_in":40}' \
| grep -i '^payment-required:' | cut -d' ' -f2 | tr -d '\r' | base64 --decodeJavaScript: pay and call
// npm i @x402/fetch @x402/evm viem
import { wrapFetchWithPayment, x402Client } from "@x402/fetch";
import { registerExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";
// Pays at most $0.01 per call.
const client = new x402Client().setSpendControls({ maxAmountPerPayment: "$0.01" });
registerExactEvmScheme(client, { signer: privateKeyToAccount(process.env.EVM_PRIVATE_KEY) });
const pay = wrapFetchWithPayment(fetch, client);
// Not sure it's safe to pay? ToolVet checks it first for $0.005. Pay for that from a separate
// client: this one is capped at $0.01 per payment. GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fwin.oneshotagent.com%2Fv1%2Ftools%2Flookup%2Fmarket-freight-rate&method=POST
const res = await pay("https://win.oneshotagent.com/v1/tools/lookup/market-freight-rate", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({
"destination_zip": "94105",
"height_in": 48,
"length_in": 48,
"mode": "ltl",
"origin_zip": "90012",
"pallets": 2,
"pickup_date": "2026-11-22",
"weight_lbs_per_pallet": 800,
"width_in": 40
}),
});
console.log(res.status, await res.text());Python: pay and call
# pip install "x402[requests,evm]"
import os
from eth_account import Account
from x402 import x402ClientSync
from x402.http.clients import x402_requests
from x402.mechanisms.evm import EthAccountSigner
from x402.mechanisms.evm.exact.register import register_exact_evm_client
# Pays at most $0.01 per call.
client = x402ClientSync().set_spend_controls({"max_amount_per_payment": "$0.01"})
register_exact_evm_client(client, EthAccountSigner(Account.from_key(os.environ["EVM_PRIVATE_KEY"])))
with x402_requests(client) as session:
res = session.post(
"https://win.oneshotagent.com/v1/tools/lookup/market-freight-rate",
json={
"destination_zip": "94105",
"height_in": 48,
"length_in": 48,
"mode": "ltl",
"origin_zip": "90012",
"pallets": 2,
"pickup_date": "2026-11-22",
"weight_lbs_per_pallet": 800,
"width_in": 40,
},
)
print(res.status_code, res.text)Security scan
No findings
We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.
Recent checks
| When | Result | HTTP | Time | Price |
|---|---|---|---|---|
| 6 h ago | Expected HTTP 402, got 400 | 400 | 217 ms | - |
| 17 h ago | Expected HTTP 402, got 400 | 400 | 195 ms | - |
| 28 h ago | Expected HTTP 402, got 400 | 400 | 218 ms | - |
| 39 h ago | Expected HTTP 402, got 400 | 400 | 252 ms | - |
| 2 days ago | Expected HTTP 402, got 400 | 400 | 188 ms | - |
Show 10 older checks
| 3 days ago | Expected HTTP 402, got 400 | 400 | 306 ms | - |
| 3 days ago | Expected HTTP 402, got 400 | 400 | 193 ms | - |
| 5 days ago | Timed out | - | - | - |
| 6 days ago | Expected HTTP 402, got 400 | 400 | 214 ms | - |
| 7 days ago | Expected HTTP 402, got 400 | 400 | 180 ms | - |
| 7 days ago | Expected HTTP 402, got 400 | 400 | 225 ms | - |
| 8 days ago | Expected HTTP 402, got 400 | 400 | 204 ms | - |
| 8 days ago | Expected HTTP 402, got 400 | 400 | 215 ms | - |
| 9 days ago | Expected HTTP 402, got 400 | 400 | 144 ms | - |
| 9 days ago | Expected HTTP 402, got 400 | 400 | 156 ms | - |