Notes
- Free and keyless.
- New endpoints appear with each data publication: list the current datasets with datasets.list (pass show-reference-ids to get the distribution ids the datastore calls take), then query a dataset by its id and distribution index.
- Page datastore.query with limit and offset. datastore.sql caps a request at 500 records: page it with [LIMIT 500 OFFSET n].
- Responses are JSON by default; CSV is available with format=csv. Under high load queries may get 503 with Retry-After: drop conditions, sorts and offsets, or wait.
Endpoints
List datasets
Get a dataset
Search datasets
Query a dataset’s records
- A read over POST: the body is a query, nothing is changed.
Query the datastore with SQL
- FROM takes a distribution id, not a dataset id: get it from datasets.list with show-reference-ids.