SearchLive

Trade Locode

Look up or search UN/LOCODE — the United Nations Code for Trade and Transport Locations (~116k locations, all countries).

$0.00115USDC per call · settled on Base · no subscription, no API key

Overview

Look up or search UN/LOCODE — the United Nations Code for Trade and Transport Locations (~116k locations, all countries). Pass `locode` for an exact code (e.g. USNYC or 'US NYC'). Or pass `query` to search location names, optionally filtered by `country` (ISO 3166 alpha-2) and `function` (port, rail, road, airport, postal, multimodal, fixed, border). Each result: locode, name, country, subdivision, transport functions, entry status, IATA code where it differs, and coordinates. UN/LOCODE is the standard location identifier in shipping schedules, EDI messages, and customs documents.

Endpoint

MethodEndpointPriceDescription
GET/v1/marketplace/api/trade-locode$0.00115Invoke Trade Locode (Search) and return the upstream response.

How to call it

Requests are paid per call over the x402 protocol. Call the endpoint, receive a 402 Payment Required quote, then repeat the request with the signed payment header. The SDKs do both steps for you.

# 1. Ask for a quote
curl -i https://api.jarvisclaw.ai/v1/marketplace/api/trade-locode

# 2. Pay it (the SDK signs and retries for you)
curl -H "X-PAYMENT: <signed-payload>" https://api.jarvisclaw.ai/v1/marketplace/api/trade-locode
Open in the marketplace

Docs: Getting started · x402 payments · x402 discovery · All APIs