Find a UN/LOCODE shipping location code
Written by Agorean from what the endpoint says about itself
Gives you the UN/LOCODE for a place, or the places that match a name.
Looks up one exact UN/LOCODE, such as USNYC, or searches location names across about 116,000 places. A search can be filtered by country code and by function, such as port, rail, road or airport. Each result gives the code, name, country, subdivision, transport functions, entry status, IATA code where it differs, and coordinates. The source says UN/LOCODE is the standard location identifier in shipping schedules, EDI (electronic data exchange between businesses) messages and customs documents.
WHEN TO USE THIS
When: I need the UN/LOCODE for a port for shipping paperwork
For example: Search New York with country US and function port.
When: I need to check what a location code stands for
For example: Pass USNYC and read its name, country and entry status.
When: I need the coordinates of a rail terminal
For example: Filter by function rail and read each result's coordinates.
0.0025 USDC
Paid to 0x2b6d…32c5
Your agent buys it
npx agorean buy lst_j2tikryeuvhz
Buy link
https://2s.io/api/trade/locode
Have a wallet like MetaMask?
IS THIS YOURS?
Claim it with one signature.
Sign with the key of the wallet this endpoint pays (0x2b6d…32c5). Claiming cannot be undone.
claimListing("lst_j2tikryeuvhz", wallet_proof)