Lumirank API docs

Dimensions

Split a report into rows by time, engine, country, prompt, domain, or page.

Dimensions split a report into groups, and the report returns 1 row per group. Send up to 3 dimensions in the dimensions parameter, separated by commas:

?dimensions=week,engine

Each dimension adds 1 or more columns to every row:

DimensionColumns it addsReports
dayday, for example "2026-09-14"all 3
weekweek: the date of the Monday that starts the ISO weekall 3
monthmonth: the date of the 1st day of the monthall 3
engineengineall 3
countrycountry, in capital lettersall 3
promptprompt_id, prompt_textall 3
domaindomain, is_own_domain, domain_ratingcitations
urlurl, domain, is_own_domain, domain_rating, title, content_type, content_subtype, platformcitations

Rules

  • You can send up to 3 dimensions, and each one only once.
  • You can send only 1 of day, week, and month.
  • With no dimension, the visibility report has 1 row for the whole date range, and the brands report has 1 row per brand.
  • The citations report always splits by domain or by url. If you send neither, it adds domain, which does not count toward the 3. Sending both domain and url is an error. meta.dimensions shows the dimensions the report used.

A request that breaks these rules gets status 400 with the error code dimension_invalid and param: "dimensions".

Example

Daily visibility in the US, for a chart:

curl -G https://api.lumirank.ai/v1/reports/visibility \
  -H "Authorization: Bearer $LUMIRANK_API_KEY" \
  -d dimensions=day -d country=US

On this page