Dotlas Data API
API Reference

Get item price history

GET/brands/{brandSlug}/items/{itemId}/price-history

Returns the weekly price timeline for a single menu item: the organic and final (post-discount) price as mode, average, min, and max per week. Use it to track how an item's price moved over time. Pass from and to to bound the window.

AuthorizationBearer <token>

In: header

Path Parameters

brandSlug*string
itemId*string

Query Parameters

countryCode*string

Value in

  • "ae"
  • "sa"
  • "kw"
  • "qa"
  • "bh"
  • "eg"
  • "jo"
  • "om"
  • "ma"
  • "kz"
  • "iq"
from?string
Formatdate-time
to?string
Formatdate-time
limit?integer
Range1 <= value
cursor?string

Response Body

application/json

curl -X GET "https://example.com/brands/string/items/string/price-history?countryCode=ae"
{  "data": [    {      "week": "string",      "modeOrganicPrice": 0,      "avgOrganicPrice": 0,      "minOrganicPrice": 0,      "maxOrganicPrice": 0,      "modeFinalPrice": 0,      "avgFinalPrice": 0,      "minFinalPrice": 0,      "maxFinalPrice": 0    }  ],  "pageInfo": {    "nextCursor": "string",    "hasMore": true  }}