Instagram Scraper
Get Instagram Popular Search
Explore an Instagram topic: its description, post count, suggested terms and the posts Instagram curates for it.
Endpoint
Parameters
| Name | Type | Required | Note |
|---|---|---|---|
| querystring · required | string | required | The Popular topic to search for. |
| limitnumber · optional | number | optional | Maximum number of results to return from this request. Leave empty for everything this request returns. This trims the response — it does not fetch more; use the returned cursor for the next batch. The price is the same either way. |
| cursorstring · optional | string | optional | The opaque cursor returned by the previous response. Use it with the same query to fetch the next page of posts. |
Response schema
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"posts": {
"type": "array"
},
"query": {
"type": "string"
},
"title": {
"type": "string"
},
"cursor": {
"type": "string"
},
"has_more": {
"type": "boolean"
},
"description": {
"type": "object",
"additionalProperties": {}
},
"limitApplied": {
"type": "boolean",
"description": "True when a Limit trimmed the results; there were more in this response."
},
"suggested_terms": {
"type": "array"
},
"total_media_count": {
"type": "number"
}
},
"additionalProperties": true
}