← Back to discover
httpcdpthirdweb
2s.io
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.
Resource URL
https://2s.io/api/trade/locode
Payment options
exactBase (8453)
$0.0025 USDC
Max amount
- Pay to
- 0x2b6D4988Db4723E6908Db86Ab2b8dFBc51FC32C5
- Timeout
- 60s
exactSolana
$0.0025 USDC
Max amount
- Pay to
- TW6ntaGzvj63ZgPjszd4FCGmVTGfzv1MAYZbjYcyWhn
- Timeout
- 60s
For agents
Prompt snippet for AI agents
Find and pay for this x402 resource: URL: https://2s.io/api/trade/locode Type: http Sources: cdp, thirdweb