scraper
Back to API docs

Overview

  • Overview

APIs

  • POSTPost
  • POSTSearch

Instagram Search

2 credits

Search Instagram by hashtag.

POST/api/v1/tools/instagram/search

Parameters

hashtagstringrequired

Instagram hashtag to search (without the # symbol).

maxResultsnumber

Maximum number of results to return. Must be a positive integer. Defaults to 100. Upper bound is determined by your plan.

Response Schema

dataobject

Instagram search result

postsobject[]

Matching posts.

countnumber

Number of posts returned

metaobject

Request metadata

toolstring

Tool name (instagram-search)

creditsUsednumber

Credits consumed (2)

requestIdstring

Unique request ID

Request

curl -X POST https://scraper.run/api/v1/tools/instagram/search \
-H "Authorization: Bearer sc_live_..." \
-H "Content-Type: application/json" \
-d '{
"hashtag": "webdevelopment"
}'

Response Example

{
"data": {
"posts": [
{
"id": "DUab_xYzKpR",
"author": "dev_sarah",
"text": "Just deployed my first full-stack app with Next.js and Prisma. So satisfying to see it live. #webdevelopment #nextjs",
"createdAt": "2026-04-08T14:00:00.000Z",
"url": "https://www.instagram.com/p/DUab_xYzKpR/",
"likes": 892
}
],
"count": 1
},
"meta": {
"tool": "instagram-search",
"creditsUsed": 2,
"requestId": "req_abc123"
}
}