API explorer
Getting Started

Sections

Theme switcher

Text to Trending Topics

Header Parameters

api-keystring

Body Parameters

topicsarray Required

Required array of 1 to 1000 topic_id values, for example from text-to-relevant-topics. Exact, case-sensitive match after trim; duplicates are removed. Topics with no popularity data for the country and date range are omitted from data.

countrystring Required

Two-letter country code (e.g., 'us', 'gb').

Min length
1
start_datestring Required

Required start date in YYYY-MM format (e.g. 2026-06).

Min length
1
end_datestring Required

Required end date in YYYY-MM format (e.g. 2026-08).

Min length
1
ascboolean

Optional JSON boolean. When true, rows are sorted by popularity_score ascending (least popular first). Defaults to false. Ties are ordered by topic ascending in both directions.

Response

200
Object

OK

Response Attributes

metaobject
dataarray | null
Was this section helpful?

POST

/

Select
1

Response

Was this section helpful?