Instagram User Posts API
Get an Instagram user's posts with engagement data. Content analysis from $0.01/call.
Fetch posts from any Instagram user's profile. Returns post metadata, captions, engagement stats, and media URLs with pagination.
Try it live
Fill in the fields and hit Run to see a real response.
{
"ok": true,
"data": {
"items": [
{
"shortcode": "ABC123",
"caption": "Beautiful day!",
"like_count": 50000,
"comment_count": 500
}
],
"end_cursor": "...",
"has_next_page": true
}
}Features
Returns an items array of a user's posts, each with its shortcode so you can link back or fetch full post detail later.
Every item carries like_count and comment_count, letting you compute engagement rates and rank a creator's content by performance.
The full caption is included per post, ready for keyword analysis, hashtag extraction, or content-theme classification.
Responses include end_cursor and has_next_page; pass end_cursor back in to walk an entire feed page by page.
Use cases
Content Analysis
Analyze a user's posting patterns and content performance.
Feed Archiving
Archive Instagram feed data for research and analysis.
Engagement Tracking
Track post engagement rates across a user's content.
Quick start
Copy this snippet and start making calls.
const res = await fetch('https://api.yepapi.com/v1/instagram/user-posts', {
method: 'POST',
headers: {
'x-api-key': 'YOUR_API_KEY',
'Content-Type': 'application/json',
},
body: JSON.stringify({
"username": "instagram"
}),
});
const data = await res.json();
console.log(data);Pull an Instagram user's posts feed with engagement data
The YepAPI Instagram User Posts API returns a creator's published posts as a structured items array — each with shortcode, caption, like_count, and comment_count. A POST to /v1/instagram/user-posts gives content-analysis tools the per-post detail they need, with end_cursor pagination to walk an entire feed.
It pairs naturally with the rest of the YepAPI Instagram suite: profile the account first, archive its posts here, then drill into a single post with the Post API or read its Comments. The same key reaches TikTok, YouTube, SEO, and AI endpoints, so cross-platform content pipelines need just one integration.
What is an Instagram posts API?
An Instagram posts API returns the feed of a single account's published posts as structured data rather than a scrollable grid. You send {"username": "instagram"} and get back an items array where each post includes its shortcode, caption text, like_count, and comment_count, plus an end_cursor for fetching the next page. It is the tool for analyzing what a creator posts and how it performs over time — distinct from a profile lookup, which only reports totals, and from a single-post call, which returns one item in full. This is the bulk content feed.
Build your own Instagram content-analysis tool
Use the User Posts endpoint to build a content-performance dashboard, archive a creator's feed for research, or track engagement trends across their last hundred posts. Because each item carries like_count, comment_count, and the full caption, you can compute engagement rates, extract recurring hashtags, and identify top-performing themes. Walk the whole feed with end_cursor, then hand any standout shortcode to the YepAPI Post API or Post Comments API for deeper analysis.
Instagram User Posts API pricing — $0.01 per call
Each page of posts costs a flat $0.01. Pulling a 200-post feed across paginated pages stays in the cents range, and there are no tiers or minimums. You pay per call, drawing from the same balance as every YepAPI endpoint, so archiving many creators' feeds scales predictably.
Full feed access without business-account limits
Instagram's official Graph API returns media only for accounts you own or that authorize your app, and it gates that access behind business-account requirements. The YepAPI User Posts API returns the public post feed for any account by username, with engagement stats attached, so you can analyze competitors and creators you have no relationship with — exactly what the official API forbids.
Try the Instagram User Posts API free
Sign up for $5 in free credit, no card needed. That is 500 paginated feed calls — enough to archive and analyze several creators' content before you pay anything.
Start making API calls in 30 seconds
$5 free credit on signup. No credit card required. Pay per call.
What developers say
“Switched from SerpAPI and cut our SERP costs by 80%. Same data quality, way simpler billing.”
“One API key for AI models, SERP data, and web scraping. Saved us from managing 4 separate providers.”
“The $5 free credit let us prototype our entire rank tracking feature before committing. No other API does that.”
Frequently asked questions
Fetch posts from any Instagram user's profile. Returns post metadata, captions, engagement stats, and media URLs with pagination.
Each API call costs $0.01. No monthly minimums or subscriptions — you only pay for what you use.
Sign up for a free API key, then send a POST request to /v1/instagram/user-posts. Check the code example above for a ready-to-use snippet in JavaScript, cURL, or Python.
YepAPI bundles SEO, AI, and web scraping APIs under one key with no monthly minimums. You get lower per-call pricing, a unified dashboard, and one billing account instead of managing multiple providers.
Ready to integrate?
Get your API key and start making calls in 30 seconds. $5 free credit on signup — no credit card required.
More instagram api endpoints
Search
$0.01Search Instagram users, hashtags, and places. Discovery and research from $0.01/call.
User
$0.01Get Instagram user profiles — followers, bio, posts count, and verification from $0.01/call.
User About
$0.01Get extended Instagram user info — account category, contact details, and business info from $0.01/call.