Skip to content
Eden Engine

World Population Prospects Location List with Ids and ISO Codes (UN Population Division)

unpopulationdataportal/locations

The locations (countries, areas and regions) covered by the United Nations World Population Prospects, as listed by the UN Population Division's Population Data Portal: for each, the portal's numeric location id, name, ISO alpha-3 and alpha-2 codes, longitude and latitude. Paged: give a page size, and a page number for later pages; the answer reports the total, the page count and the addresses of the neighbouring pages. A page number past the last page is refused as a validation error. Data from the United Nations Department of Economic and Social Affairs, Population Division, passed through unmodified and served by Eden Engine; not an official United Nations product.

activeper callv1

Price

$0.0026 per call

You pay the price shown. If a call turns out to cost more than its quote, you pay the actual price, capped at twice the quote. No monthly minimum. Top-ups start at $5.00.

Data source

UN Department of Economic and Social Affairs, Population Division

Source: United Nations, Department of Economic and Social Affairs, Population Division. World Population Prospects (UN Population Data Portal, https://population.un.org/wpp/), licensed under Creative Commons license CC BY 3.0 IGO (https://creativecommons.org/licenses/by/3.0/igo/). Passed through unmodified. Served by Eden Engine; not an official United Nations product, and no endorsement by the United Nations is implied.

Use it

Your AI assistant does the work: it finds this tool, shows you the price first, runs it, and you are charged when the run finishes. There is nothing to set up for this tool in particular.

Connect once and your AI can find and run this tool, and any other it needs.

For developers: the calls your assistant makes
agent
// 1. search: find the tool
omnial_search({ query: "what you need" })

// 2. inspect: price and input schema
omnial_inspect({ tool: "unpopulationdataportal/locations" })

// 3. learn: read the usage guide at runtime
omnial_learn({ tool: "unpopulationdataportal/locations" })

// 4. run: price the exact call first, then run it
omnial_execute({ tool: "unpopulationdataportal/locations", input: { /* see input_schema */ }, dry_run: true })
omnial_execute({ tool: "unpopulationdataportal/locations", input: { /* ... */ } })

// 5. settle: the call is charged when it finishes, nothing to do

Not connected yet? Point your MCP client at https://mcp.eden-engine.com/mcp, then copy a config for your client.

Pricing

Every charge this tool can incur.

ChargePrice
Per call
$0.0026
Updated
Oct 27, 2026

Input and output schemas

Input schema
input_schema.json
{
  "type": "object",
  "required": [
    "pageSize"
  ],
  "properties": {
    "pageSize": {
      "type": "integer",
      "maximum": 100,
      "minimum": 1,
      "description": "How many locations to return on a page, 1 to 100. The list holds about 300."
    },
    "pageNumber": {
      "type": "integer",
      "minimum": 1,
      "description": "Which page to return, counting from 1. Leave out for the first page."
    }
  },
  "additionalProperties": false
}
Output schema
output_schema.json
{
  "type": "object",
  "required": [
    "pageNumber",
    "pageSize",
    "pages",
    "total",
    "data"
  ],
  "properties": {
    "data": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "description": "The Data Portal's location id."
          },
          "iso2": {
            "type": "string",
            "description": "ISO 3166 alpha-2 code."
          },
          "iso3": {
            "type": "string",
            "description": "ISO 3166 alpha-3 code."
          },
          "name": {
            "type": "string"
          },
          "latitude": {
            "type": "number"
          },
          "longitude": {
            "type": "number"
          }
        },
        "additionalProperties": true
      },
      "description": "The locations on this page."
    },
    "pages": {
      "type": "integer",
      "description": "The number of pages at this page size."
    },
    "total": {
      "type": "integer",
      "description": "The number of locations in all."
    },
    "nextPage": {
      "type": [
        "string",
        "null"
      ],
      "description": "Full address of the next page, or null on the last page."
    },
    "pageSize": {
      "type": "integer",
      "description": "The page size used."
    },
    "pageNumber": {
      "type": "integer",
      "description": "The page returned, counting from 1."
    },
    "previousPage": {
      "type": [
        "string",
        "null"
      ],
      "description": "Full address of the previous page, or null on the first page."
    }
  },
  "description": "The Data Portal's paged envelope: the page position, the totals, links to the neighbouring pages and the locations on this page.",
  "additionalProperties": true
}