Skip to content
HALOWERK

Data Conversion and Public Data

wdi global latest country ranking

World Bank country rankings return the highest or lowest latest observations from the five-year WDI edition. Use it when an agent needs a cross-country ranking with each observation year.

POST https://daten.halowerk.com/v1/wdi-global-latest-country-ranking

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
indicatorstringNo
orderSee schemaNo
limitintegerNo
Show full input schema
{
  "type": "object",
  "properties": {
    "indicator": {
      "type": "string",
      "maxLength": 64,
      "minLength": 1
    },
    "order": {
      "enum": [
        "largest",
        "smallest"
      ]
    },
    "limit": {
      "type": "integer",
      "minimum": 1,
      "maximum": 250
    }
  },
  "required": [],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "indicator": "pib_per_capita_usd",
  "limit": 1,
  "order": "largest"
}

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": {
        "series": {
          "type": "string"
        },
        "countries": {
          "type": "integer"
        },
        "ranking": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "country": {
                "type": "string"
              },
              "name": {
                "type": "string"
              },
              "value": {
                "type": "number"
              },
              "year": {
                "type": "integer"
              },
              "position": {
                "type": "integer"
              }
            },
            "required": [
              "country",
              "name",
              "value",
              "year",
              "position"
            ]
          }
        }
      },
      "required": [
        "series",
        "countries",
        "ranking"
      ]
    },
    "limitations": {
      "type": "string"
    }
  }
}

Machine-readable documentation of this hub

Source of this page: the published HALOWERK catalog. Updated: 2026-11-20 UTC.

More endpoints in this hub

All endpoints in this hub โ†’