One page of an exposed dataset, exposed columns only
curl --request GET \
--url https://app.hookie.ai/v1/data/{dataset} \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://app.hookie.ai/v1/data/{dataset}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://app.hookie.ai/v1/data/{dataset}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"dataset": "<string>",
"columns": [
"<string>"
],
"rows": [
{}
],
"total": 123,
"limit": 123,
"offset": 123
}Data API
One page of an exposed dataset, exposed columns only
GET
/
v1
/
data
/
{dataset}
One page of an exposed dataset, exposed columns only
curl --request GET \
--url https://app.hookie.ai/v1/data/{dataset} \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://app.hookie.ai/v1/data/{dataset}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://app.hookie.ai/v1/data/{dataset}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"dataset": "<string>",
"columns": [
"<string>"
],
"rows": [
{}
],
"total": 123,
"limit": 123,
"offset": 123
}Authorizations
A project Data API key (hdk_…), created in the project's Settings → Data API.
Path Parameters
Query Parameters
Required range:
1 <= x <= 1000Required range:
x >= 0Only records received at or after this ISO 8601 time.
Only records received before this ISO 8601 time.
csv for a UTF-8 CSV (with BOM, formula-safe) instead of JSON; the total is in X-Total-Count.
Available options:
json, csv