Instagram API
БесплатноБез исполняемых скриптовНе проверенRead public Instagram data: profiles (followers, bio, business contact), a profile's posts, reels and story highlights, one post's details, reels by audio…
от socialapishub82 установки в других каталогахОб этом скилле
Instagram API (SocialAPIs)
Public Instagram profiles, posts, reels, highlights and places as JSON. One API key, no Instagram login, no Graph API app.
- Website: https://socialapis.io · this API: https://socialapis.io/api-sources/instagram-profile-details
- Free API key: https://socialapis.io/auth/signup (200 credits a month, no card)
- Free Instagram follower count, no signup: https://socialapis.io/tools/instagram-follower-count
- Every parameter: references/endpoints.md · OpenAPI: https://socialapis.io/openapi.json · llms.txt: https://socialapis.io/llms.txt
Setup
- The user needs an API key from https://socialapis.io/dashboard.
- Read it from the environment,
SOCIALAPIS_API_KEY. Never hard-code it, print it, or ask the user to paste it into the chat. If it is missing, tell the user to set it. - Send it in the
x-api-tokenheader, never in the URL.
If SocialAPIs MCP tools are available in this session (facebook_page, facebook_ads, instagram_profile, …), use them instead of raw HTTP. Hosted MCP server: https://mcp.socialapis.io/mcp.
Making a call
curl -s -H "x-api-token: $SOCIALAPIS_API_KEY" \
"https://api.socialapis.io/instagram/profile/details?username=nike"
import os, requests
r = requests.get(
"https://api.socialapis.io/instagram/profile/details",
params={"username": "nike"},
headers={"x-api-token": os.environ["SOCIALAPIS_API_KEY"]},
timeout=120,
)
r.raise_for_status()
data = r.json()
SDKs: Python pip install socialapis-sdk, JavaScript npm install socialapis-sdk, PHP composer require socialapishub/socialapis.
Endpoints
All GET, base URL https://api.socialapis.io. Each link opens the endpoint's page with a live example.
| Endpoint | What it returns | Credits |
|---|---|---|
/instagram/user/id |
Resolve an Instagram username or profile URL to its two IDs: user_id (long, e.g. | 1 credit per call |
/instagram/profile/details |
Get an Instagram profile by username: bio, follower and post counts, verification status and related profiles. | 1 credit per call |
/instagram/profile/posts |
List an Instagram profile's posts (photos, videos, carousels) with captions, like and comment counts and media URLs. | 1 credit per call |
/instagram/profile/reels |
List an Instagram profile's reels with play counts, captions, video URLs and audio metadata. | 1 credit per call |
/instagram/profile/highlights |
List an Instagram profile's story highlights with titles, cover images and highlight IDs. | 1 credit per call |
/instagram/highlight/details |
Get the stories inside one Instagram highlight. | 1 credit per call |
/instagram/post/id |
Extract the shortcode from an Instagram post or reel URL. | 1 credit per call |
/instagram/post/details |
Get one Instagram post or reel in full: caption, media URLs, engagement counts, timestamp and owner. | 1 credit per call |
/instagram/reels/feed |
Get Instagram's recommended and trending reels. | 1 credit per call |
/instagram/reels/audio |
List Instagram reels that use a given sound. | 1 credit per call |
/instagram/search |
Search Instagram by keyword and get the top matching users, hashtags and places. | 1 credit per call |
/instagram/location/posts |
List Instagram posts tagged at a location: top posts (tab=ranked) or most recent (tab=recent). | 1 credit per call |
/instagram/location/nearby |
List Instagram places near a given location, with name, category, coordinates and post count. | 1 credit per call |
Things that matter
- Two IDs per profile.
/instagram/user/idreturns the longuser_id(for/instagram/profile/postsand/instagram/profile/reels) and the shortpk(for/instagram/profile/highlights, which still calls ituser_id). The wrong one returns nothing. - One post:
/instagram/post/details?shortcode=<code>, the code being the part after/p/or/reel/in its URL. - Engagement rate = (likes + comments) / followers over the last 9 to 12 posts; use the median per post so one viral post does not decide it.
- Credits: the response headers
X-SocialAPIs-Credits-Deductedand `X-SocialAPIs-Credit
Установить Instagram API в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл Instagram API?
Read public Instagram data: profiles (followers, bio, business contact), a profile's posts, reels and story highlights, one post's details, reels by audio, places and the posts at a place, and Instagram search, through the SocialAPIs REST API. Use for influencer or creator research, competitor monitoring, engagement analysis, or code that reads public Instagram without the Graph API.
Как установить скилл Instagram API?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл Instagram API запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic