Instagram popular topic search
Search for popular topic with the Instagram API. The request accepts a pagination cursor when provided. Use it to surface relevant records in a search or discovery tool. Choose an implementation and check its published request fields, examples, and usage pricing before integrating.
- Selected price
- $0.00015 / callPublished pricing
- Sellers / APIs
- 2 / 2
- Requests · 30d
- —Loading...
- Success rate · 30d
- —Loading...
Instagram popular topic search
Prepare your request, then continue with your agent.
Selected price
$0.00015 / call
- Provider
- API
- Pricing
On this page
Playground
Run sends a real API request. Charges follow the published API contract.
Response structure
cursornulldatanulldescriptionnullhandlenullhas_morenullhtmlnullis_estimatednullitemsnullmedia_countnullnext_max_idnullpostsnullquerynullsectionsnullsubmit_feedback_for_this_response_herestringsuggested_termsnulltitlenulltotal_media_countnull
// Inferred from response examples. Fields are optional and other fields may be returned.
export type ApiResponse = {
cursor?: null;
data?: null;
description?: null;
handle?: null;
has_more?: null;
html?: null;
is_estimated?: null;
items?: null;
media_count?: null;
next_max_id?: null;
posts?: null;
query?: null;
sections?: null;
submit_feedback_for_this_response_here?: string;
suggested_terms?: null;
title?: null;
total_media_count?: null;
};Sellers
| Seller | Pricing | Requests · 30d | Performance | Access |
|---|---|---|---|---|
Current Instagram Search Popular · POST · View API reference | $0.00015 / call | — | —successP50— | |
| Instagram — Popular Search · GET · View API reference | $0.00188 / call | —Select to load statistics | —successP50— |
- Unit price
- $0.00015
Statistics use persisted gateway logs from the last 30 days up to now, including today.
Success rate = successful requests / all requests;
P50 = median latency of successful requests.
Prices reflect the published API contract. Contract revision: 3. Price update time: not supplied.
Total $0.015
API
- Method
- POST
- Endpoint
https://api.openany.si/v1/agent-apis/litescrape/api/instagram/search-popular- Content type
- application/json
- Authentication
Authorization: Bearer $OPENANY_API_KEY
curl \
'https://api.openany.si/v1/agent-apis/litescrape/api/instagram/search-popular' \
-X POST \
-H "Authorization: Bearer $OPENANY_API_KEY" \
-H 'Content-Type: application/json' \
--data-raw '{
"query": "basketball"
}'Input parameters
Fields in this listing; additional options and input encoding can vary by provider.
| Parameter | Location | Type | Required | Description |
|---|---|---|---|---|
timeout | URL query parametersquery | number | No | Total request execution budget in seconds, greater than 0 and at most 90. Supply in the query string for GET or POST. page_timeout cannot extend this budget. maximum: 90 |
cursor | JSON request bodybody | string | null | No | Opaque cursor returned by search-popular for the same query. |
query | JSON request bodybody | string | Yes | Popular topic text or URL slug; spaces become hyphens. minLength: 1 · maxLength: 200 |
Required markers inside a nested object or variant apply when that object or variant is used.
Sample response
Response template · not a real response · Configured HTTP 200; actual status is unverified. Response illustration only. Placeholder values and unknown business fields are not recorded API results. Replace request placeholders before use.
{
"cursor": null,
"data": null,
"description": null,
"handle": null,
"has_more": null,
"html": null,
"is_estimated": null,
"items": null,
"media_count": null,
"next_max_id": null,
"posts": null,
"query": null,
"sections": null,
"submit_feedback_for_this_response_here": "<submit_feedback_for_this_response_here>",
"suggested_terms": null,
"title": null,
"total_media_count": null
}Agent integration
Copy the resource contract without sharing an API key.
View API Markdown
# Instagram popular topic search
Search for popular topic with the Instagram API. The request accepts a pagination cursor when provided. Use it to surface relevant records in a search or discovery tool. Choose an implementation and check its published request fields, examples, and usage pricing before integrating.
## Available implementations
litescrape · Instagram Search Popular: https://openany.si/markets/apis/capabilities/instagram-popular-topic-search?offering=b4c48af8-13f6-4e40-9207-3d748534fedb · $0.00015 / call
scrapecreators · Instagram — Popular Search: https://openany.si/markets/apis/capabilities/instagram-popular-topic-search?offering=269707f1-b537-4fe2-aea4-86e905e27b2f · $0.00188 / call
## Selected API contract
Documentation: https://openany.si/markets/apis/capabilities/instagram-popular-topic-search
Method: POST
Endpoint: https://api.openany.si/v1/agent-apis/litescrape/api/instagram/search-popular
Price: $0.00015 / call
Provider: litescrape
Contract revision: 3
Price source: OpenAny public API contract and documented provider unit rates. Price update time: not supplied.
Use OPENANY_API_KEY from the environment. API Key calls use your shared balance.
## Prepared request
```bash
curl \
'https://api.openany.si/v1/agent-apis/litescrape/api/instagram/search-popular' \
-X POST \
-H "Authorization: Bearer $OPENANY_API_KEY" \
-H 'Content-Type: application/json' \
--data-raw '{
"query": "basketball"
}'
```
## API contract
```json
{
"resource_type": "api",
"name": "Instagram Search Popular",
"endpoint": "https://api.openany.si/v1/agent-apis/litescrape/api/instagram/search-popular",
"method": "POST",
"content_type": "application/json",
"execution_mode": "sync",
"authentication": {
"type": "bearer",
"environment_variable": "OPENANY_API_KEY"
},
"inputs": [
{
"description": "Total request execution budget in seconds, greater than 0 and at most 90. Supply in the query string for GET or POST. page_timeout cannot extend this budget.",
"location": "query",
"maximum": "90",
"name": "timeout",
"nullable": false,
"required": false,
"type": "number"
},
{
"description": "Get popular Instagram posts for a search topic.",
"json_schema": {
"additionalProperties": false,
"examples": [
{
"query": "basketball"
}
],
"properties": {
"cursor": {
"anyOf": [
{
"maxLength": 8192,
"minLength": 1,
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Opaque cursor returned by search-popular for the same query.",
"title": "Cursor",
"x-litescrape": {
"formGroup": 0,
"group": 0,
"summary": "Opaque cursor returned by search-popular for the same query."
}
},
"query": {
"description": "Popular topic text or URL slug; spaces become hyphens.",
"maxLength": 200,
"minLength": 1,
"title": "Query",
"type": "string",
"x-litescrape": {
"formGroup": 0,
"group": 0,
"summary": "Popular topic text or URL slug; spaces become hyphens."
}
}
},
"required": [
"query"
],
"title": "_instagram_common_PopularSearchRequest",
"type": "object"
},
"location": "body",
"name": "body",
"nullable": false,
"pointer": "",
"required": true,
"type": "object"
}
],
"billing": {
"currency": "USD",
"mode": "fixed",
"priceMicroUsd": "150",
"rounding": null,
"unit": "call",
"unitQuantity": null
},
"examples": [
{
"http_status": 200,
"name": "Schema template (HTTP assumed)",
"request": {
"body": {
"query": "basketball"
},
"headers": {},
"path": {},
"query": {}
},
"response_body": {
"cursor": null,
"data": null,
"description": null,
"handle": null,
"has_more": null,
"html": null,
"is_estimated": null,
"items": null,
"media_count": null,
"next_max_id": null,
"posts": null,
"query": null,
"sections": null,
"submit_feedback_for_this_response_here": "<submit_feedback_for_this_response_here>",
"suggested_terms": null,
"title": null,
"total_media_count": null
}
}
]
}
```Error handling
| Status | Next step |
|---|---|
400 | Check the offering and request fields. |
401 / 403 | Verify your credentials and access permissions. |
402 | Inspect the selected access mode and returned payment requirements. |
429 | Respect the returned rate limit and retry guidance. |
5xx | Inspect the error and usage record before retrying a paid operation. |
Examples
Schema template (HTTP assumed)
Response illustration only. Placeholder values and unknown business fields are not recorded API results. Replace request placeholders before use.
Prepare your environment
Use a terminal with cURL installed.
Use an OpenAny API key with shared-balance access. Confirm availability and price before running; a call may charge your balance.
Set the key in your terminal using the hidden prompt below. Keep its value out of source files and logs.
Terminal · macOS / Linuxprintf 'OpenAny API key: ' read -r -s OPENANY_API_KEY export OPENANY_API_KEY printf '\n'Run the request
Paste the complete command below into your terminal.
Values to replace before running 2
Review these request fields before running. Keep the published provider and request method unchanged.
timeout- Total request execution budget in seconds, greater than 0 and at most 90. Supply in the query string for GET or POST. page_timeout cannot extend this budget.
body- Get popular Instagram posts for a search topic.
Terminal · cURLcurl \ 'https://api.openany.si/v1/agent-apis/litescrape/api/instagram/search-popular' \ -X POST \ -H "Authorization: Bearer $OPENANY_API_KEY" \ -H 'Content-Type: application/json' \ --data-raw '{ "query": "basketball" }'Check the response
Response template · not a real response · Configured HTTP 200; actual status is unverified.
Response template · not a real response{ "cursor": null, "data": null, "description": null, "handle": null, "has_more": null, "html": null, "is_estimated": null, "items": null, "media_count": null, "next_max_id": null, "posts": null, "query": null, "sections": null, "submit_feedback_for_this_response_here": "<submit_feedback_for_this_response_here>", "suggested_terms": null, "title": null, "total_media_count": null }