Skip to documentation
Browse documentation
For AI agents

Connect your agent to live platform data.

Open in

Search topic

Search public popular content by topic keyword, legacy topic ID or topic URL, with available dates and engagement counts.

Capability ID instagram.topic.search
Maximum runtime 120 seconds
View raw

POST /execute Shared execution endpoint

Input parameters

cursor string optional

Opaque next_cursor from a previous response

limit integer optional

Maximum deduplicated results From 1 to 120. Default: `24`.

Example 12
max_pages integer optional

Maximum upstream pages for this request From 1 to 10. Default: `2`.

topic string required

Known topic ID, topic slug, explore-topic URL, or public /popular/ URL

Example travel

Response

Successful output is returned in results[0].data.

Raw platform output is intentionally open-ended and may evolve with the upstream source.

Illustrative sample The example response is shown in the response panel.

Illustrative output fields

Values illustrate one response. Read the guidance above for missing values and limits; fields can vary with the requested operation and the data available.

PathObserved typeExample
category string Sports
has_more boolean true
next_cursor string [redacted:token]
pages integer 1
posts array 3 items
posts array 3 items
topic_id string 1283274535024498
topic_name string Sports
topic_slug string sports
total_count integer 12

Execution behavior

A 200 response completed inline. A 202 response was queued; poll GET /jobs/:id until the job reaches completed or failed.