{"api":{"id":"api_5e8f24695091b20a2f033255","slug":"un-locode-places","name":"UN/LOCODE Places API","description":"The UN/LOCODE list of ports, airports, rail and road terminals and other trade places worldwide, searchable by name or code with country and function filters.","kind":"ready_made","visibility":"public","domain":"raw.githubusercontent.com","source_url":"https://raw.githubusercontent.com/datasets/un-locode/master/data/code-list.csv","category":"travel","record_type":"place","active_version":"1.0","units_per_1k":500,"health":"unknown","auto_repair":false,"last_checked_at":null,"last_run_at":null,"fields_count":9,"created_at":"2026-12-06T04:45:48.408Z","updated_at":"2026-12-06T04:45:48.408Z","runnable":true,"egress":null,"repairs":[],"repairs_total":0,"how":"Runs on a reader we built and maintain by hand for this site.","fields":[{"name":"locode","type":"string","description":"Five-letter UN/LOCODE, for example NLRTM.","required":true,"coverage":1,"example":"AEAAN"},{"name":"country","type":"string","description":"Two-letter country code.","required":false,"coverage":1,"example":"AE"},{"name":"name","type":"string","description":"Place name.","required":false,"coverage":1,"example":"Al Ain"},{"name":"subdivision","type":"string","description":"Subdivision code.","required":false,"coverage":0.4,"example":"RK"},{"name":"functions","type":"array","description":"Functions: port, rail, road, airport, postal, multimodal, fixed, border.","required":false,"coverage":1,"example":["port","rail"]},{"name":"iata","type":"string","description":"IATA code when there is one.","required":false,"coverage":0.2,"example":"QAJ"},{"name":"latitude","type":"number","description":"Latitude in decimal degrees.","required":false,"coverage":0.8,"example":24.0167},{"name":"longitude","type":"number","description":"Longitude in decimal degrees.","required":false,"coverage":0.8,"example":55.55},{"name":"status","type":"string","description":"Status code, such as AI or RL.","required":false,"coverage":1,"example":"AI"}],"inputs":[{"name":"query","type":"string","description":"Place name or code contains this text (not case sensitive, accents ignored).","example":"Rotterdam"},{"name":"country","type":"string","description":"Two-letter country code.","example":"NL"},{"name":"function","type":"string","description":"One of port, rail, road, airport, postal, multimodal, fixed, border.","example":"port"}],"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":true,"properties":{"country":{"description":"Two-letter country code.","type":"string"},"functions":{"description":"Functions: port, rail, road, airport, postal, multimodal, fixed, border.","type":"array"},"iata":{"description":"IATA code when there is one.","type":"string"},"latitude":{"description":"Latitude in decimal degrees.","type":"number"},"locode":{"description":"Five-letter UN/LOCODE, for example NLRTM.","type":"string"},"longitude":{"description":"Longitude in decimal degrees.","type":"number"},"name":{"description":"Place name.","type":"string"},"status":{"description":"Status code, such as AI or RL.","type":"string"},"subdivision":{"description":"Subdivision code.","type":"string"}},"required":["locode"],"title":"UN/LOCODE Places API","type":"object"},"samples":[{"locode":"AEAAN","country":"AE","name":"Al Ain","subdivision":null,"functions":["port","rail","road","airport"],"iata":null,"latitude":24.0167,"longitude":55.55,"status":"AI"},{"locode":"AEABU","country":"AE","name":"Abu al Bukhoosh","subdivision":null,"functions":["port"],"iata":null,"latitude":25.4833,"longitude":53.1333,"status":"RL"},{"locode":"AEAJM","country":"AE","name":"Ajman","subdivision":null,"functions":["port","road"],"iata":"QAJ","latitude":null,"longitude":null,"status":"RL"}],"validation":{"checked_at":"2026-12-06T04:45:48.335Z","field_coverage":{"country":1,"functions":1,"iata":0.33,"latitude":0.67,"locode":1,"longitude":0.67,"name":1,"status":1,"subdivision":0},"fresh_read":false,"identity_unique":true,"issues":["Imported from a hand-built source. Field names and types come from its published schema; no live read was made for this check."],"level":"preview","pages_checked":0,"passed":true,"records_checked":3},"links":{"run":"https://pullrow.dev/v1/apis/api_5e8f24695091b20a2f033255/run","openapi":"https://pullrow.dev/v1/apis/api_5e8f24695091b20a2f033255/openapi.json","contract":"https://pullrow.dev/v1/apis/api_5e8f24695091b20a2f033255/contract.json","page":"https://pullrow.dev/catalog/un-locode-places"},"runs_30d":0,"success_rate_30d":null,"price_per_1k_usd":0.5,"featured":false,"reliability":{"window_days":30,"runs":0,"completed":0,"succeeded":0,"failed":0,"success_rate":null,"last_run_at":null},"demo":{"available":false,"max_records":0,"reason":"Every run of this API costs us money, so it has no free live demo. The sample records on its page show what it returns.","code":"demo_not_available"},"meta":{"limitations":["Reads a copy of the UNECE list published as an open dataset on DataHub; credit UNECE.","The list is updated about twice a year; recent changes may be missing.","Coordinates are often empty and only given to the minute; IATA code only exists for some airports.","Each run downloads the whole list (about 7 MB) before filtering, so a run takes a few seconds."]},"plain":{"summary":null,"source":"rules","fields":[{"name":"locode","label":"Locode","description":"Five-letter UN/LOCODE, for example NLRTM.","group":"Basics","shown":true,"written":false},{"name":"country","label":"Two-letter country code","description":"","group":"Location","shown":true,"written":false},{"name":"name","label":"Place name","description":"","group":"Basics","shown":true,"written":false},{"name":"subdivision","label":"Subdivision code","description":"","group":"Basics","shown":true,"written":false},{"name":"functions","label":"Functions","description":"Functions: port, rail, road, airport, postal, multimodal, fixed, border.","group":"Basics","shown":true,"written":false},{"name":"iata","label":"Iata","description":"IATA code when there is one.","group":"Basics","shown":true,"written":false},{"name":"latitude","label":"Latitude","description":"Latitude of the place, for a map.","group":"Location","shown":true,"written":false},{"name":"longitude","label":"Longitude","description":"Longitude of the place, for a map.","group":"Location","shown":true,"written":false},{"name":"status","label":"Status","description":"Status code, such as AI or RL.","group":"Basics","shown":true,"written":false}],"inputs":[{"name":"query","label":"Query","help":"Place name or code contains this text (not case sensitive, accents ignored).","example":"Rotterdam","written":false},{"name":"country","label":"Country","help":"Two-letter country code.","example":"NL","written":false},{"name":"function","label":"Function","help":"One of port, rail, road, airport, postal, multimodal, fixed, border.","example":"port","written":false}]}},"incidents":[]}