Dotlas Data API
API Reference

Get search ranking

GET/brands/{brandSlug}/search-ranking

Returns how a brand ranks in delivery-app search over time for a term, as a daily timeline of median position per source, flagging where the placement was sponsored. Scope it to a neighbourhood, or a city plus neighbourhood, to read local visibility. For the default view (the ranking with no query typed), pass searchQueryType=default and omit searchQuery.

AuthorizationBearer <token>

In: header

Path Parameters

brandSlug*string

Query Parameters

countryCode*string

Value in

  • "ae"
  • "sa"
  • "kw"
  • "qa"
  • "bh"
  • "eg"
  • "jo"
  • "om"
  • "ma"
  • "kz"
  • "iq"
searchQuery?string

The term to chart. Omit for the default view (searchQueryType=default).

city?string
neighbourhood?string
neighbourhoodId?string
source?string
searchQueryType?string

Narrow to one type. Use 'default' for the no-query default view.

Value in

  • "cuisine"
  • "dish"
  • "brand"
  • "default"
searchMode?string

How the ranking was measured: 'free_text' (a typed search) or 'native' (the source's own category). Ignored for the default view.

Value in

  • "free_text"
  • "native"
from?string
Formatdate
to?string
Formatdate
limit?integer
Range1 <= value
cursor?string

Response Body

application/json

curl -X GET "https://example.com/brands/string/search-ranking?countryCode=ae"
{  "data": [    {      "source": "string",      "date": "string",      "rank": 0,      "sponsored": true,      "city": "string",      "neighbourhood": "string",      "neighbourhoodId": "string"    }  ],  "pageInfo": {    "nextCursor": "string",    "hasMore": true  }}