An Instagram Graph API alternative for public data
The Instagram Graph API is built for managing your own business or creator account. It can't read personal accounts, gives limited fields for other professional accounts, and needs a Meta app and review before you start. Sourcelane reads public data from any account — start with the Instagram followers count API for profiles, the Instagram stats API for engagement, or the Instagram hashtag API for hashtag posts.
From $0.0025 per result · no API key · failed calls refunded
What you get
- Profiles, follower counts and bios for any public account
- Posts and reels with likes, comments and views
- Comments and replies on any public post
- Hashtag and location posts
- Followers and following lists
- Stories and highlights
Just ask your AI
“Pull the last 50 posts from @patagonia and tell me which reels outperformed.”
“Get the comments on this post and summarise what people are asking for.”
Sourcelane vs the Instagram Graph API
| Instagram Graph API | Sourcelane | |
|---|---|---|
| Personal accounts | Not available | Any public account |
| Other professional accounts | Basic Business Discovery fields | Profiles, posts, reels, comments and more |
| Hashtags | Limited number of unique hashtags per week | Any hashtag, priced per post |
| Followers list | Not available | Followers and following of any public profile |
| Posting, DMs and your own insights | Supported | Not supported — read-only public data |
| Setup | Meta app, Facebook Page link and app review | Connect once from Claude, ChatGPT or Cursor |
Connectors behind it
Your AI picks the right one for the question. Each is priced per result and refunded if it fails.
userIdusernamedisplayNamebiographyexternalUrlprofilePicUrlInstagram Posts & Reels Scraper$0.003 per postScrape all posts and Reels from any public Instagram profile — captions, like, comment and view counts, hashtags, media URLs, and author details.postIdshortcodepostUrlmediaTypeproductTypetakenAtInstagram Comments Scraper$0.002 per commentScrape all comments from any public Instagram post or Reel comment text, author profile, like count, and timestamp. Just paste the post URL.commentIdtextcreatedAtcreatedAtTimestamplikeCountreplyCountInstagram Hashtag Scraper$0.006 per postScrape top posts and Reels from any public Instagram hashtag. captions, engagement counts, author profiles, and media URLs.postIdshortcodepostUrlmediaTypeproductTypetakenAtInstagram Followers Scraper$0.00018 per followerExport followers or following lists from any public Instagram profile, from $0.18 per 1,000 users. Get username, name, user ID, verified and private status and profile picture. No login or cookies needed.profilePicUrlusernamedisplayNamerelationisVerifiedisPrivateInstagram Story Scraper$0.015 per resultFetch Instagram stories (images & videos) for any public profile. Returns story media URLs, timestamps, and profile metadata.usernamedisplayNameprofilePicUrlstoriesCountstoriesInstagram Scraper All-in-One$0.002 per post or reelScrape Instagram profiles, posts, reels, tagged posts, hashtags, search results, story highlights, reels by audio and video transcripts from one connector.typeidshortCodeurlmediaTypeproductTypeUse the Instagram Graph API alternative from Claude, ChatGPT or Cursor
Pick your tool and connect in under a minute. Then just ask — for example: “Pull the last 50 posts from @patagonia and tell me which reels outperformed.”
Connect Claude
Web, desktop and mobile. One click, then confirm.
- 1Click Add to Claude — claude.ai opens with Sourcelane filled in
- 2Click Continue to confirm — it then works in Claude desktop and mobile too
Manual setup (config files, REST, Python) +
Claude Code
Adds the Sourcelane MCP server with your key as a header.
claude mcp add --transport http sourcelane https://api.usesourcelane.com/mcp \
--header "Authorization: Bearer sl_live_your_agent_key"Claude Desktop (config file)
Alternative to the connector URL: add to claude_desktop_config.json, then restart Claude.
{
"mcpServers": {
"sourcelane": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"https://api.usesourcelane.com/mcp",
"--header",
"Authorization:${AUTH_HEADER}"
],
"env": {
"AUTH_HEADER": "Bearer sl_live_your_agent_key"
}
}
}
}Cursor & Windsurf
Add to ~/.cursor/mcp.json (or Windsurf's mcp_config.json).
{
"mcpServers": {
"sourcelane": {
"url": "https://api.usesourcelane.com/mcp",
"headers": {
"Authorization": "Bearer sl_live_your_agent_key"
}
}
}
}VS Code
Save as .vscode/mcp.json. VS Code prompts for your key once.
{
"servers": {
"sourcelane": {
"type": "http",
"url": "https://api.usesourcelane.com/mcp",
"headers": {
"Authorization": "Bearer ${input:sourcelane-key}"
}
}
},
"inputs": [
{
"type": "promptString",
"id": "sourcelane-key",
"description": "Sourcelane agent key",
"password": true
}
]
}ChatGPT Custom GPT (Actions)
Create a GPT → Actions → Import from URL, then Authentication: API Key, Bearer.
https://usesourcelane.com/openapi.jsonREST
One POST. Pass maxResults to cap cost.
curl -X POST https://api.usesourcelane.com/v1/call \
-H "Authorization: Bearer sl_live_your_agent_key" \
-H "Content-Type: application/json" \
-d '{"listing":"instagram-profile-scraper","params":{"usernames":["natgeo","nasa"]},"maxResults":10}'Python, LangChain, CrewAI, OpenAI Agents SDK…
Wrap the REST call as a tool, or point an MCP client at the endpoint.
import requests
res = requests.post(
"https://api.usesourcelane.com/v1/call",
headers={"Authorization": "Bearer sl_live_your_agent_key"},
json={
"listing": "instagram-profile-scraper",
"params": {"usernames":["natgeo","nasa"]},
"maxResults": 10,
},
timeout=300,
)
body = res.json()
print(body["receipt"]["chargedMicros"], "micro-USD for", body["receipt"]["results"], "results")
print(body["data"])Instagram Graph API alternative — FAQ
When should I use the Graph API instead?+
When you need to publish posts, reply to DMs or read private insights for accounts you manage. Sourcelane only reads public data.
Does it work for private accounts?+
No. Only public accounts and public posts.
Do I need a Instagram API key or developer account?+
No. Sourcelane runs the connectors for you. You top up a balance with a card, create an agent key, and your agent calls the connector — there is no Instagram app review, OAuth setup or rate-limit juggling on your side.
Which AI tools can use it?+
Anything that speaks MCP (Claude Desktop, Claude Code, Cursor, VS Code, Windsurf) can connect to the Sourcelane MCP server with one config block. ChatGPT can use it through a Custom GPT Action, and any agent framework can call the REST endpoint directly.
Can I stop an agent from overspending?+
Yes. Every agent key has its own per-call cap, daily and monthly limits, an optional lifetime budget, an allowlist of connectors, and a kill switch.

