v1
latestOpenAPI 3.0.12026-07-2433136135.1 KBTrade Area Reports
Trade Area Report
True Trade Areas are calculated by the volume of traffic reaching the venue or complex . For example, setting 'traffic vol' to 70% draws a polygon that represents 70% of the visitors’ home location.<br/> <br/> ⏱ <strong>Average measured processing time: 2.24 seconds </strong><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<br/><br/> 📍 This service supports the <<glossary:Nearby Activity report>>. Once setting a value to the nearbyRadius parameter, the report will be generated based on the nearby activity logic.
post/v1/reports/true-trade-area
Request body
Example request
{
"startDate": "2020-12-01",
"endDate": "2021-05-31",
"apiId": "venue:7d55054520e387813d764b03",
"reportType": "trueTradeArea",
"fileFormat": "polygonGeoJson",
"allocationType": "weightedCentroid",
"filter": {
"audienceType": [
"visitors"
],
"dwellTime": {
"operator": "<",
"value": 150
},
"hoursRange": {
"fromHour": "03:00 am",
"toHour": "11:59 pm"
},
"daysOfWeek": [
6,
7
],
"distance": {
"from": "home",
"values": {
"lt": 250,
"gt": 10
}
}
}
}Response
200 response
Example response
{
"requestId": "cfe57f50-fb64-11eb-8760-acde48001122:cfe56fce-fb64-11eb-8760-acde48001122"
}