FastSocial Instagram Data
Read-only public Instagram data for AI assistants: profiles, posts, reels, follower counts, engagement and daily top charts. OAuth sign-in, no key to paste.
Documentation
Get a post
GET /v1/post | 1 credit Copy for AI
Returns counts, caption, owner and media URLs for one post, reel or IGTV video.
Query parameters
| Name | Required | Description |
|---|---|---|
url string | One of | Post, reel or IGTV URL. |
shortcode string | One of | Code from the post URL: instagram.com/p/{shortcode}/. |
owner_idis the owner's user ID, the sameidthat/v1/profilereturns.
Cases
| Case | Status | Credits |
|---|---|---|
| Post deleted, missing or private | 404 not_found | 1 |
| Any other error | 4xx or 5xx | 0 |
curl "https://data.fastsocial.co/v1/post?shortcode=DeTUk4sDSp-" \
-H "X-API-Key: $FASTSOCIAL_API_KEY"
import os
import requests
r = requests.get(
"https://data.fastsocial.co/v1/post",
params={"shortcode": "DeTUk4sDSp-"},
headers={"X-API-Key": os.environ["FASTSOCIAL_API_KEY"]},
timeout=30,
)
r.raise_for_status()
print(r.json()["data"])
// Node 18+ (built-in fetch). Run as an ES module: node app.mjs
const url = new URL("https://data.fastsocial.co/v1/post");
url.search = new URLSearchParams({ shortcode: "DeTUk4sDSp-" });
const res = await fetch(url, { headers: { "X-API-Key": process.env.FASTSOCIAL_API_KEY } });
const { ok, data, error } = await res.json();
if (!ok) throw new Error(error.code);
console.log(data);
200 OK
{
"ok": true,
"data": {
"shortcode": "DeTUk4sDSp-",
"url": "https://www.instagram.com/p/DeTUk4sDSp-/",
"taken_at": 1791645302,
"format": "reel",
"likes": 715212,
"comments": 7117,
"views": 10426997,
"caption": "POV: you're watching the Earth set\n\nWe just released hundreds of new images…",
"image_url": "https://scontent.cdninstagram.com/…/cover.jpg?…",
"video_url": "https://scontent.cdninstagram.com/…/clip.mp4?…",
"pinned": false,
"owner_username": "nasa",
"owner_id": "528817151"
},
"meta": {
"cache": "miss",
"age_seconds": 0,
"stale": false,
"credits": 1,
"credits_remaining": 21
}
}