Skip to content

Get historical location scores

Request

Retrieves LPS values from the nightly score snapshots for the requested dates, averaged over the matched locations or broken down per location.

Bodyapplication/jsonrequired
datesArray of strings, (date)required

Snapshot dates to return scores for

Example:"[\"2026-07-20\", \"2026-07-27\"]"
groupBystringrequired

DATE returns one averaged entry per date; LOCATION_AND_DATE returns one entry per location and date (requires locationIds)

Enum:"DATE""LOCATION_AND_DATE"
locationIdsArray of integers or null, (int64)

List of location IDs to include

businessIdsArray of integers or null, (int64)

List of business IDs to include

locationGroupIdsArray of integers or null, (int64)

List of location group IDs to include

labelsArray of strings or null

List of labels to include

Example:"[\"premium\", \"flagship\"]"
excludedLocationIdsArray of integers or null, (int64)

List of location IDs to exclude

excludedBusinessIdsArray of integers or null, (int64)

List of business IDs to exclude

excludedLocationGroupIdsArray of integers or null, (int64)

List of location group IDs to exclude

excludedLabelsArray of strings or null

List of labels to exclude

filterCategorystring or null

Filter strategy to apply: location-groups, labels, business, or location

Example:"business"
querystring or null

Search query string depending on filter category

curl -i -X POST \
  https://uberall.com/api/home/locations/score/history \
  -H 'Content-Type: application/json' \
  -d '{
    "dates": "[\"2026-07-20\", \"2026-07-27\"]",
    "groupBy": "DATE",
    "locationIds": [
      0
    ],
    "businessIds": [
      0
    ],
    "locationGroupIds": [
      0
    ],
    "labels": "[\"premium\", \"flagship\"]",
    "excludedLocationIds": [
      0
    ],
    "excludedBusinessIds": [
      0
    ],
    "excludedLocationGroupIds": [
      0
    ],
    "excludedLabels": [
      "string"
    ],
    "filterCategory": "business",
    "query": "string"
  }'

Responses

Score history retrieved successfully

Bodyapplication/json
historyArray of objectsrequired

History entries ordered by date

Response
{ "history": [ { … } ] }