POST https://api.zoined.com/v2/query/stream
Retrieve stream data in JSON format (flat array with one element per group).
Security
bearerAuth
- Mock serverhttps://zapi-api.zoined.com/_mock/v2/query/stream
- https://api.zoined.comhttps://api.zoined.com/v2/query/stream
curl -i -X POST \
https://zapi-api.zoined.com/_mock/v2/query/stream \
-H 'Authorization: Bearer <YOUR_token_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"context": {
"locale": "en",
"currency": "EUR"
},
"query": {
"grouping": [
"day",
"store"
],
"metrics": [
"sales",
"sales_margin"
],
"filters": {},
"seriesType": "actual",
"sort": [
"day"
],
"limit": 1000,
"offset": 0,
"label": "forecast",
"fillTimeSeries": true
}
}'Response
[ { "dimensions": { … }, "metrics": { … }, "sort": { … } } ]