instagram-api

instagram-api is a skill for Claude Code, Codex from sutchan/Agent-Skills-Hub. It costs 127 tokens per session (2,400 once invoked), scanned A, original, MIT.

An HTTP API for retrieving Instagram data such as profiles, posts, reels, stories, followers, hashtags, locations, music feeds, and comments. It uses paid requests and does not require a login or browser session.

In plain words
What is it for?
Use it to look up accounts and posts, collect feeds, retrieve comments, and inspect follower or following lists through API calls.
Why use it?
It provides programmatic access to Instagram information without setting up a logged-in browser or business verification.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: positional $N argument.

Good fit Use it to look up accounts and posts, collect feeds, retrieve comments, and inspect follower or following lists through API calls.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/sutchan/agent-skills-hub/instagram-api
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add sutchan/Agent-Skills-Hub --skill instagram-api
Clone the repo
git clone --depth 1 https://github.com/sutchan/Agent-Skills-Hub

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for instagram-api

README.md
[![agentmods](https://agentmods.dev/badge/skills/sutchan/agent-skills-hub/instagram-api/github.svg)](https://agentmods.dev/skills/sutchan/agent-skills-hub/instagram-api)
Your own site
<a href="https://agentmods.dev/skills/sutchan/agent-skills-hub/instagram-api"><img src="https://agentmods.dev/badge/skills/sutchan/agent-skills-hub/instagram-api/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for instagram-api

Your own site · 80×15
<a href="https://agentmods.dev/skills/sutchan/agent-skills-hub/instagram-api"><img src="https://agentmods.dev/badge/skills/sutchan/agent-skills-hub/instagram-api.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 127 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,400 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00127 $0.02400
Opus 5 $0.00063 $0.01200
Sonnet 5 $0.00025 $0.00480
Haiku 4.5 $0.00013 $0.00240

Measured 5d ago against content hash 9ba2c61a21e2, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

instagram-api scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -H "Authorization: Bearer $FETCHER_API_KEY" \
Origin

Copies of this mod

1 near-identical copy found in the catalogue:

skills/instagram-api/SKILL.md · 230 lines

How it starts

The opening of the file, as written. The whole thing — 230 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Instagram API

Instagram data on demand: profile lookup by @handle, posts, reels, stories, tagged posts, followers and followings, hashtag and location feeds, audio/music feeds, and post comments — one plain HTTP GET per call, paid as you go. No login, no session cookies, no headless browser, no Graph API business verification.

Base URL: https://instagram.fetcher.sh

Quick reference

Base URL https://instagram.fetcher.sh
Auth Authorization: Bearer bby_live_... or x402 (USDC)
Price $0.004/call (flat)
Endpoints 16, all GET
MCP https://instagram.fetcher.sh/mcp
Machine-readable /openapi.json · /llms.txt · /skill.md

Which endpoint do I need?

I want to... Call
Look up a profile by @handle GET /api/user/handle/{handle}
Search accounts by name GET /api/user/search
Get a user's posts, reels, or stories GET /api/user/{id}/posts / /reels / /stories
Get a user's followers or followings GET /api/user/{id}/followers / /followings
Look up a post by its share-URL shortcode GET /api/post/code/{code}
Get a post's comments GET /api/post/{id}/comments
Find posts under a hashtag GET /api/hashtag/{name}/posts
Find posts tagged at a location GET /api/location/{id}/posts

Full param details for every row: references/endpoints.md.

Authentication

Two ways to pay, same data — full mechanics in the fetcher skill:

# 1. Prepaid credits (recommended — get a key at https://fetcher.sh/topup
#    or via POST /api/credits/topup, see the fetcher skill)
export FETCHER_API_KEY="bby_live_xxxxxxxxxxxx"
curl -H "Authorization: Bearer $FETCHER_API_KEY" \
  "https://instagram.fetcher.sh/api/user/handle/nasa"

# 2. x402 pay-per-call — omit the header; a GET with no payment returns 402
#    with machine-readable payment requirements (USDC on Base, Polygon,
#    Arbitrum, Monad, or Solana). @x402/fetch signs and retries automatically.

Read the full file on GitHub · 230 lines

Files

What ships with it

4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 5d ago First seen · 230 lines · 127 tokens per session scan A 9ba2c61a21e2

Subscribe to this mod's changes

instagram-api is a skill published in the GitHub repository sutchan/Agent-Skills-Hub (2 stars, last pushed yesterday), licensed MIT. It adds 127 tokens to every session and 2,400 once invoked, about $0.0006 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-04.

Related

Other skills, from other repositories

instagram-api

An Instagram API alternative on fetcher.sh — pay-per-call in USDC via x402, or prepaid credits with a Bearer key, no login and no session cookies. Use when the user wants to resolve an Instagram profile by @handle, search users by keyword, pull a profile's posts, reels, stories, tagged posts, followers, or followings…

fetcher-sh/fetcher-skills · 153 tokens

instagram-scraper

Scrape public Instagram data without logging in and without a Meta developer account — profiles, posts, reels, stories, comments, hashtags, locations, and mentions. Use when the user wants to fetch an Instagram profile's follower count, bio, or post count, pull a profile's recent posts or reels, read the comments on a…

jeniok/skills · 148 tokens

instagram-scraper

Scrape public Instagram data without logging in and without a Meta developer account — profiles, posts, reels, stories, comments, hashtags, locations, and mentions. Use when the user wants to fetch an Instagram profile's follower count, bio, or post count, pull a profile's recent posts or reels, read the comments on a…

skillify-sh/skills · 148 tokens

twitter-api

A Twitter API alternative and X API alternative on fetcher.sh — pay-per-call in USDC via x402, or prepaid credits with a Bearer key, no OAuth and no developer application. Use when the user wants to search tweets by keyword, hashtag, or advanced operators (from:, to:, since:, until:, minfaves:, filter:), scrape a…

fetcher-sh/fetcher-skills · 162 tokens

tiktok-api

A TikTok API alternative on fetcher.sh — pay-per-call in USDC via x402, or prepaid credits with a Bearer key, no login and no app review. Use when the user wants to search TikTok posts by keyword and sort by most-liked or most recent within a date range, look up a post by its share URL or ID, scrape a TikTok profile…

fetcher-sh/fetcher-skills · 160 tokens

x-api

An X API alternative and Twitter API alternative on fetcher.sh — pay-per-call in USDC via x402, or prepaid credits with a Bearer key, no OAuth and no developer application. Use when the user wants to search X posts by keyword, hashtag, or advanced operators (from:, to:, since:, until:, minfaves:, filter:), scrape an…

fetcher-sh/fetcher-skills · 164 tokens