Instagram Profile API
Send a username and get the public profile back as JSON: exact follower counts, the bio and its links, engagement, and the latest posts and Reels.
- 100 free credits
- No card needed
- No login, cookies or proxies
curl "https://pipefetch.com/v1/instagram/profile?username=nasa" \
-H "x-api-key: YOUR_API_KEY"const res = await fetch('https://pipefetch.com/v1/instagram/profile?username=nasa', {
headers: { 'x-api-key': process.env.PIPEFETCH_API_KEY },
});
const { data, credits } = await res.json();import os, requests
res = requests.get(
"https://pipefetch.com/v1/instagram/profile",
params={"username": "nasa"},
headers={"x-api-key": os.environ["PIPEFETCH_API_KEY"]},
)
data = res.json()["data"]What you get
- Exact follower, following and post counts
- Name, bio, the links in the bio, and any emails and phone numbers written there
- Verified and private flags, and whether the account is personal, business or creator
- Engagement rate, average likes, comments and plays, and posts per week
- The latest posts and Reels: caption, hashtags, likes, comments, plays, date and media addresses
{
"data": {
"id": "528817151",
"username": "nasa",
"url": "https://www.instagram.com/nasa/",
"fullName": "NASA",
"biography": "Making the seemingly impossible, possible. ✨",
"followerCount": 104328951,
"followingCount": 91,
"postCount": 5014,
"isVerified": true,
"isPrivate": false,
"accountType": "business",
"emails": [],
"phones": [],
"externalUrl": "https://www.nasa.gov",
"links": [
{
"title": "NASA.gov Homepage",
"url": "https://www.nasa.gov"
},
{
"title": "Artemis II Preliminary Lunar Science Report",
"url": "https://science.nasa.gov/feature/artemis-ii-preliminary-lunar-science-report/"
}
],
"pronouns": [],
"hasReels": true,
"hasThreadsProfile": true,
"profilePicUrl": "https://scontent.cdninstagram.com/v/t51.2885-19/29090066_159271188110124_1152068159029641216_n.jpg?stp=dst-jpg_s150x150_tt6&_nc_cat=1&ig_cache_key=GBL…",
"latestPostAt": "2026-11-18T01:00:50.000Z",
"avgLikes": 90661,
"avgComments": 1362,
"avgPlays": 4411283,
"engagementRate": 0.088,
"postsPerWeek": 4.97,
"latestPosts": [
{
"id": "4025327901360909266",
"shortCode": "Dfc1mYxFevS",
"url": "https://www.instagram.com/p/Dfc1mYxFevS/",
"type": "Video",
"isReel": true,
"isPinned": true,
"caption": "Apply to become an astronaut!\n\nWe've opened applications to join NASA's astronaut corps, who will expand the frontiers of discovery in low Earth orbit…",
"hashtags": [
"NASA",
"Astronaut"
],
"mentions": [],
"likeCount": 101569,
"commentCount": 1512,
"playCount": 4200131,
"durationSeconds": 63.5,
"publishedAt": "2026-11-07T18:35:41.000Z",
"isPaidPartnership": false,
"imageUrl": "https://scontent-iad6-1.cdninstagram.com/v/t51.82787-15/892262107_18667067911049152_7232282950866099313_n.jpg?stp=dst-jpg_e15_s640x640_tt6&_nc_cat=102…",
"videoUrl": "https://scontent-iad6-1.cdninstagram.com/o1/v/t2/f2/m86/AQOaFZSzCK2cDiH6dXb9aPPuVfhKmFlDpvjqR_xWLa4dUfLChqiDZzaKpehvtFAiPlqNcqsLHTRGmIiWJEXXgIw4rkcVSb…",
"ownerUsername": "nasa",
"coauthors": [],
"taggedUsers": [],
"locationName": null
},
{
"id": "4032769631913039723",
"shortCode": "Df3Rp0bKNdr",
"url": "https://www.instagram.com/p/Df3Rp0bKNdr/",
"type": "Video",
"isReel": true,
"isPinned": false,
"caption": "Gold for Voyager 1, now one light-day from home. 🚀",
"hashtags": [],
"mentions": [],
"likeCount": 23052,
"commentCount": 168,
"playCount": 1605623,
"durationSeconds": 15.6,
"publishedAt": "2026-11-18T01:00:50.000Z",
"isPaidPartnership": false,
"imageUrl": "https://scontent-iad6-1.cdninstagram.com/v/t51.82787-15/909639997_18654645670011588_7039336257252665058_n.jpg?stp=dst-jpg_e15_p360x360_tt6&_nc_cat=1&i…",
"videoUrl": "https://scontent-iad3-2.cdninstagram.com/o1/v/t2/f2/m86/AQMe4QDAm43AZ7Q8VwitTjjqDac0DJysEGZPv6Z4y8jbw8UyB46znmpRLr04YH_skMMsLliTqV72Unfrkc5KGtfnOuv7hq…",
"ownerUsername": "empirestatebldg",
"coauthors": [
"nasa"
],
"taggedUsers": [
"nasa"
],
"locationName": "Empire State Building"
}
]
},
"credits": {
"used": 2,
"remaining": 98
}
}One GET request
Everything the endpoint accepts. The full reference, with the complete example response, is in the docs.
GET/v1/instagram/profile
Costs 2 credits per request. Only requests that return data are charged.
Parameters
| Name | Type | Description |
|---|---|---|
usernamerequired |
string | Username (nasa), handle (@nasa) or profile URL. |
postsoptional |
boolean | Include the latest posts and Reels. Turn it off for a smaller answer; the price is the same. Default: true. |
Good to know
- Follower, following and post counts are the exact numbers, not the rounded ones Instagram displays (104M).
- latestPosts holds what Instagram shows without a login: about the 12 latest Reels and the newest grid posts, pinned posts included. It is not the full history.
- engagementRate is the average likes plus comments of those posts as a percentage of followers: 0.088 means 0.088 %.
- A private account returns its counts, name and bio with isPrivate true and no posts.
- Image and video addresses are Instagram's own signed links and stop working after some hours. Download what you want to keep.
- An account that does not exist, or is deactivated or restricted, answers 404 profile_not_found and costs nothing.
What people build with it
Vet an influencer
Check exact follower counts and engagement before you pay for a collaboration.
Track accounts over time
Call the endpoint on a schedule and store the exact counts to see how an account grows.
Enrich a list of handles
Turn a column of usernames into names, bios, links, account types and follower counts.
Watch what competitors post
Read the latest posts and Reels of the accounts you follow, with how each one performed.
Buy credits once. Use them whenever.
This endpoint costs 2 credits per request, and a request that returns no data costs nothing. Move the slider to see what your volume costs.
An Instagram profile costs 2 credits. A request that returns nothing is free.
- $2.42 per 1,000 credits
- About $12.08 a month at this pace
- Lasts about 2.4 months at this pace
- Credits never expire
Questions and answers
Is this the official Instagram API?
No. Pipefetch is an independent service and is not affiliated with Instagram or Meta. It returns what a public Instagram profile shows to a visitor who is not logged in.
Do I need an Instagram account, a token or an app review?
No. You need one Pipefetch API key. There is no login, no cookie and no Meta app.
Does it work for private accounts?
You get what a private account shows publicly: its name, bio and counts, with isPrivate true. Its posts are not returned.
How many posts do I get?
What Instagram shows without a login: about the 12 latest Reels and the newest grid posts, pinned posts included. It is a recent sample, not the full history, and the engagement figures are computed from it.
Can I get the list of followers, the stories or the comments?
No. This endpoint returns the profile and its latest posts. Lists of followers, stories and comments are not available.
Why does a profile cost 2 credits?
Instagram only answers this kind of request from residential internet connections, which cost us more than an ordinary request. A profile costs 2 credits; an account that does not exist costs nothing. Credit packs start at $9 for 3,000 credits and never expire, and new accounts get 100 free credits without a card.
Does a profile contain personal data?
Yes, when the account belongs to a person. If you store or process profiles, data-protection law such as the GDPR applies to you as it would to any other source, and our terms forbid using the API to harass people or to build profiles of private individuals.
How current is the data?
Each request is read live from Instagram, not served from an old copy, so it takes a few seconds and the counts are the ones Instagram shows at that moment.
More APIs on the same key
-
1 credit
YouTube Transcript API
The transcript of any public video with captions, as plain text, timestamped segments, SRT or WebVTT.
GET /v1/youtube/transcript -
1 credit
YouTube Video API
Exact views, likes and comment count, description, tags, chapters and channel for one video.
GET /v1/youtube/video -
1 credit
YouTube Channel API
Subscribers, video count, description, keywords and avatar for a channel, from a handle, id or URL.
GET /v1/youtube/channel -
1 credit
YouTube Channel Videos API
The latest uploads of a channel, newest first, with views, duration and publish time.
GET /v1/youtube/channel/videos -
1 credit
YouTube Shorts API
The Shorts of a channel, newest first, with view counts and thumbnails.
GET /v1/youtube/channel/shorts -
1 credit
YouTube Search API
YouTube search results for a query, with the same sorting and filters the site offers.
GET /v1/youtube/search -
1 credit / 20
YouTube Comments API
Top or newest comments of a video with likes, reply counts, pinned and hearted flags.
GET /v1/youtube/comments -
1 credit
Website Contacts API
The emails, phone numbers and social profiles a website publishes, with its contact page, address and company name.
GET /v1/web/contacts -
1 credit
Brand API
The logo, icon, brand colors, fonts, description and social profiles of a company, read from its website.
GET /v1/web/brand
Make your first request in a minute
Sign in, copy your key and call an endpoint. Your account starts with 100 free credits.