FastSocial Instagram Data API
A read-only REST API for public Instagram data: profiles, posts, reels, stories, highlights, comments, likes, followers, hashtags, locations, audio and…
Fork copies the collection into your workspace, without the publisher's secrets, so you can add your own key and send requests. Star saves it to your starred APIs (Account › Marketplace) and helps others find it.
Overview
A read-only REST API for public Instagram data: profiles, posts, reels, stories, highlights, comments, likes, followers, hashtags, locations, audio and search, plus engagement insights and a handle check. Send your key in one header and get JSON back. Public data only; it never logs in to Instagram or posts anything.
Endpoints 28
Profiles
- GETGet an Instagram profile
/v1/profileFollower, following and post counts, bio, links, category, verification and the profile picture of any public account. Cost: 1 credit. - GETInstagram username to user id
/v1/user-idThe numeric user id for a handle. Most account endpoints also take user_id directly; check, insights, stories and highlights take username only. Cost: 1 credit. - GETInstagram user id to username
/v1/username?user_id=528817151The current handle for a numeric user id, which still works after the account renames itself. Cost: 2 credits. - GETCheck if an Instagram handle exists and is public
/v1/check?username=nasaDoes this handle exist, and is it public? States: ok, not_found, private, deactivated, memorialized, age_restricted, restricted_minor. Exact match only, so a…
Posts & reels
- GETGet recent Instagram posts
/v1/posts12 posts per page with likes, comments, views, caption and media URLs. Pinned posts come first (pinned: true), the rest newest first. A private account… - GETGet an account's Instagram reels
/v1/reelsThe reels tab of a public account: play counts, likes, comments, captions and video URLs. Page with cursor. Cost: 1 credit. - GETGet posts an account is tagged in
/v1/taggedPublic posts by other accounts that tag this account. Cost: 1 credit. - GETGet one Instagram post or reel
/v1/postLikes, comments, views, caption, owner and media URLs for a single post, reel or IGTV video. Cost: 1 credit. - GETDownload URLs for a post, reel or carousel
/v1/mediaDirect image and video file URLs for every slide of a post, in the best quality available. URLs are signed Instagram CDN links that expire after a few hours.…
Engagement
- GETGet comments on an Instagram post
/v1/commentsOne page of the most recent comments on a post, newest first, with author, text, time, likes and reply count, plus the total comment count. No cursor: one… - GETGet replies to an Instagram comment
/v1/comment-replies?comment_id=17935912383123296Replies under one comment. Page with cursor. Cost: 3 credits. - GETGet accounts that liked an Instagram post
/v1/likersA sample of accounts that liked a public post, plus the total like count. One page per call with no cursor, so it is not the full list of likers. Cost: 3… - GETInstagram engagement rate calculator
/v1/insights?username=nasaEngagement rate (mean and median), posting cadence, format mix, best posting hours (UTC) and a percentile against the Instagram Benchmarks report, from the…
Network
- GETGet an account's followers
/v1/followersOne page of the accounts that follow a public account, with the total follower count. Pass next_cursor back as cursor for the next page; null means no more… - GETGet accounts an account follows
/v1/followingOne page of the accounts a public account follows, with the total. Pass next_cursor back as cursor for the next page; null means no more pages are available.… - GETFind similar Instagram accounts
/v1/similarAccounts Instagram considers related to this one. Cost: 1 credit.
Stories & highlights
- GETView Instagram stories anonymously
/v1/stories?username=nasaStories posted in the last 24 hours by a public account, with image and video URLs. Signed CDN links that expire after a few hours. Cost: 3 credits. - GETGet Instagram story highlights
/v1/highlights?username=nasaTitle, cover image and item count for each highlight. Pass an id to /v1/highlight for its items. Cost: 3 credits. - GETGet the items in one highlight
/v1/highlight?id=highlight:17960293069066406Every photo and video inside one highlight, with signed CDN URLs. Charged the first time for an account; more highlights of the same account are free (0…
Discovery
- GETSearch Instagram accounts, hashtags and places
/v1/search?q=nasaMatching accounts, hashtags (with post counts) and places (with location ids). Cost: 1 credit. - GETGet posts for an Instagram hashtag
/v1/hashtag?tag=spaceRecent posts under a hashtag and its total post count. Page with cursor. Cost: 1 credit. - GETGet an Instagram location
/v1/place?id=311693088Name, category, address, city, phone, website and post count of a location page. Find ids with /v1/search. Cost: 3 credits. - GETGet posts tagged at an Instagram location
/v1/place-posts?id=311693088Recent posts geotagged at a location. Page with cursor. Cost: 1 credit. - GETGet an Instagram audio track and the reels using it
/v1/audio?id=28784844067777520Title, artist, duration and a preview URL for an original sound or song, plus reels that use it. Audio ids come from reels. Cost: 1 credit. - GETSearch Instagram music and sounds
/v1/audio-search?q=believerFind songs and sounds by title or artist, with ids you can pass to /v1/audio. Cost: 3 credits. - GETSearch Instagram reels by keyword
/v1/reels-search?q=spaceReels matching a keyword. Page with cursor. Cost: 3 credits.
Top charts
- GETMost-followed Instagram accounts, gainers and losers
/v1/topThe same data as fastsocial.co/most-followed-instagram-accounts (Instagram Top Charts): the biggest notable public Instagram accounts ranked by followers,…
Account
- GETYour usage this month
/v1/usageFree (0 credits).
API details
- Base URL
https://data.fastsocial.co- Authentication
- An API key in the X-API-Key header
- Operations
- 28 operations on 28 pathsGET 28
- Main resources
- Discovery 7Posts & reels 5Engagement 4Profiles 4Network 3Stories & highlights 3Account 1Top charts 1
- Response formats
application/json- Description format
- OpenAPI 3.1.0, API version
1.1.1 - Links
- Documentation · OpenAPI document
- Listed from
- Fastsocial's published OpenAPI description
How to test the FastSocial Instagram Data API in Swastik Codes
- Open the APISelect “Fork & run in Swastik Codes” on this page. Sign in or create a free account if asked.
- Fork it into your workspaceChoose a workspace. You get your own copy of the FastSocial Instagram Data API collection, without the publisher's secrets.
- Add your credentialsThis API uses an API key in the X-API-Key header. Add yours in the collection's variables or an environment; the requests already reference it.
- Send a requestPick an endpoint, for example “Get an Instagram profile” (GET /v1/profile), and press Send. Check the response, add tests and run the whole collection with the runner.
Frequently asked questions
What is the FastSocial Instagram Data API?
A read-only REST API for public Instagram data: profiles, posts, reels, stories, highlights, comments, likes, followers, hashtags, locations, audio and… It is listed under Social and has 28 endpoints.
Who publishes the FastSocial Instagram Data API?
It is listed from FastSocial's public API description (an OpenAPI document), not published by FastSocial on Swastik Codes. Anyone who controls fastsocial.co can claim the profile by adding a DNS TXT record.
What is the base URL of the FastSocial Instagram Data API?
Requests go to https://data.fastsocial.co. Endpoint paths are added to this base URL.
How do I authenticate with the FastSocial Instagram Data API?
With an API key in the X-API-Key header.
How many endpoints does the FastSocial Instagram Data API have?
28 operations on 28 paths (28 GET). The largest groups are Discovery, Posts & reels, Engagement, Profiles.
Is forking the FastSocial Instagram Data API free?
Yes. Forking copies the collection into your workspace for free. It has been starred 0 times and forked 0 times.