Fetch chart data
GET
https://api.datawrapper.de/v3/charts/{id}/data Request the data of a chart, which is usually a CSV. Requires scope chart:read.
Example Request
curl --request GET \
--url https://api.datawrapper.de/v3/charts/example-id/data \
--header 'Accept: text/csv' \
--header 'Authorization: Bearer <YOUR_TOKEN_HERE>'Headers
| Name | Value | Required | Description |
|---|---|---|---|
Accept | text/csvor application/json | No | The format to return the response in. |
Path Parameters
| Name | Type | Allowed values | Required | Description |
|---|---|---|---|---|
id | string | 5 characters | Yes |