Spiral gives your agent every tool with one account. Browse the tools →

AlexandriaFinanceAvailable now

Eurostat (ec.europa.eu) · Query data

ec-europa-eu/indicators/query_data

Get market and financial data with Eurostat (ec.europa.eu) · Query data from Alexandria through one Spiral API key. Any dataset code from search_datasets once get_dataset has shown its dimensions and codes. For country price level indices or city purchasing power parities the typed wrappers are simpler. It runs in the background and returns structured JSON. Pay as you go, with no subscription.

Pricing

$0.00873 per call.

Limits

Runs
In the background
Returns
json
Longest queue wait
1 hour
Run deadline
5 minutes
Longest run, end to end
225 minutes
Largest inline input
1 MB
Largest input file
2 GB
Largest output
5 GB

Input

FieldKindDefaultDescription
code requiredtext—

Dataset or table code (prc_ppp_ind_1, tec00120, urb_cecfi). Pattern: ^[A-Za-z0-9_]{1,64}$.

langone of
en, fr, de
en

lang

timelist—

Exact periods to keep (2024, 2025-S1, 2026-Q1, 2026-07).

sincetext—

sinceTimePeriod: first period to include. Pattern: ^[0-9]{4}(-(S[12]|Q[1-4]|[0-9]{2}))?$.

untiltext—

untilTimePeriod: last period to include. Pattern: ^[0-9]{4}(-(S[12]|Q[1-4]|[0-9]{2}))?$.

filtersJSON—

Dimension id (as listed by get_dataset, e.g. geo, indic_ppp, ppp_cat18, cities) -> codes to keep. An unknown dimension id is rejected upstream (400) and reported as invalid_input; an unknown code yields not_found.

Same request in code

curl https://api.spiral.ai/v1/runs \
  -H "Authorization: Bearer $SPIRAL_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
    "provider": "alexandria",
    "model": "ec-europa-eu/indicators/query_data",
    "input": {
      "code": "<code>"
    }
  }'

Frequently asked questions

How much does Eurostat (ec.europa.eu) · Query data cost?

$0.00873 per call. You pay as you go from one Spiral balance, with no subscription, and a failed run is not charged.

How do I use Eurostat (ec.europa.eu) · Query data through an API?

Send `POST /v1/runs` with `"provider": "alexandria"`, `"model": "ec-europa-eu/indicators/query_data"` and the input fields on this page, using one Spiral API key. It runs in the background: poll the run, or name a webhook to be told when it finishes.

Do I need an account with Alexandria to use Eurostat (ec.europa.eu) · Query data?

No. Spiral runs it on its own Alexandria account and charges your Spiral balance.

Can my AI agent use Eurostat (ec.europa.eu) · Query data?

Yes. Agents find and run it through Spiral's MCP server, CLI or agent skill, with the same API key.