Search Instagram Posts

9 endpoints • Base: https://openapi.scdata.cc

Runs a filtered search over indexed Instagram posts and returns matches with their creator and engagement counters, paginated. Search requests carry a higher quota cost than single lookups.

POST/api/v1/search/instagram/media

Quota usage: Each successful request to this endpoint deducts 100 quota units from your plan.

Request Parameters

Required Parameters

This endpoint has no required parameters.

Optional Parameters

NameInTypeDescription
pagebodyintegerpage number
example: 0
page_sizebodyintegerpage size
example: 0
querybodyobjectSearch term
example: string
categorysbodyobjectCategory
locationsbodyobjectCountry
follower_count_minbodyobjectMinimum follower count
example: 0
follower_count_maxbodyobjectMaximum follower count
example: 0
create_at_startbodyobjectPublish time from
example: string
create_at_endbodyobjectPublish time to
example: string
avg_engagement_rate_minbodyobjectMinimum average engagement rate
example: 0
avg_engagement_rate_maxbodyobjectMaximum average engagement rate
example: 0
avg_comment_count_minbodyobjectMinimum average comments
example: 0
avg_comment_count_maxbodyobjectMaximum average comments
example: 0
avg_like_count_minbodyobjectMinimum average likes
example: 0
avg_like_count_maxbodyobjectMaximum average likes
example: 0
avg_play_count_minbodyobjectMinimum average plays
example: 0
avg_play_count_maxbodyobjectMaximum average plays
example: 0
genderbodyobjectGender (0 = unknown, 1 = male, 2 = female)
example: 0
recent_month_publish_count_minbodyobjectMinimum posts in the last month
example: 0
recent_month_publish_count_maxbodyobjectMaximum posts in the last month
example: 0
media_typebodyobjectPost type (1 = single image, 2 = video, 8 = carousel)
example: 0

Response Fields

NameTypeDescription
successbooleanSuccess
codeintegerCode
messagestringMessage
dataobject-
data.itemsarray<object>Items
data.totalintegerTotal
data.pageintegerPage
data.page_sizeintegerPage Size
data.total_pagesintegerTotal Pages

Try It

https://openapi.scdata.cc/api/v1/search/instagram/media
Select an API key from Dashboard
Add an API key before sending a request.Go to Dashboard

JSON Body

cURL Example

bash
curl -X POST "https://openapi.scdata.cc/api/v1/search/instagram/media" \
-H "Authorization: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"page":0,"page_size":0,"query":"string","categorys":[0],"locations":["string"],"follower_count_min":0,"follower_count_max":0,"create_at_start":"string","create_at_end":"string","avg_engagement_rate_min":0,"avg_engagement_rate_max":0,"avg_comment_count_min":0,"avg_comment_count_max":0,"avg_like_count_min":0,"avg_like_count_max":0,"avg_play_count_min":0,"avg_play_count_max":0,"gender":0,"recent_month_publish_count_min":0,"recent_month_publish_count_max":0,"media_type":0}'

Response Example (200 application/json)

json
{
"success": true,
"code": 200,
"message": "Request successful",
"data": {
"items": [
{
"author_user_id": "string",
"author_username": "string",
"author_avatar": "string",
"author_follower_count": 0,
"media_id": "string",
"create_at": "2019-08-24T14:15:22.123Z",
"description": "string",
"media_url": "string",
"cover_url": "string",
"language": "string",
"region": "string",
"media_type": 0,
"like_count": 0,
"comment_count": 0,
"play_count": 0,
"engagement_count": 0,
"engagement_rate": "string",
"author": {
"user_id": "string",
"username": "string",
"full_name": "string",
"avatar": "string",
"country": "string",
"gender": "string",
"follower_count": 0,
"avg_engagement_rate": "string",
"avg_video_engagement_rate": "string",
"avg_like_count": "string",
"media_count": 0,
"evaluation_min": "string",
"evaluation_max": "string"
}
}
],
"total": 0,
"page": 0,
"page_size": 0,
"total_pages": 0
}
}

Use Cases

  • Topic research — See what content already exists around a product keyword and how it performs.
  • Creator discovery via content — Identify creators by the posts they publish rather than by their profile description.

Related Endpoints