---
updatedAt: 2026-05-07T08:44:49.000Z
agentTools:
  projectIndex: https://docs.placer.ai/llms.txt
---

# Visit Metrics Summary Report

Retrieves visitors and visits for a given list of entities. <br/>This endpoint supports bulk requests up to 100 entities<br/><br/><strong>&#x21e1; This service supports bulk request</strong><br/> When nearbyRadius is set, a report will be generated for the first entity in the array <strong>only</strong>.<br/> <br/> &#x23F1; <strong>Average measured processing time: 10 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/> &#128205; 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<br/><br/>


# OpenAPI definition

```json
{
  "openapi": "3.0.1",
  "info": {
    "title": "papi",
    "description": "Placer Public API",
    "version": "0.1-oas3"
  },
  "servers": [
    {
      "url": "https://papi.placer.ai",
      "x-amazon-apigateway-endpoint-configuration": {
        "disableExecuteApiEndpoint": true
      }
    }
  ],
  "paths": {
    "/v1/reports/visit-metrics": {
      "post": {
        "summary": "Visit Metrics Summary Report",
        "tags": [
          "Visits Reports"
        ],
        "description": "Retrieves visitors and visits for a given list of entities. <br/>This endpoint supports bulk requests up to 100 entities<br/><br/><strong>&#x21e1; This service supports bulk request</strong><br/> When nearbyRadius is set, a report will be generated for the first entity in the array <strong>only</strong>.<br/> <br/> &#x23F1; <strong>Average measured processing time: 10 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/> &#128205; 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<br/><br/>\n",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/VisitMetricsSummaryRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "200 response",
            "headers": {
              "Access-Control-Allow-Origin": {
                "schema": {
                  "type": "string"
                }
              },
              "Access-Control-Allow-Methods": {
                "schema": {
                  "type": "string"
                }
              },
              "Access-Control-Allow-Headers": {
                "schema": {
                  "type": "string"
                }
              },
              "x-api-key": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BulkVisitMetricsSummary"
                }
              }
            }
          },
          "202": {
            "$ref": "#/components/responses/202_bulk"
          },
          "207": {
            "$ref": "#/components/responses/207"
          },
          "400": {
            "$ref": "#/components/responses/400_invalid_argument"
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "500": {
            "$ref": "#/components/responses/500"
          }
        },
        "security": [
          {
            "api_key": []
          }
        ],
        "x-amazon-apigateway-integration": {
          "type": "aws_proxy",
          "httpMethod": "POST",
          "uri": "${reports_lambda}",
          "passthroughBehavior": "when_no_match",
          "timeoutInMillis": 29000
        }
      }
    }
  },
  "components": {
    "schemas": {
      "VisitMetricsSummaryRequest": {
        "title": "Visit Metrics Summary Request",
        "description": "Retrieves visitors and visits for a given list of entities.<br/>This endpoint supports bulk requests up to 100 entities.",
        "allOf": [
          {
            "$ref": "#/components/schemas/BaseBulkReportRequest"
          },
          {
            "type": "object",
            "properties": {
              "includeMetadata": {
                "$ref": "#/components/schemas/IncludeMetadata"
              },
              "filters": {
                "$ref": "#/components/schemas/VmFilterObject"
              },
              "nearbyRadius": {
                "$ref": "#/components/schemas/NearbyRadius"
              }
            }
          }
        ]
      },
      "BaseBulkReportRequest": {
        "required": [
          "startDate",
          "endDate",
          "apiIds"
        ],
        "properties": {
          "startDate": {
            "$ref": "#/components/schemas/StartDate"
          },
          "endDate": {
            "$ref": "#/components/schemas/EndDate"
          },
          "apiIds": {
            "type": "array",
            "minItems": 1,
            "maxItems": 100,
            "items": {
              "$ref": "#/components/schemas/ApiId"
            }
          }
        }
      },
      "InProgressBulkResponse": {
        "title": "In Progress Bulk Response",
        "type": "object",
        "required": [
          "requestId"
        ],
        "properties": {
          "requestId": {
            "$ref": "#/components/schemas/RequestId"
          },
          "items": {
            "type": "array",
            "items": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/ResponseInProgressEntry"
                },
                {
                  "$ref": "#/components/schemas/ResponseInProgressEntry"
                }
              ]
            }
          }
        }
      },
      "MultiStatusResponse": {
        "title": "Multi-status bulk response",
        "type": "object",
        "required": [
          "requestId"
        ],
        "properties": {
          "requestId": {
            "$ref": "#/components/schemas/RequestId"
          },
          "items": {
            "type": "array",
            "items": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/ResponseInProgressEntry"
                },
                {
                  "$ref": "#/components/schemas/ResponseSuccessEntry"
                }
              ]
            }
          }
        }
      },
      "BaseError": {
        "title": "BaseError",
        "type": "object",
        "required": [
          "code",
          "details",
          "message"
        ],
        "properties": {
          "message": {
            "type": "string",
            "description": "Detail error message",
            "example": "Internal server error"
          },
          "details": {
            "type": "string",
            "example": "GENERAL_ERROR",
            "description": "Brief error message"
          },
          "code": {
            "type": "integer",
            "example": 5000,
            "description": "Status Code"
          },
          "requestId": {
            "$ref": "#/components/schemas/RequestId"
          }
        }
      },
      "ErrInvalidArguments": {
        "title": "ErrInvalidArguments",
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/BaseError"
          },
          {
            "type": "object",
            "example": {
              "message": "Invalid apiId format",
              "code": 2002,
              "details": "INVALID_ARGUMENTS",
              "requestId": "cfe57f50-fb64-11eb-8760-acde48001122:cfe56fce-fb64-11eb-8760-acde48001122"
            }
          }
        ]
      },
      "ErrPermissionDenied": {
        "title": "ErrPermissionDenied",
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/BaseError"
          },
          {
            "type": "object",
            "example": {
              "code": 1008,
              "details": "PERMISSION_DENIED",
              "message": "You don't have permission to perform this action",
              "requestId": "cfe57f50-fb64-11eb-8760-acde48001122:cfe56fce-fb64-11eb-8760-acde48001122"
            }
          }
        ]
      },
      "BasePoiInfo": {
        "title": "Base POI Info Object",
        "type": "object",
        "properties": {
          "apiId": {
            "$ref": "#/components/schemas/ApiId"
          },
          "name": {
            "type": "string",
            "example": "Walmart",
            "description": "Entity Name"
          },
          "entityId": {
            "$ref": "#/components/schemas/EntityId"
          },
          "entityType": {
            "$ref": "#/components/schemas/EntityType"
          },
          "categoryInfo": {
            "$ref": "#/components/schemas/categoryInfo"
          }
        }
      },
      "BaseEntityInfo": {
        "title": "POI Entity (complex, venue and billboard only!) Object",
        "allOf": [
          {
            "$ref": "#/components/schemas/BasePoiInfo"
          }
        ],
        "type": "object",
        "properties": {
          "address": {
            "$ref": "#/components/schemas/Address"
          },
          "isFlagged": {
            "type": "boolean",
            "example": false,
            "description": "The Entity Data Is Incomplete"
          },
          "regions": {
            "type": "object",
            "properties": {
              "dma": {
                "type": "object",
                "description": "The Entity Designated Market Area",
                "properties": {
                  "code": {
                    "type": "string",
                    "example": 807
                  },
                  "name": {
                    "type": "string",
                    "example": "San Francisco-Oakland-San Jose, CA"
                  }
                }
              },
              "state": {
                "type": "object",
                "description": "Entity State",
                "properties": {
                  "code": {
                    "type": "string",
                    "example": "CA"
                  },
                  "name": {
                    "type": "string",
                    "example": "California"
                  }
                }
              },
              "cbsa": {
                "type": "object",
                "description": "The Entity Core-Based Statistical Areas",
                "properties": {
                  "code": {
                    "type": "string",
                    "example": "41940"
                  },
                  "name": {
                    "type": "string",
                    "example": "San Jose-Sunnyvale-Santa Clara, CA Metro Area"
                  }
                }
              }
            },
            "description": "The regions in which the property is included"
          }
        }
      },
      "BulkVisitMetricsSummary": {
        "type": "object",
        "properties": {
          "requestId": {
            "type": "string",
            "example": "cfe57f50-fb64-11eb-8760-acde48001122:cfe56fce-fb64-11eb-8760-acde48001122",
            "description": "Request ID that can be used for tracing"
          },
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/VisitMetricsSummaryResponse"
            }
          }
        }
      },
      "VisitMetricsSummaryResponse": {
        "title": "Visit Metrics Summary",
        "allOf": [
          {
            "type": "object",
            "properties": {
              "apiId": {
                "$ref": "#/components/schemas/ApiId"
              },
              "data": {
                "type": "object",
                "properties": {
                  "panelVisitors": {
                    "type": "integer",
                    "example": 5655,
                    "description": "The number of unique devices used for statistical extrapolation"
                  },
                  "panelVisits": {
                    "type": "integer",
                    "example": 11546,
                    "description": "The number of visits observed by Placer and are used for statistical extrapolation"
                  },
                  "visits": {
                    "type": "integer",
                    "description": "Extrapolated number of visits",
                    "example": 433202
                  },
                  "visitors": {
                    "type": "integer",
                    "example": 184092,
                    "description": "Extrapolated unique devices"
                  },
                  "nearbyRadius": {
                    "$ref": "#/components/schemas/NearbyRadius"
                  },
                  "visitDurationSegmentation": {
                    "$ref": "#/components/schemas/VisitDurationSegmentationRespRanking"
                  },
                  "metadata": {
                    "$ref": "#/components/schemas/BaseEntityInfo"
                  }
                }
              }
            }
          }
        ]
      },
      "VisitDurationSegmentationRespRanking": {
        "description": "Represents the requested visit duration segmentation.<br> If the default visit duration segmentation is requested, the visitDurationSegmentation will display the actual segment.<br>\nIn cases where the default segment was requested for a chain, in which the list of entities used different default segments for the report calculation, the visitDurationSegmentation will be set to 'mixedSegments'.",
        "title": "Visit Duration Segmentation",
        "type": "string",
        "nullable": true,
        "enum": [
          "under10Min",
          "10MinOrLonger",
          "allVisits",
          "mixedSegments"
        ],
        "example": "10MinOrLonger"
      },
      "StartDate": {
        "type": "string",
        "format": "date",
        "description": "Queried data start date. Format YYYY-MM-DD",
        "example": "2020-12-01"
      },
      "EndDate": {
        "type": "string",
        "format": "date",
        "description": "Queried data end date. Format YYYY-MM-DD",
        "example": "2021-05-31"
      },
      "ApiId": {
        "type": "string",
        "example": "venue:7d55054520e387813d764b03",
        "description": "Placer API Entity Id"
      },
      "RequestId": {
        "type": "string",
        "example": "a760dc398f68814d2c967e972e2bd438",
        "description": "Request ID that can be used for tracing"
      },
      "EntityId": {
        "type": "string",
        "example": "7d55054520e387813d764b03",
        "description": "Entity ID"
      },
      "EntityType": {
        "type": "string",
        "enum": [
          "venue",
          "complex",
          "chain"
        ],
        "example": "venue",
        "description": "Entity Type (i.e. venue, complex etc.)"
      },
      "categoryInfo": {
        "type": "object",
        "properties": {
          "category": {
            "type": "string",
            "example": "Fast Food & QSR"
          },
          "group": {
            "type": "string",
            "example": "Dining"
          },
          "subCategory": {
            "type": "string",
            "example": "Pizze Place"
          }
        },
        "description": "Property’s categorization"
      },
      "ResponseInProgressEntry": {
        "type": "object",
        "properties": {
          "details": {
            "type": "string",
            "enum": [
              "IN_PROGRESS"
            ],
            "description": "Status String"
          },
          "code": {
            "type": "integer",
            "example": 3005,
            "description": "Status Code"
          },
          "message": {
            "type": "string",
            "example": "Report is being prepared",
            "description": "Status description"
          },
          "apiId": {
            "$ref": "#/components/schemas/ApiId"
          }
        }
      },
      "ResponseSuccessEntry": {
        "type": "object",
        "properties": {
          "status": {
            "type": "string",
            "enum": [
              "SUCCESS"
            ],
            "description": "Status String"
          },
          "code": {
            "type": "integer",
            "example": 0,
            "description": "Status Code"
          },
          "apiId": {
            "$ref": "#/components/schemas/ApiId"
          }
        }
      },
      "BaseVmFilterWithHours": {
        "allOf": [
          {
            "type": "object",
            "properties": {
              "hoursRange": {
                "description": "Filter the report’s results based on visits hours range. The filter is defined by 2 strings:<br/> 1. The starting hour to filter the reports results from (Format HH:MM XM, for example: 08:00 am).<br/> 2. The end hour to filter the reports results(Format HH:MM XM, for example: 11:59 pm) .",
                "type": "object",
                "required": [
                  "fromHour",
                  "toHour"
                ],
                "properties": {
                  "fromHour": {
                    "type": "string"
                  },
                  "toHour": {
                    "type": "string"
                  }
                },
                "example": {
                  "fromHour": "03:00 am",
                  "toHour": "11:59 pm"
                }
              }
            }
          },
          {
            "$ref": "#/components/schemas/BaseVmFilterObject"
          }
        ]
      },
      "BaseVmFilterObject": {
        "description": "Filtering options for the report results.",
        "type": "object",
        "properties": {
          "daysOfWeek": {
            "description": "Filter visit calculation based on days of the week. Results will contain only requested days. Days are represented by using numbers where Monday=1 and Sunday=7. For example: in order to retrieve weekend days use the following [ 6, 7 ].",
            "example": [
              6,
              7
            ],
            "type": "array",
            "items": {
              "enum": [
                1,
                2,
                3,
                4,
                5,
                6,
                7
              ]
            }
          },
          "distance": {
            "description": "Filter visits by distance in miles from home <strong>or</strong> work<br/> where only visits in a given radius will be used in metrics calculation.",
            "example": {
              "from": "home",
              "values": {
                "lt": 250,
                "gt": 10
              }
            },
            "type": "object",
            "properties": {
              "from": {
                "description": "The origin from where the distance will be measured.",
                "type": "string",
                "enum": [
                  "home",
                  "work"
                ],
                "example": "home"
              },
              "values": {
                "description": "Object representation of the distance range<br/>lt - less than<br/>le - less than or equal to<br/>eq - equal to<br/>ge - greater than or equal to<br/>gt - greater than.",
                "example": {
                  "gt": 10,
                  "le": 100
                },
                "type": "object",
                "properties": {
                  "le": {
                    "type": "number"
                  },
                  "ge": {
                    "type": "number"
                  },
                  "lt": {
                    "type": "number"
                  },
                  "gt": {
                    "type": "number"
                  },
                  "eq": {
                    "type": "number"
                  }
                }
              }
            }
          }
        }
      },
      "IncludeMetadata": {
        "type": "boolean",
        "default": true,
        "description": "If the parameter is set to true, the response will also include the POI Info"
      },
      "NearbyRadius": {
        "type": "integer",
        "enum": [
          100,
          250,
          500,
          750,
          1000
        ],
        "description": "The radius requested for nearby activity report generation.</br> <strong>Note</strong>: When a value is populated for this attribute - the report will be calculated as per the <<glossary:Nearby Activity report>> logic."
      },
      "VmFilterObject": {
        "description": "Filtering options for the report results.",
        "allOf": [
          {
            "type": "object",
            "properties": {
              "audienceType": {
                "description": "If provided - metrics will be calculated based only on the specified types of audience.",
                "example": [
                  "visitors"
                ],
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "visitors",
                    "employees",
                    "residents"
                  ]
                }
              },
              "dwellTime": {
                "description": "Metrics will be calculated considering the requested dwell time range.",
                "type": "object",
                "properties": {
                  "operator": {
                    "description": "Less than (<) to Greater Equal (>=)",
                    "type": "string",
                    "enum": [
                      "<",
                      ">="
                    ],
                    "example": "<"
                  },
                  "value": {
                    "description": "The wanted dwell time",
                    "type": "integer",
                    "example": 150
                  }
                }
              }
            }
          },
          {
            "$ref": "#/components/schemas/BaseVmFilterWithHours"
          }
        ]
      },
      "Address": {
        "type": "object",
        "properties": {
          "city": {
            "type": "string",
            "example": "Milpitas",
            "description": "Entity City"
          },
          "state": {
            "type": "string",
            "example": "California",
            "description": "Entity State"
          },
          "countryCode": {
            "type": "string",
            "example": "US",
            "description": "Entity Country Code"
          },
          "streetName": {
            "type": "string",
            "example": "Ranch Dr",
            "description": "Entity Street Name"
          },
          "formattedAddress": {
            "type": "string",
            "example": "301 Ranch Dr, Milpitas, CA, United States",
            "description": "Entity Address"
          },
          "shortFormattedAddress": {
            "type": "string",
            "example": "Ranch Dr, Milpitas, CA",
            "description": "Entity Address"
          },
          "zipCode": {
            "type": "string",
            "example": "95035",
            "description": "Entity Zip Code"
          }
        }
      }
    },
    "securitySchemes": {
      "api_key": {
        "type": "apiKey",
        "name": "x-api-key",
        "in": "header"
      }
    },
    "responses": {
      "207": {
        "description": "207 MultiStatus",
        "headers": {
          "Access-Control-Allow-Origin": {
            "schema": {
              "type": "string"
            }
          },
          "Access-Control-Allow-Methods": {
            "schema": {
              "type": "string"
            }
          },
          "Access-Control-Allow-Headers": {
            "schema": {
              "type": "string"
            }
          }
        },
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/MultiStatusResponse"
            }
          }
        }
      },
      "403": {
        "description": "403 Permission Denied",
        "headers": {
          "Access-Control-Allow-Origin": {
            "schema": {
              "type": "string"
            }
          },
          "Access-Control-Allow-Methods": {
            "schema": {
              "type": "string"
            }
          },
          "Access-Control-Allow-Headers": {
            "schema": {
              "type": "string"
            }
          }
        },
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ErrPermissionDenied"
            }
          }
        }
      },
      "500": {
        "description": "500 Internal Server Error",
        "headers": {
          "Access-Control-Allow-Origin": {
            "schema": {
              "type": "string"
            }
          },
          "Access-Control-Allow-Methods": {
            "schema": {
              "type": "string"
            }
          },
          "Access-Control-Allow-Headers": {
            "schema": {
              "type": "string"
            }
          }
        },
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/BaseError"
            }
          }
        }
      },
      "202_bulk": {
        "description": "202 Accepted",
        "headers": {
          "Access-Control-Allow-Origin": {
            "schema": {
              "type": "string"
            }
          },
          "Access-Control-Allow-Methods": {
            "schema": {
              "type": "string"
            }
          },
          "Access-Control-Allow-Headers": {
            "schema": {
              "type": "string"
            }
          }
        },
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/InProgressBulkResponse"
            }
          }
        }
      },
      "400_invalid_argument": {
        "description": "400 Bad Request",
        "headers": {
          "Access-Control-Allow-Origin": {
            "schema": {
              "type": "string"
            }
          },
          "Access-Control-Allow-Methods": {
            "schema": {
              "type": "string"
            }
          },
          "Access-Control-Allow-Headers": {
            "schema": {
              "type": "string"
            }
          }
        },
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ErrInvalidArguments"
            }
          }
        }
      }
    }
  }
}
```