Instagram Hashtag API — Top Posts Scraper avatar

Instagram Hashtag API — Top Posts Scraper

Pricing

from $0.95 / 1,000 post extracteds

Go to Apify Store
Instagram Hashtag API — Top Posts Scraper

Instagram Hashtag API — Top Posts Scraper

Get top posts for any Instagram hashtag as clean JSON: shortcode, URL, caption, likes, comments, owner, media type and timestamp. Browser-based with residential proxy. No login.

Pricing

from $0.95 / 1,000 post extracteds

Rating

0.0

(0)

Developer

RD.Galih Rakasiwi

RD.Galih Rakasiwi

Maintained by Community

Actor stats

0

Bookmarked

1

Total users

0

Monthly active users

6 days ago

Last modified

Share

Get top posts for any Instagram hashtag as clean, LLM-ready JSON — no login.

Why this Actor

Instagram's web data is behind signed GraphQL requests that change often. This Actor drives a real Chromium browser through Apify residential proxy and captures the same GraphQL responses the page makes, then normalizes them.

Endpoints

MethodPathDescription
GET/hashtag/{tag}Top posts for a hashtag (?limit=1..100)
GET/healthLiveness + proxy status
curl "https://<container-url>/hashtag/fashion?limit=30"
curl "https://<container-url>/hashtag/travel?limit=10"

Output

{
"hashtag": "fashion",
"mediaCount": "1.2B",
"count": 30,
"proxyUsed": true,
"posts": [
{
"shortcode": "ABC123",
"url": "https://www.instagram.com/p/ABC123/",
"caption": "…",
"likes": 1234,
"comments": 56,
"isVideo": false,
"timestamp": 1729000000,
"owner": "username",
"thumbnail": "https://…"
}
]
}

Notes

  • Residential proxy is required. Inside Apify it is used automatically. Locally set PROXY_URL.
  • Likes/comments are included when Instagram returns them; some nodes expose only the shortcode (DOM fallback), in which case those fields are null.
  • No login or cookies are used.

instagram hashtag scraper, instagram hashtag api, top posts by hashtag, instagram analytics, hashtag research, social media monitoring

Local development

pip install -r requirements.txt
PROXY_URL=http://user:pass@proxy:port uvicorn src.main:app --reload