81trust / 100

Freight Lookup

by freight-lookup in Search & web

x402 APIPassing, checked 33 min ago

Search US motor carriers by name in the FMCSA Company Census and get ranked candidates, each with its USDOT number, MC docket, legal name, state, decoded carrier status, authority status and operation. Cheap first step before freight/carrier.

GET https://api.agentstools.dev/freight/lookup

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
26 ms typical, 26 ms slowest 5%
Last check
33 min ago
Next check
any minute now

How to call it

# See the payment challenge (nothing is charged)
curl -i -X GET "https://api.agentstools.dev/freight/lookup?name=Waccamaw+Transport&state=NC"
import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

const client = new x402Client().register(
  "eip155:8453",
  new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? Preflight it first for $0.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fapi.agentstools.dev%2Ffreight%2Flookup
const res = await pay("https://api.agentstools.dev/freight/lookup?name=Waccamaw+Transport&state=NC");
console.log(await res.json());

Example input

{
  "name": "Waccamaw Transport",
  "state": "NC"
}

Example output

{
  "attribution": [
    "FMCSA Company Census via the US DOT Socrata SoDA API"
  ],
  "candidates": [
    {
      "authority_status": "active",
      "carrier_status": "active",
      "dot_number": "284477",
      "legal_name": "WACCAMAW TRANSPORT INC",
      "mc_number": "MC-193481",
      "operation": "interstate",
      "state": "NC"
    }
  ],
  "count": 1,
  "query": "WACCAMAW TRANSPORT"
}

Security scan

  • No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
33 min agoPassed40227 ms$0.008
4 h agoPassed40223 ms$0.008
9 h agoPassed40226 ms$0.008