# EU Population Data (Eurostat)

> EU Population Data (Eurostat) is a paid API for AI agents from api.vextorium.com, paid per call via x402, $0.003/call, status unknown (last checked 2026-10-15).

Returns a ranked list of European country populations on 1 January or the annual growth evolution for a specific country, sourced from official Eurostat data.

## Facts

- Endpoint: POST https://api.vextorium.com/v1/eu-population?utm_source=zero.xyz
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/eu-population-data-eurostat-526e9ceb
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_lzsD2ZNffin0D77LiShws

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability eu-population-data-eurostat-526e9ceb -d '<json body>'
```

Example prompt: Give me a full ranking of all European countries by population as of 1 January 2025, using official Eurostat data.

## When to prefer this

Use this endpoint when you need authoritative, official European population figures sourced directly from Eurostat, either for a cross-country ranking or for tracking a single country's population trend over time. It is the best choice for EU/EEA demographic research, policy analysis, or data journalism tasks requiring citable official statistics. Prefer this over generic data APIs when Eurostat provenance and CC BY 4.0 licensing are required.

## Known failure modes

- Invalid or unsupported ISO country code returns empty or error response
- Requesting years beyond available Eurostat data range may return null or incomplete entries
- Missing required 'type', 'method', or 'bodyType' fields in the input wrapper causes request rejection
- Eurostat upstream data delay may result in stale or missing current-year data

## How this service works

Population on 1 January of every European country (ranking) or the evolution of one with annual growth. Official Eurostat data.

## Output

Returns a JSON object with a source citation (Eurostat), an updated timestamp, and a ranking array where each entry contains the country name, ISO country code, reference period (year), and number of inhabitants as an integer. When a specific country and years are provided, the array shows annual population figures over the requested period instead of a cross-country ranking.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "years": {
   "type": "integer"
  },
  "country": {
   "type": "string",
   "description": "ISO code (ES, DE, FR...), EU, EA or omit for a ranking of all countries"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "source": "Eurostat (demo_pjan, CC BY 4.0)",
  "ranking": [
   {
    "name": "Turkey",
    "period": "2025",
    "country": "TR",
    "inhabitants": 85664944
   },
   {
    "name": "Germany",
    "period": "2025",
    "country": "DE",
    "inhabitants": 83577140
   }
  ],
  "updated": "2026-09-25T23:00:00+0200"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/eu-population-data-eurostat-526e9ceb/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.vextorium.com](https://www.zero.xyz/host/api.vextorium.com/llms.txt)
