v1

latestOpenAPI 3.0.1Licensed under Uberall2026-08-0629353914.0 MB
Homepage

Get location rankings via GET

Retrieves a paginated ranking of locations based on their scores, using query parameters for filter criteria.

get/home/locations/ranks

Query parameters

locationIdsstring nullable

Comma-separated location IDs to filter by

businessIdsstring nullable

Comma-separated business IDs to filter by

locationGroupIdsstring nullable

Comma-separated location group IDs to filter by

labelsstring nullable

Comma-separated labels to filter by

sortstring required

Sort direction (asc or desc)

pageinteger required

Page number (zero-based)

pageSizeinteger required

Number of results per page

scoreMininteger required

Minimum score filter (inclusive)

scoreMaxinteger required

Maximum score filter (inclusive)

normalisedScoreMininteger nullable

Minimum normalised score filter (inclusive). When set, results are ordered by normalised score.

normalisedScoreMaxinteger nullable

Maximum normalised score filter (inclusive). When set, results are ordered by normalised score.

excludedLocationIdsstring nullable

Comma-separated location IDs to exclude

excludedBusinessIdsstring nullable

Comma-separated business IDs to exclude

excludedLocationGroupIdsstring nullable

Comma-separated location group IDs to exclude

excludedLabelsstring nullable

Comma-separated labels to exclude

filterCategorystring nullable

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

querystring nullable

Search query string depending on filter category

Response

Successfully retrieved location rankings

pageinteger

Current page number

pageSizeinteger

Number of items per page

sizeinteger

Number of items in the current page

totalCountinteger

Total number of ranked locations

Example response

{
  "ranks": [
    {
      "locationId": 98765,
      "identifier": "LOC-001",
      "name": "Main Street Store",
      "address": "123 Main St, Berlin",
      "score": 85,
      "normalisedScore": 85
    }
  ],
  "pageSize": 10,
  "size": 10,
  "totalCount": 150
}