Products

List Shopping Demand

Changed on

List top shopping queries, web-search fan-out queries, or query terms over a date range.

post/products/demand

Request

  • Base URL
    https://api.peec.ai/customer/v1
  • URL
    https://api.peec.ai/customer/v1/products/demand
  • Auth
    • API key in header X-API-Key
    • or API key in query parameter api_key
    • or HTTP bearer

Request body

project_idstring

Required if using a company api key

start_datestring date

full-date notation as defined by RFC 3339, section 5.6, for example, 2017-07-21

end_datestring date

full-date notation as defined by RFC 3339, section 5.6, for example, 2017-07-21

category_idsstring[]

Filter by shopping categories. Parent categories include descendants.

country_codesstring[]
model_channel_idsstring[]
topic_idsstring[]
tag_idsstring[]
tag_operator'and' | 'or'
previous_start_datestring date

Start of an explicit comparison window for deltas. Provide together with previous_end_date, or omit both to auto-derive an equal-length window immediately before [start_date, end_date].

previous_end_datestring date

End of the explicit comparison window. Provide together with previous_start_date, or omit both to auto-derive.

kind'shopping_query' | 'fanout_query' | 'query_term' required

shopping_query = product fan-out queries; fanout_query = web-search fan-out queries; query_term = n-grams across shopping queries.

mode'top' | 'trending' | 'losing' | 'new'

top = highest now; trending = gainers; losing = losers; new = appeared this window only.

limitinteger
ninteger

n-gram width for kind=query_term (default 2 = bigrams).

Example request

{
  "project_id": "or_f45b94ba-5e35-4982-93ed-285e72ee14eb",
  "start_date": "2025-09-22",
  "end_date": "2025-09-22"
}

Response

Success

total_countnumber required

Changes

    • info

      added the new exa-0 enum value to the request property / (media type: application/json)

    • info

      added the new exa-0 enum value to the request property / (media type: application/x-www-form-urlencoded)

    • info

      added the new exa-0 enum value to the request property / (media type: multipart/form-data)

    • info

      added the new anthropic-2 enum value to the request property / (media type: application/json)

    • info

      added the new anthropic-2 enum value to the request property / (media type: application/x-www-form-urlencoded)

    • info

      added the new anthropic-2 enum value to the request property / (media type: multipart/form-data)

    • info

      added the new anthropic-3 enum value to the request property / (media type: application/json)

    • info

      added the new anthropic-3 enum value to the request property / (media type: application/x-www-form-urlencoded)

    • info

      added the new anthropic-3 enum value to the request property / (media type: multipart/form-data)

    • info

      added the new baidu-0 enum value to the request property / (media type: application/json)

    • info

      added the new baidu-0 enum value to the request property / (media type: application/x-www-form-urlencoded)

    • info

      added the new baidu-0 enum value to the request property / (media type: multipart/form-data)

    • info

      added the new google-5 enum value to the request property / (media type: application/json)

    • info

      added the new google-5 enum value to the request property / (media type: application/x-www-form-urlencoded)

    • info

      added the new google-5 enum value to the request property / (media type: multipart/form-data)

    • info

      added the new meta-1 enum value to the request property / (media type: application/json)

    • info

      added the new meta-1 enum value to the request property / (media type: application/x-www-form-urlencoded)

    • info

      added the new meta-1 enum value to the request property / (media type: multipart/form-data)

    • info

      added the new meta-2 enum value to the request property / (media type: application/json)

    • info

      added the new meta-2 enum value to the request property / (media type: application/x-www-form-urlencoded)

    • info

      added the new meta-2 enum value to the request property / (media type: multipart/form-data)

    • info

      added the new naver-0 enum value to the request property / (media type: application/json)

    • info

      added the new naver-0 enum value to the request property / (media type: application/x-www-form-urlencoded)

    • info

      added the new naver-0 enum value to the request property / (media type: multipart/form-data)

    • info

      added the new openai-3 enum value to the request property / (media type: application/json)

    • info

      added the new openai-3 enum value to the request property / (media type: application/x-www-form-urlencoded)

    • info

      added the new openai-3 enum value to the request property / (media type: multipart/form-data)

    • info

      added the new openai-4 enum value to the request property / (media type: application/json)

    • info

      added the new openai-4 enum value to the request property / (media type: application/x-www-form-urlencoded)

    • info

      added the new openai-4 enum value to the request property / (media type: multipart/form-data)

    • info

      added the new openai-5 enum value to the request property / (media type: application/json)

    • info

      added the new openai-5 enum value to the request property / (media type: application/x-www-form-urlencoded)

    • info

      added the new openai-5 enum value to the request property / (media type: multipart/form-data)