Skip to content
HALOWERK

Data Conversion and Public Data

urban pair size reversal

City size crossover identifies the first observed change of population leader between two named cities. Use it when an agent needs cartographic settlement roles.

POST https://daten.halowerk.com/v1/urban-pair-size-reversal

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
querystringYes
otherstringYes
snapshotSee schemaNo
Show full input schema
{
  "type": "object",
  "properties": {
    "query": {
      "type": "string",
      "minLength": 1,
      "maxLength": 150
    },
    "other": {
      "type": "string",
      "minLength": 1,
      "maxLength": 150
    },
    "snapshot": {
      "enum": [
        "5.1.2"
      ]
    }
  },
  "required": [
    "query",
    "other"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "query": "Tokyo",
  "other": "New York City",
  "snapshot": "5.1.2"
}

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": {
        "first_leader": {
          "type": "string"
        },
        "changed_by": {
          "type": [
            "integer",
            "null"
          ]
        },
        "new_leader": {
          "type": [
            "string",
            "null"
          ]
        }
      },
      "required": [
        "first_leader",
        "changed_by",
        "new_leader"
      ]
    },
    "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 โ†’