---
title: "Get data"
method: GET
path: "/data/{flow}/{key}/{provider}"
tags: ["Data queries"]
---

# Get data

`GET /data/{flow}/{key}/{provider}`

## Request

- Base URL: `https://sdw-wsrest.ecb.europa.eu/service`
- URL: `https://sdw-wsrest.ecb.europa.eu/service/data/{flow}/{key}/{provider}`
- Auth: none declared
- TypeScript: <https://skmtc.dev/oecd/apis/sdmx-restful-api-v1-5-0/docs/data/:flow/:key/:provider/get.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `flow` string, required
- `key` string, required
- `provider` string, required

## Query parameters

- `startPeriod` string
- `endPeriod` string
- `updatedAfter` string, date-time
- `firstNObservations` integer
- `lastNObservations` integer
- `dimensionAtObservation` string
- `detail` 'full' | 'dataonly' | 'serieskeysonly' | 'nodata'
- `includeHistory` boolean

## Headers

- `Accept-Encoding` 'br' | 'compress' | 'deflate' | 'exi' | 'gzip' | 'identity' | 'pack200-gzip' | 'zstd'
- `Accept-Language` string
- `If-Modified-Since` string, date-time

## Response `200`

OK

- string

## Other responses

- `304`: No changes
- `400`: Bad syntax
- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not found
- `406`: Not acceptable
- `413`: Request entity too large
- `414`: URI too long
- `500`: Internal server error
- `501`: Not implemented
- `503`: Service unavailable

---

[API](https://skmtc.dev/oecd/apis/sdmx-restful-api-v1-5-0.md) - [All operations](https://skmtc.dev/oecd/apis/sdmx-restful-api-v1-5-0/llms.txt) - [OpenAPI document](https://skmtc.dev/oecd/apis/sdmx-restful-api-v1-5-0/revisions/328bd4a98bba?raw)
