Skip to main content
The Popular Intents endpoint surfaces the food queries that real users in a given area are actively searching for. You can use it to build trend feeds, auto-populate chat starter chips, or understand what dishes are in demand at any geographic level — from a single Riyadh district down to a country-wide view.

Endpoint

Authentication: Not required Rate limit: 60 requests per minute

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:
  1. District — used when the district has sufficient unique-user signals
  2. City — used as a fallback when the district does not qualify
  3. Country — the default when neither district nor city qualifies
Each intent in the response includes a scope field that tells you which level the result came from, and a scope_name field that names it.

Tier values

Every intent carries a tier 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

Embed this endpoint in your own app to power a live trending-food widget, or use the returned intent_slug values as pre-filled queries to the PRIXO chat endpoint so users jump straight to relevant price comparisons.
  • 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.