ViewsView Data

View Data

Query data from a specific view with date filtering

curl -X GET "https://api.nexus.usehardal.com/analytics/views/John Doe/data?timeframe=today&startDate=example_string&endDate=example_string&timezone=example_string&limit=100&offset=0" \
  -H "Content-Type: application/json" \
  -H "Authorization: YOUR_API_KEY"
{}
GET
/analytics/views/{name}/data
GET
Base URLstring

Target server for requests. Edit to use your own host.

API Key (header: Authorization)
Authorizationstring
Required

API key (sent in header)

query
timeframestring

Preset timeframe. Use custom with startDate and endDate, or omit when startDate/endDate are provided.

Options: today, yesterday, last7days, last30days, custom
query
startDatestring

Start date (YYYY-MM-DD)

query
endDatestring

End date (YYYY-MM-DD)

query
timezonestring

Timezone for date filtering (default: Europe/Istanbul)

query
limitstring
Required

Limit number of rows returned

Min: 1 • Max: 1000
query
offsetstring
Required

Offset for pagination

Min: 0 • Max: 1000
Request Preview
Response

Response will appear here after sending the request

Authentication

header
Authorizationstring
Required

API Key for authentication. Provide your API key in the header.

Path Parameters

Query Parameters

timeframestring

Preset timeframe. Use custom with startDate and endDate, or omit when startDate/endDate are provided.

Allowed values:todayyesterdaylast7dayslast30dayscustom
startDatestring

Start date (YYYY-MM-DD)

endDatestring

End date (YYYY-MM-DD)

timezonestring

Timezone for date filtering (default: Europe/Istanbul)

limitstring
Required

Limit number of rows returned

offsetstring
Required

Offset for pagination

Responses

200 response