Endpoint
Query parameters
string
Filter results to a specific district, provided in Arabic. When a qualifying
number of signals exist at this level, the response scope resolves to
district. Example: العلياstring
Filter results to a city, provided in Arabic. Used as a fallback scope when
district-level data does not meet the minimum signal threshold. Example:
الرياضnumber
default:"10"
Maximum number of intent records to return. Accepted range is 1–50.
Scope resolution
PRIXO resolves the narrowest scope that holds enough qualifying data before widening outward:- District — used when the district has sufficient unique-user signals
- City — used as a fallback when the district does not qualify
- Country — the default when neither district nor city qualifies
scope field that tells you which level the result came from, and a scope_name field that names it.
Tier values
Every intent carries atier that reflects how many unique users drove it:
Intents with fewer than 3 unique user signals are assigned the
hidden tier
internally and are never returned by this endpoint. All results you
receive are from actively trending queries.Response fields
array
Ordered array of trending intent objects, ranked by unique user demand
(descending).
Example
Request
Response
Freshness
Popular intents are rebuilt hourly from accumulated user signals. Newly
trending queries may take up to 60 minutes to appear in responses.
Use cases
- Chat starter chips — fetch the top 5–8 intents for the user’s district and display them as quick-tap suggestions before they type anything.
- Trending feed — build a “what’s popular near you” section that refreshes hourly.
- Analytics — track which food categories trend in different Riyadh districts over time.