Instagram Profile API
Get a public Instagram profile as a signed-out visitor sees it, in the web_profile_info shape under data.user: id, fbid, username, full name, biography, bio links, exact follower and following counts, verification, profile picture, and the profile grid's first 12 posts (edge_owner_to_timeline_media.edges). edge_owner_to_timeline_media.count is exact when Instagram shows the full number and null when it shows a rounded one such as 32K; /v1/instagram/profile/post-count returns the exact count. Business contact fields, related profiles and per-post like counts are not on the signed-out page and are omitted. Post dates (taken_at, taken_at_timestamp, created_at) are read from the media id, which encodes its upload time; they can differ from the time Instagram shows by a few minutes. Missing profiles fail at 0 credits.
Quick start
cURL
curl --request GET 'https://api.fetchproof.com/v1/instagram/profile?handle=natgeo' \
--header 'x-api-key: YOUR_API_KEY' JavaScript
const response = await fetch("https://api.fetchproof.com/v1/instagram/profile?handle=natgeo", {
method: 'GET',
headers: {
'x-api-key': process.env.FETCHPROOF_API_KEY,
},
});
const data = await response.json();
console.log(data); Python
import os
import requests
response = requests.get(
"https://api.fetchproof.com/v1/instagram/profile?handle=natgeo",
headers={"x-api-key": os.environ["FETCHPROOF_API_KEY"]},
)
print(response.json()) Go
package main
import (
"fmt"
"io"
"net/http"
"os"
)
func main() {
req, _ := http.NewRequest("GET", "https://api.fetchproof.com/v1/instagram/profile?handle=natgeo", nil)
req.Header.Set("x-api-key", os.Getenv("FETCHPROOF_API_KEY"))
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
} PHP
<?php
$ch = curl_init("https://api.fetchproof.com/v1/instagram/profile?handle=natgeo");
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
'x-api-key: ' . getenv('FETCHPROOF_API_KEY'),
],
]);
$response = curl_exec($ch);
curl_close($ch);
echo $response; {
"success": true,
"credits_remaining": 100,
"credits_charged": 1,
"data": {
"user": {
"biography": "Step into wonder and find your inner explorer with National Geographic 🌎",
"bio_links": [
{
"title": "",
"lynx_url": "https://l.instagram.com/?u=http%3A%2F%2Fvisitstore.bio%2Fnatgeo&e=AUArgluR-5xe6ul39yTEmNqexAmmzEH67HDVJB8nZHg1la1lsM7NMNPccysR4q4KoUipn7ho3ag2UJFBwfG3u-6tUQSbRJY06CS4gnsFrfmJKbeHW3JyvTbJd8tK6GPaRtpiq1kCoHzishXbZvkhpg",
"url": "http://visitstore.bio/natgeo",
"link_type": "external"
},
{
"title": "Subscribe Here!",
"lynx_url": "https://l.instagram.com/?u=https%3A%2F%2Fngmdomsubs.nationalgeographic.com%2Fservlet%2FOrdersGateway%3Fcds_mag_code%3DNGM%26cds_page_id%3D283562%26cds_response_key%3DI5FX10002&e=AUC9lynKrdfIdTmlgbhFkL0M_CE3l93VID0OKa3-LjE84hq9XfvZCv6rjvI8u2oXjFKi-odfuuoHKJht3Mo0ZL0zEmZjww7OELO9MlL2F12zNN8f_Vda8pgAgV4FrDSsZZQPof3JlCXva6igcnjqlg",
"url": "https://ngmdomsubs.nationalgeographic.com/servlet/OrdersGateway?cds_mag_code=NGM&cds_page_id=283562&cds_response_key=I5FX10002",
"link_type": "external"
}
],
"biography_with_entities": {
"raw_text": "Step into wonder and find your inner explorer with National Geographic 🌎",
"entities": []
},
"external_url": "http://visitstore.bio/natgeo",
"edge_followed_by": {
"count": 268108776
},
"fbid": "17841400573960012",
"edge_follow": {
"count": 195
},
"full_name": "National Geographic",
"has_clips": true,
"id": "787132",
"is_private": false,
"is_verified": true,
"profile_pic_url": "https://scontent-iad6-1.cdninstagram.com/v/t51.82787-19/683576066_18653628823019133_9051036240972105113_n.jpg?stp=dst-jpg_s150x150_tt6&ig_cache_key=GAKLvih9nsRnYEVCAJlFVLiBvZt9bmNDAQAB1501500j-ccb7-5&ccb=7-5&efg=...",
"username": "natgeo",
"pronouns": [],
"edge_owner_to_timeline_media": {
"count": null,
"page_info": {
"has_next_page": true,
"end_cursor": null
},
"edges": [
{
"node": {
"__typename": "GraphVideo",
"id": "4024784204432119856",
"shortcode": "Dfa5-jix5gw",
"display_url": "https://scontent-iad6-1.cdninstagram.com/v/t51.82787-15/888458173_18716743837019133_2210754818807639947_n.jpg?stp=dst-jpg_e35_s640x640_tt6&ccb=7-5&efg=eyJlZmdfdGFnIjoiQ0xJUFMuYmVzdF9pb...",
"owner": {
"id": "787132",
"username": "natgeo"
},
"is_video": true,
"accessibility_caption": "Video by National Geographic on November 07, 2026. May be an image of wolf and text.",
"edge_media_to_caption": {
"edges": [
{
"node": {
"text": "From harsh conditions to rival predators, these wolves face danger at every turn. But one of their greatest struggles may also be the simplest: finding enough food to survive.\n\n#WolvesUpClose with @bertiegregory is now streaming on @Disn..."
}
}
]
},
"taken_at_timestamp": 1794011687,
"product_type": "clips"
}
},
{
"node": {
"__typename": "GraphVideo",
"id": "4017311023166285121",
"shortcode": "DfAWxdIFmVB",
"display_url": "https://scontent-iad6-1.cdninstagram.com/v/t51.82787-15/865525088_18712762651019133_8954025122327073428_n.jpg?stp=dst-jpg_e35_s640x640_tt6&ccb=7-5&efg=eyJlZmdfdGFnIjoiQ0xJUFMuYmVzdF9pb...",
"owner": {
"id": "787132",
"username": "natgeo"
},
"is_video": true,
"accessibility_caption": "Video by National Geographic on October 27, 2026. May be an image of ski, glasses, ski slope and text.",
"edge_media_to_caption": {
"edges": [
{
"node": {
"text": "Even a moment’s rest on Everest can come with a reminder of just how unpredictable the mountain can be.\n\nFrom Oscar®-winning filmmakers @chaivasarhelyi and @jimmychin, EVEREST: THE OTHER SIDE, only in theaters and IMAX worldwide on Octob..."
}
}
]
},
"taken_at_timestamp": 1793120814,
"product_type": "clips"
}
},
{
"node": {
"__typename": "GraphImage",
"id": "4012207125530714429",
"shortcode": "DeuOR-CjKE9",
"display_url": "https://scontent-iad3-2.cdninstagram.com/v/t51.82787-15/858921974_18710195065019133_277441153414192961_n.jpg?stp=dst-jpg_e35_s640x640_tt6&ccb=7-5&efg=eyJlZmdfdGFnIjoiRkVFRC5iZXN0X2ltYW...",
"owner": {
"id": "787132",
"username": "natgeo"
},
"is_video": false,
"accessibility_caption": "Photo by National Geographic on October 20, 2026. May be an image of outdoors and text.",
"edge_media_to_caption": {
"edges": [
{
"node": {
"text": "Some of the best reasons to travel in 2027 are far from the usual destinations. 🌎\n\nNational Geographic’s picks for Best of the World 2027 are here and features 25 destinations across six continents. \n\nWhether you're drawn to places stee..."
}
}
]
},
"taken_at_timestamp": 1792512382,
"product_type": "feed"
}
}
]
},
"is_memorialized": false,
"latest_reel_media": 1794859980,
"threads_username": "natgeo"
}
}
} {
"success": true,
"credits_remaining": 100,
"credits_charged": 0,
"handle": "budlight",
"userId": null,
"age_restricted": true,
"error": "forbidden",
"errorStatus": 403,
"message": "Profile is age restricted"
} {
"success": true,
"credits_remaining": 100,
"credits_charged": 0,
"handle": "example_profile",
"userId": null,
"error": "not_found",
"errorStatus": 404,
"message": "Profile is restricted"
} What it returns
- success boolean
- credits_remaining integer
- credits_charged integer
- data object
- status string
- cached boolean
- cached_at string
- handle string
- userId null
- error string
Parameters
The Instagram username, with or without @
Set to true for a trimmed response.
Use a cached response this old or newer for 0 credits. If none is available, fetch live at the endpoint’s normal price.
Use cases
- Check a creator's follower count before a sponsorship
- Track an account's audience growth week over week
- Pull a brand's bio links and latest posts into a CRM
- Vet influencer profiles in bulk
- See what an account posted most recently
Billing
Errors cost zero credits, and so do cache hits through cache_max_age. Empty results follow this operation’s rules.
Default: 1 credit
An empty result costs 0 credits.
How charges are determined
Cost is decided per call, not per endpoint: the same operation can cost different amounts depending on what it returns.
A call that fails costs 0 credits. A result served from cache costs 0 credits.
`default` is the cost when no rule matches. Rules are evaluated in order and the first whose conditions all hold wins.
A `when` condition is one of: `param` (the request parameter is true), `outcome` (the classifier's outcome), `empty` / `nonEmpty` (a response field is empty and absent, or a non-empty array or string), `flag` (a response field is exactly true).
A cost of `{ perStartedMinute: n, of: [fields] }` is n x max(1, ceil(seconds / 60)), so even a short result bills at least one minute.
Guides
How to get Instagram profile data, posts and reels with an API
Get any public Instagram profile's exact follower count, bio, latest posts and reels with play counts as JSON. No login or Meta app review. 1 credit per call.
How to track creator follower growth across Instagram, TikTok and YouTube
Record follower and subscriber counts for any public creator on Instagram, TikTok and YouTube on a schedule, with one API key. 1 credit per profile check.
Related Instagram endpoints
FAQ
How much does the Instagram Profile API cost?
A call costs 1 credit by default. Errors cost 0 credits, and a cached result served through cache_max_age costs 0. New accounts get 100 free credits with no card. After that, credits come in one-time packs that never expire: 25,000 for $27 and 500,000 for $297 (plus any tax). There is no subscription.
What do I need to call it?
An API key in the x-api-key header, plus handle. You don't need a Instagram account or developer app.
What does it return?
Typed JSON. Top-level fields include data, status, cached, cached_at, handle and userId. The full schema and a real sample response are on this page and in the API reference.
Is this an official Instagram API?
No. Fetchproof is an unofficial API that returns public Instagram data only.