Dataset Records Query
Dataset Records Query is an example object payload from Opendatasoft, with 2 top-level fields. It illustrates the shape of data this provider's APIs accept or return.
Top-level fields
Example Payload
{
"request": {
"method": "GET",
"url": "https://{domain}/api/explore/v2.1/catalog/datasets/{dataset_id}/records",
"parameters": {
"where": "country_code='US' AND population > 100000",
"limit": 20,
"offset": 0,
"order_by": "population desc",
"select": "name, country_code, population, coordinates",
"lang": "en",
"timezone": "America/New_York"
}
},
"response": {
"total_count": 311,
"results": [
{
"record_id": "b5c7f8a2e3d1",
"timestamp": "2023-06-01T00:00:00Z",
"size": 42,
"fields": {
"name": "New York City",
"country_code": "US",
"population": 8336817,
"coordinates": {
"lon": -74.006,
"lat": 40.7128
}
},
"geometry": {
"type": "Point",
"coordinates": [
-74.006,
40.7128
]
},
"links": []
},
{
"record_id": "c4d6e9b1a2f0",
"timestamp": "2023-06-01T00:00:00Z",
"size": 40,
"fields": {
"name": "Los Angeles",
"country_code": "US",
"population": 3979576,
"coordinates": {
"lon": -118.2437,
"lat": 34.0522
}
},
"geometry": {
"type": "Point",
"coordinates": [
-118.2437,
34.0522
]
},
"links": []
}
],
"links": [
{
"href": "/api/explore/v2.1/catalog/datasets/geonames-all-cities/records?limit=20&offset=20",
"rel": "next"
}
]
}
}
Work with this as data
Every example here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for examples
4 MCP tools reach this
find_examplesBrowse and filter every example in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
curl "https://apis.io/api/v1/examples/dataset-records-query"
curl "https://apis.io/api/v1/examples?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.