{"slug":"fracht-halowerk-com-v1-locode-resolve-97213c","title":"Resolves a UN/LOCODE against a supplied official code-list record","host":"fracht.halowerk.com","method":"POST","resource":"https://fracht.halowerk.com/v1/locode-resolve","category":"code","description":"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.","price_listed":0.003,"price_asked":0.003,"state":"answering","state_label":"Answering","checks_7d":1,"answered_7d":1,"latency_ms_median":893,"reported_calls_30d":2,"reported_payers_30d":2,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"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"},"output_schema":{"$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"},"history":[{"day":"2026-09-24","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":893,"error":null}],"description_full":"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.","last_updated":"2026-09-14T20:02:51.271Z","schemes":["exact"]}