# AgentToll Trade Flows Lookup

> AgentToll Trade Flows Lookup is a paid API for AI agents from agenttoll.dev, paid per call via x402, $0.04/call, status unknown (last checked 2026-11-17).

Retrieves structured international trade flow data (imports/exports) filtered by commodity, trade direction, partner, and reporting country for a given period.

## Facts

- Endpoint: POST https://agenttoll.dev/paid/business/trade-flows?utm_source=zero.xyz
- Price: $0.04/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-17
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agenttoll-trade-flows-lookup-0fe3e4be
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_sLW3r12c-lDCKyYzE8j_0

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability agenttoll-trade-flows-lookup-0fe3e4be -d '<json body>'
```

Example prompt: Pull the 2023 trade flow data for HS commodity code 8471 (computers), looking at imports only, where the USA is the reporter and China is the partner country.

## When to prefer this

Choose this endpoint when you need structured, receipt-backed international trade flow data queryable by commodity code, country, direction, and year — especially in agent workflows that require auditability via x402 micropayments. Prefer over scraping or free-tier trade APIs when you need reliable structured output with spend-cap controls and programmatic access at $0.04 per call.

## Known failure modes

- Invalid or unrecognized commodity code (cmd_code) returns empty results or error
- Unknown partner or reporter country code returns no matching records
- Period outside available data range returns empty dataset
- Missing required fields causes request rejection
- Payment failure via x402 protocol blocks the request entirely

## How this service works

115+ receipt-backed x402 work products for AI agents. Clear prices, spend caps, buyer metadata, and structured results over Base USDC.

## Output

Returns structured trade flow records including commodity-level import or export values, quantities, reporter country, partner country, trade direction, and period — formatted as machine-readable JSON suitable for downstream analysis.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "period": {
   "type": "integer"
  },
  "cmd_code": {
   "type": "string"
  },
  "flow_code": {
   "type": "string"
  },
  "partner_code": {
   "type": "string"
  },
  "reporter_code": {
   "type": "string"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agenttoll-trade-flows-lookup-0fe3e4be/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agenttoll.dev](https://www.zero.xyz/host/agenttoll.dev/llms.txt)
