Instagram posts and comments API
A user's posts, reels, tagged posts and the comments on each post as JSON. Send a username, get the data back. No Instagram login.
curl "https://api.toolzerhub.com/v2/instagram/user/posts?username_or_id=instagram" \
-H "x-api-key: $TOOLZERHUB_API_KEY"{
"data": {
"items": [
{
"code": "DeewiSPpCrm",
"taken_at": 1791993604,
"type": "clips",
"caption": "when dance meets Double Dutch šā£ ⣠#InTheMoment⣠⣠Video by @asuki_millecolle and @ikkyon_millecolle⣠⣠Music by MagnusTheMagnus⣠⣠Choreogrā¦",
"like_count": 223383,
"comment_count": 4723,
"play_count": 7299631
},
{
"code": "DecLR_vvrW6",
"taken_at": 1791907183,
"type": "clips",
"caption": "āWouldnāt it be fun to have something like this in a room?ā⣠⣠Thatās what painter @hichiyan686 asks herself before creating three-dimensionā¦",
"like_count": 247628,
"comment_count": 9130,
"play_count": 11200096
},
{
"code": "DePb6WLuVae",
"taken_at": 1791479431,
"type": "clips",
"caption": "fur real, every single one of these is the best one š¾ā£ ⣠#InTheMoment⣠⣠Video by @miso_ara⣠⣠Music by Vadim Chaimovich",
"like_count": 720827,
"comment_count": 22340,
"play_count": 23230313
}
],
"num_results": 12,
"more_available": true,
"next_max_id": "QVFEazhWSkRINHQweUJpZk1NbUg1UnEtSThxb2RDc3VNRGZ3YkZ6Zl9OWjZzTDBsYlZtaXl6MXpPS0xpNkpReGJ0TjlaRG1CTzZZYUJvRXZnSWJ3cDNxQg=="
}
}- 94.3%
- 0.8 s
- 1 credit
- 4
Endpoints
What you can get
One request each, 1 credit per call. Open one to see its parameters and a real response.
- Posts
/v2/instagram/user/posts96.5% Ā· 1.3 s1 creditPosts reference (opens in new tab) - Reels
/v2/instagram/user/reels100% Ā· 1.5 s1 creditReels reference (opens in new tab) - Tagged posts
/v2/instagram/user/tagged-posts97% Ā· 3.2 s1 creditTagged posts reference (opens in new tab) - Comments
/v2/instagram/media/comments93.5% Ā· 0.7 s1 creditComments reference (opens in new tab)
Need profiles or followers? Instagram profile and followers API
Response
What comes back
Field names and types read off the real responses in the demo above.
- Posts
/v2/instagram/user/posts7 fields- codestring"DeewiSPpCrm"
- taken_atnumber1,791,993,604
- typestring"clips"
- captionstring"when dance meets Doubleā¦"
- like_countnumber223,383
- comment_countnumber4,723
- play_countnumber7,299,631
- Reels
/v2/instagram/user/reels7 fields- codestring"DeewiSPpCrm"
- taken_atnumber1,791,993,604
- typestring"clips"
- captionstring"when dance meets Doubleā¦"
- like_countnumber255,735
- comment_countnumber5,693
- play_countnumber36,418,945
- Comments
/v2/instagram/media/comments5 fields- idstring"18117186961811020"
- textstring"ā¤ļø"
- created_atnumber1,791,994,179
- comment_like_countnumber47
- userobject{ username, is_verified }
Use cases
What people build with it
- 01Content performance reportsPostsReels
- 02Comment sentiment analysisComments
- 03Brand mentions from tagged postsTagged posts
- 04Benchmark creators by reachPostsReels
How it works
From key to JSON
- 01x-api-keyā¢ā¢ā¢ā¢ā¢ā¢ā¢ā¢ā¢ā¢Get a key
- 02GET/v2/instagram/user/postsSend a request
- 03{ data, status }200Get JSON
Pricing
What it costs
Every endpoint on this page costs 1 credit per call: one page of posts, reels or comments. Failed calls cost nothing.
- Free$0
- 10K pack$19
- Starter$29
Per 1,000 credits
Compare
Why not build it yourself
Three ways to get Instagram data into your app.
| Compare | Toolzer Hub | Official Instagram API | Your own scraper |
|---|---|---|---|
| Accounts you can read | Any public account | Professional accounts that authorize your app | Any public account |
| Setup | One API key | Meta app, App Review, Business Verification | Proxies, sessions, retries |
| When Instagram changes | We fix it | Meta keeps it working | You fix the parser |
| Cost to start | 100 free credits a month | Free, after review | Proxies and your time |
Want to try it yourself first? Our free instagram-scraper on GitHub covers profiles, posts, comments, search (walkthrough).
FAQ
Questions
- Is this the official Instagram API?
- What data does it return?
- Do I need an Instagram account?
- What does it cost?
- How do I get more than one page?
Guides
Instagram posts guides
Tested walkthroughs with real requests and output.
- Instagram hashtag API: recent and top posts for any tag
- Instagram music API: reels that use a song, with plays
- Instagram API get user ID and profile info by username
- Best Instagram scrapers tested on the same 10 profiles
- Instagram API get stories: any public account, not yours
- Instagram reels API: list any public account's reels
- Instagram API get user posts: Meta's 10K cap and a script
- Instagram Basic Display API replacement: personal accounts
Try the Instagram posts API free
Every new workspace gets 100 credits a month. Buy credits only when you need more.
More APIs on the same key
- Meta Ad Library
- Threads
- TikTok
- X (Twitter)
- Yandex
- TikTok Ads
- 2GIS
- Ozon
- Airbnb
- Skyscanner
- Telegram
- Capterra
- Shopify
- YouTube
- Google Maps
- Zillow
- Seek
- Indeed
- Naukri
- StepStone
- Internshala
- Upwork
- Hiring.cafe
- Bayt
- Naver Shopping
- Wellfound
- RedNote
- Google Finance
- Google Flights
- SofaScore
- Google Play
- Douyin
- Taobao
- Google Hotels
- Amazon
- Cricbuzz
- Redfin
- Tripadvisor
- Semrush
- Yelp