FastSocial Instagram Data

AIアシスタント向けの読み取り専用の公開Instagramデータ:プロフィール、投稿、リール、フォロワー数、エンゲージメント、日次トップチャート。OAuthサインイン、キーの貼り付け不要。

ドキュメント

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

NameRequiredDescription
url stringOne ofPost, reel or IGTV URL.
shortcode stringOne ofCode from the post URL: instagram.com/p/{shortcode}/.
  • owner_id is the owner's user ID, the same id that /v1/profile returns.

Cases

CaseStatusCredits
Post deleted, missing or private404 not_found1
Any other error4xx or 5xx0
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
  }
}