Utilities
Locate a City (Colombia)
Resolve a Colombian city name to its 8-digit DANE municipal code and validated postal code — required for all Colombian carriers (Coordinadora, ServiEntrega, TCC, etc.).
When to use: Call this endpoint before /ship/rate or /ship/generate when shipping within Colombia. Colombian carriers require the DANE code in the city field of origin and destination addresses, not the human-readable city name.
Key behaviors:
- Full-text search against the official DANE municipality catalog
- Returns the DANE code (city), normalized name (name), and department code (state)
- No authentication required
- Colombia only (country: "CO")
post/locate
Request body
Example request
{
"city": "Soledad",
"state": "AT",
"country": "CO"
}Response
City resolved successfully
Example response
{
"city": "08758000",
"name": "SOLEDAD",
"state": "AT"
}