v1
latestOpenAPI 3.0.12026-07-2433136135.1 KBVisits Reports
Visit Trends Report
Retrieves visitations for a given list of entities in daily, weekly or monthly granularity.<br/><br/> <strong>⇡ This service supports bulk request</strong><br/><br/> <strong> ✽ This service supports chain level requests</strong><br/><br/> ⏱ <strong>Average measured processing time: 3.58 seconds </strong><br><br> <strong>📍 This service doesn't support custom POI. To pull visits trend for custom POI please use <a href="https://docs.placer.ai/reference/post_v1-reports-visit-trends-single">Visit Trends Report for a Single Property </a> endpoint. </strong><br/><br/> For more information on request retries best practices and processing measurements you may visit <a href="https://docs.placer.ai/reference/measurements"> this</a> page
post/v1/reports/visit-trends
Request body
Example request
{
"startDate": "2020-12-01",
"endDate": "2021-05-31",
"apiIds": [
"venue:7d55054520e387813d764b03"
],
"granularity": "month",
"filters": {
"daysOfWeek": [
6,
7
],
"distance": {
"from": "home",
"values": {
"lt": 250,
"gt": 10
}
}
},
"visitDurationSegmentation": "10MinOrLonger"
}Response
200 response
Example response
{
"requestId": "cfe57f50-fb64-11eb-8760-acde48001122:cfe56fce-fb64-11eb-8760-acde48001122",
"items": [
{
"apiId": "venue:7d55054520e387813d764b03",
"data": {
"dates": [
"2020-12-01",
"2021-01-01",
"2021-02-01",
"2021-03-01",
"2021-04-01",
"2021-05-01"
],
"granularity": "month",
"visits": [
68293,
67661,
60130,
79550,
79292,
78276
],
"panelVisits": [
1856,
1962,
1745,
2145,
1996,
1842
],
"visitDurationSegmentation": "10MinOrLonger"
}
}
]
}