Look up a UN/LOCODE
GET/v1/un-locode
Returns the details of a single UN/LOCODE location — country and location names, the code's parts, and coordinates where the source provides them.
The code parameter is case-insensitive: DKAAR, dkaar, and DkAar all return the same record.
Request
Responses
- 200
- 400
- 403
- 429
The UN/LOCODE record.
Bad request — the code parameter is missing, or no record exists for the given code.
Forbidden — the x-api-key header is missing or the key is not valid.
Too many requests — the usage plan throttle (10 requests/second, burst 2) was exceeded. Back off and retry.