Skip to content
HALOWERK

Mobility, Warnings and Local Data

mapped city position fallback

City coordinate lookup returns the nearest mapped city in a chosen country above a minimum population. Use it when an agent needs a reproducible lookup in a world base map.

POST https://ort.halowerk.com/v1/mapped-city-position-fallback

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
countrystringYes
latnumberYes
lonnumberYes
minimumintegerYes
snapshotSee schemaNo
Show full input schema
{
  "type": "object",
  "properties": {
    "country": {
      "type": "string",
      "minLength": 1,
      "maxLength": 150
    },
    "lat": {
      "type": "number",
      "minimum": -90,
      "maximum": 90
    },
    "lon": {
      "type": "number",
      "minimum": -180,
      "maximum": 180
    },
    "minimum": {
      "type": "integer",
      "minimum": 0,
      "maximum": 50000000
    },
    "snapshot": {
      "enum": [
        "2026-11-30"
      ]
    }
  },
  "required": [
    "country",
    "lat",
    "lon",
    "minimum"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "country": "Germany",
  "lat": 50.1,
  "lon": 8.6,
  "minimum": 500000,
  "snapshot": "2026-11-30"
}

Result & documentation

Show published result schema
{
  "type": "object",
  "required": [
    "measured_at",
    "source",
    "data",
    "limitations"
  ],
  "properties": {
    "measured_at": {
      "type": "string"
    },
    "source": {
      "type": "object",
      "required": [
        "reference",
        "retrieved_at"
      ],
      "properties": {
        "reference": {
          "type": "string"
        },
        "retrieved_at": {
          "type": "string"
        }
      }
    },
    "data": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string"
        },
        "estimated_population": {
          "type": "integer"
        },
        "distance_km": {
          "type": "number"
        }
      },
      "required": [
        "name",
        "estimated_population",
        "distance_km"
      ]
    },
    "limitations": {
      "type": "string"
    }
  }
}

Machine-readable documentation of this hub

Source of this page: the published HALOWERK catalog. Updated: 2026-12-05 UTC.

More endpoints in this hub

All endpoints in this hub โ†’