Resolves a UN/LOCODE against a supplied official code-list record
Resolves a UN/LOCODE against a supplied official code-list record. Missing facts are returned as null and named in unavailable_fields where applicable. Derived values disclose their method; source-backed values disclose source, time window and age.
Answeringour last check, 2026-09-24
1 of 1checks answered this week
893 msmedian answer time
$0.003listed price per call
$0.003price it asked us
Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.
Endpoint
POST https://fracht.halowerk.com/v1/locode-resolve
| Category | Code and developer |
|---|---|
| Provider host | fracht.halowerk.com |
| Networks | eip155:8453 |
| Payment schemes | exact |
| Self-reported calls, 30 days | 2 from 2 payers (the provider's figure, not ours) |
Our checks, last 30 days
| Day | Result | HTTP | Asked | Time |
|---|---|---|---|---|
| 2026-09-24 | valid payment request | 402 | $0.003 | 893 ms |
Example input (from the provider)
{
"body": {
"locode": "DEHAM",
"records": [
{
"coordinates": "5333N 01000E",
"functions": "12345---",
"locode": "DEHAM",
"name": "Hamburg",
"subdivision": "HH"
}
],
"source": {
"published_at": "2026-07-01T00:00:00Z",
"title": "UN/LOCODE",
"url": "https://unece.org/trade/uncefact/unlocode"
}
},
"bodyType": "json",
"method": "POST",
"type": "http"
}
Promised output schema (from the provider)
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"body": {
"additionalProperties": false,
"properties": {
"locode": {
"pattern": "^[A-Za-z]{2}[A-Za-z0-9]{3}$",
"type": "string"
},
"records": {
"items": {
"additionalProperties": false,
"properties": {
"coordinates": {
"description": "",
"maxLength": 20,
"minLength": 0,
"type": "string"
},
"functions": {
"description": "",
"maxLength": 20,
"minLength": 0,
"type": "string"
},
"locode": {
"description": "",
"maxLength": 5,
"minLength": 5,
"type": "string"
},
"name": {
"description": "",
"maxLength": 512,
"minLength": 1,
"type": "string"
},
"subdivision": {
"description": "",
"maxLength": 20,
"minLength": 0,
"type": "string"
}
},
"required": [
"locode",
"name",
"subdivision",
"functions",
"coordinates"
],
"type": "object"
},
"maxItems": 10000,
"type": "array"
},
"source": {
"additionalProperties": false,
"properties": {
"published_at": {
"format": "date-time",
"type": "string"
},
"title": {
"description": "",
"maxLength": 300,
"minLength": 3,
"type": "string"
},
"url": {
"format": "uri",
"type": "string"
}
},
"required": [
"url",
"published_at",
"title"
],
"type": "object"
}
},
"required": [
"locode",
"records",
"source"
],
"type": "object"
},
"bodyType": {
"enum": [
"json",
"form-data",
"text"
],
"type": "string"
},
"method": {
"enum": [
"POST",
"PUT",
"PATCH"
],
"type": "string"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method",
"bodyType",
"body"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}