instagram-api

instagram-api is a skill for Claude Code, Codex from sutchan/Agent-Skills-Hub. It costs 127 tokens per session (2,350 once invoked), scanned A, a copy of instagram-api, 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,350 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 92% copy Near-identical to another mod 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.02350
Opus 5.5 $0.00051 $0.00940
Sonnet 5.5 $0.00025 $0.00470
Haiku 4.5 $0.00013 $0.00235

Measured 18d ago against content hash f5c3b6961928, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 18d 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

This is a copy

92% identical to instagram-api — 34 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

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

How it starts

The opening of the file, as written. The whole thing — 219 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 · 219 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. 18d ago Changed · -1 lines f5c3b6961928
  2. 24d ago Changed · -9 lines · -26 tokens per session 1d212c4d07cf
  3. 1mo ago Changed · -1 lines · +26 tokens per session a91726cc1899
  4. 1mo 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 2d ago), licensed MIT. It adds 127 tokens to every session and 2,350 once invoked, about $0.0005 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). It is 92% identical to instagram-api, differing in 34 lines, and is treated as a copy.

Related

Other skills, from other repositories

api-design

Design and review intuitive, scalable, maintainable HTTP APIs. Use this skill whenever the user wants to design a new REST API, review an existing API or spec, write OpenAPI 3.x definitions, or work with HTTP semantics (GET/POST/PUT/PATCH/DELETE), status codes, idempotency (Idempotency-Key), error envelopes (RFC 7807…

svngoku/coding-agents-skills · 144 tokens

microservices-patterns

Decompose systems into microservices and apply canonical distributed-systems patterns. Use this skill whenever the user wants to split a monolith into services, design service boundaries, choose between microservices and a modular monolith, implement sagas or the outbox pattern, set up CQRS or event sourcing…

svngoku/coding-agents-skills · 121 tokens

ddd

Domain-Driven Design system for software development. Use when designing new systems with DDD principles, refactoring existing codebases toward DDD, generating code scaffolding (entities, aggregates, repositories, domain events), facilitating Event Storming sessions, creating bounded context maps, or performing code…

svngoku/coding-agents-skills · 137 tokens

feature-workflow

Phased workflow for delivering a Drupal feature or non-trivial change: plan, implement, review, test, finalize. Use when building a new custom module, adding a route/form/plugin, changing entity structure or schema, or any task touching more than a couple of files. Do NOT use for typo fixes, CSS tweaks, or single-line…

siva01c/claude-plugins · 101 tokens

drupal-module-development

Use when creating or extending Drupal 11 custom modules, including scaffolding, service architecture, and dependency injection best practices.

siva01c/claude-plugins · 29 tokens

php-codeigniter-patterns

Guides CodeIgniter 4 application architecture — Controllers, Models (Query Builder, not an ORM), Entities, the Validation library, Filters (CI4's middleware equivalent), and Services. Use when building a CI4 controller or route, working with a CI4 Model or Entity, wiring a Filter to a route group, or adding a custom…

shennawardana23/skillme · 78 tokens