# Data Shared API > Read datasets that PX Data shares with you, over HTTPS, as JSON (or CSV / files where a dataset is configured so). - Base URL: https://api.data.pl-x.de/v1 (production). Each environment also serves this guide and the specification on its own address. - Specification: /openapi.json and /openapi.yaml (OpenAPI 3.1). Human documentation: /docs. - Sign-in: header `X-Api-Key: `. A key reads only the datasets it was granted. Keys and dataset names come from the PX Data team; never put a key into code, logs or prompts. ## Areas All areas share one version prefix: `/v1//…`. - data: `/v1/data` — datasets shared with you (this guide). Specification: /openapi.json. ## One request GET /v1/data?dataset=&paginate=true X-Api-Key: - `metadata=true` describes a dataset (columns and parameters) instead of returning rows. - Dataset parameters (for example `start` and `end` as ISO dates) are passed as query parameters; a required parameter that is missing answers 400. ## Pages Pass `paginate=true`. Each answer has `items`, `columns` and `next_token`. Send `next_token` as `page-token` to get the next page; stop when `next_token` is null. `page-size` sets rows per page (default 1000; up to 1000 for Athena and Timestream, 5000 for the shared PostgreSQL, 10000 for S3). Athena datasets run a query first: the first answer is HTTP 202 with `job_id` and `status: running`. Repeat the request with `job-id=` until the answer is 200, then page as above. `download=true` returns a pre-signed URL of the whole result instead of rows. ## Errors JSON with `error` (from the API, for example "Dataset not found") or `message` (from the gateway, for example "Forbidden" for a missing or unknown key, or a throttling notice). Retry 429 and 5xx with a pause; do not retry 400, 403 or 404. ## Limits Requests are throttled per key (usage plans). One answer is at most about 6 MB; larger results come in pages or as a download.