Answers / Instagram
How do I let Claude or ChatGPT read Instagram?
Add https://posttodata.com/mcp as a remote MCP server with an Authorization: Bearer YOUR_API_KEY header. The model gets get_user, get_user_posts, get_post, get_comments and search_posts with platform instagram. Every result carries the URL of the original post so the answer can be checked.
Instagram · user profile · $0.006 a call · one verified website trial · updated 2026-11-13
Run it live
Calls run only when you press Run. Opening this page does not spend credit.
Loading…
Your results will appear here. Choose a platform and action, then press Run.
Real API calls require verification for one trial, or a signed-in account with prepaid credit.
From code
curl "https://posttodata.com/v1/instagram/user?username=nasa&limit=5" -H "Authorization: Bearer YOUR_API_KEY"import requests
r = requests.get(
"https://posttodata.com/v1/instagram/user",
headers={"Authorization": "Bearer YOUR_API_KEY"},
params={"username": "nasa", "limit": 5},
)
for item in r.json()["data"]["items"]:
print(item["url"], item.get("text") or item.get("title"))From your AI
Claude and ChatGPT clients that support OAuth can sign in without pasting a key. Follow the client setup guide. The command below is the API-key option for Claude Code.
claude mcp add --transport http posttodata https://posttodata.com/mcp --header "Authorization: Bearer YOUR_API_KEY"Then ask
“How many followers does @nasa have on Instagram, and what are people saying under its newest post?”
The model calls get_user with platform instagram.
Good to know
- The same key and balance work for REST and MCP.
- Failed and empty upstream calls are not charged.
- Results default to compact output to keep the model's context small.
Full reference in the docs. All Instagram endpoints are on the Instagram API page.
More answers