Facebook data API

Facebook data API: pages, posts, reels, videos and comments

Read public Facebook profiles, page posts, reels, videos, active stories, post comments and search results as clean JSON, or prepare downloadable MP4 and MP3 files. One REST API, one key, no Facebook login and no app review.

100 free credits every month No credit card From 1 credit per lookup

One request, everything about a reel

cURL
curl "https://api.igramapi.com/v1/facebook/reels?url=https%3A%2F%2Fwww.facebook.com%2Freel%2F1234567890123456" \
  -H "Authorization: Bearer YOUR_API_KEY"
Response · 200 OK
{
  "id": "1234567890123456",
  "url": "https://www.facebook.com/reel/1234567890123456/",
  "caption": "Behind the scenes at the studio today",
  "created_at": 1761900000,
  "video": {
    "hd_url": "https://video.xx.fbcdn.net/v/example/clip-hd.mp4",
    "sd_url": "https://video.xx.fbcdn.net/v/example/clip-sd.mp4",
    "width": 1080,
    "height": 1920,
    "duration": 23.125,
    "thumbnail_url": "https://scontent.xx.fbcdn.net/v/example/thumb.jpg",
    "dash_manifest": "<?xml version=\"1.0\" encoding=\"UTF-8\"?><MPD xmlns=\"urn:mpeg:dash:schema:mpd:2011\" …>…</MPD>"
  },
  "author": {
    "id": "100012345678901",
    "name": "Example Studio",
    "url": "https://www.facebook.com/examplestudio",
    "avatar_url": "https://scontent.xx.fbcdn.net/v/example/avatar.jpg",
    "is_verified": true
  },
  "soundtrack": {
    "id": "889724021450209",
    "type": "LIBRARY_MUSIC",
    "title": "Example Artist · Example Song",
    "album_art": "https://scontent.xx.fbcdn.net/v/example/album.jpg",
    "is_original_audio": false
  },
  "stats": {
    "likes": 2767,
    "comments": 106,
    "shares": 16,
    "views_str": "18K"
  },
  "cached": false
}

All values above are made-up examples. Media links are temporary Facebook CDN addresses.

Endpoints

Every Facebook API on one key

Facebook Profile API

Get public Facebook profile and page details as JSON: name, category, bio, verified status, follower counts, avatar and cover photo. 1 credit per lookup.

1 credit · GET

Facebook Profile Posts API

Fetch public posts from a Facebook page or profile timeline with cursor pagination: text, media, link previews and engagement counters.

2 credits · GET

Facebook Profile Reels & Videos API

List the latest public reels or videos from any Facebook page or profile as JSON, with HD and SD MP4 links and view counts. 1 credit per call.

1 credit · GET

Facebook Reel API

Turn a Facebook reel link or fb.watch short link into JSON: caption, views, reactions, author, music and direct HD and SD MP4 links. 1 credit per reel.

1 credit · GET

Facebook Video API

Turn a Facebook video, Watch or fb.watch link into JSON: caption, views, reactions, author or page, and direct HD and SD MP4 links. 1 credit per video.

1 credit · GET

Facebook Post API

Turn a Facebook post, photo or permalink link into JSON: text, time, author, attached photos and videos, link card and reaction, comment and share counts.

2 credits · GET

Facebook Stories API

Get the active 24-hour stories of a public Facebook page or profile as JSON, with direct photo and HD/SD video links and expiry times. Every plan.

2 credits · GET

Facebook Comments API

Read public comments on a Facebook post or photo as JSON with cursor pagination: comment text, timestamp, reactions, reply counts and author details.

2 credits · GET

Facebook Search API

Search public Facebook pages, profiles, posts and videos by keyword as JSON, with type filtering and cursor pagination.

2 credits · GET

Facebook Downloader API

Turn temporary Facebook CDN video, audio or image links into stable download URLs, merge HD DASH video with sound, or extract MP3 audio.

1 to 2 credits · POST

What the Facebook API covers

These are the facts, so you can decide in a minute whether it fits your product.

DataAvailable
A public page or profile's details by username, id or linkYes
A page's public reels and videos (/profiles/reels and /profiles/videos)Yes
A page's public timeline posts with cursor paginationYes
A public reel or video from its link or an fb.watch short link: HD and SD MP4 linksYes
A public post from its link: text, time, photos, videos, link card, reactions, sharesYes
Public comments on a post or photo with cursor paginationYes
Search Facebook pages, posts and videos by keywordYes
Active 24-hour stories of a public page or profileYes
Managed MP4, merged HD DASH video, MP3 audio and image downloadsYes
Group posts, Marketplace, Events, private profiles and friends-only contentNo

Why not the official Graph API?

Meta's Graph API is designed for apps that act for the people and Pages that connect to them, and access to other pages' public content is a reviewed permission. IGramAPI is for reading a public reel, video or post from its link on demand. See the Facebook API comparison for a side by side table, or read Facebook Graph API limitations.

How it works

  1. Create a free key. Sign up, confirm your email and create a key in the dashboard.
  2. Send a link. Pass the key as a Bearer token and the link of the reel, video or post as url. Short links from the Facebook app work too.
  3. Use the JSON. Read the data, and use the MP4 links of reels and videos soon after the call, because they are temporary.

Pricing

CallCreditsPlans
Profile / page details, reels tab, videos tab1All plans
Single reel or video, with MP4 links1All plans
Single post2All plans
Profile posts, stories, comments, search (per page)2All plans
Downloader: MP3 audio or image1All plans
Downloader: video or merged HD video2All plans

Every plan includes these endpoints, starting with 100 free credits a month. See Facebook API pricing for what 1,000 calls cost on each plan.

Frequently asked questions

What does the Facebook API do?

It reads public Facebook pages, profiles, timeline posts, reels, videos, active stories, post comments and search results as JSON, and provides a managed downloader for MP4, merged HD video, MP3 audio and images.

Is there an official Facebook API I can use instead?

Meta's Graph API is built for apps that manage the Pages and accounts of people who connect to them, and reading public content of other pages needs a feature that Meta reviews and grants. It does not let a product read any public reel, video or post from its link on demand. See the comparison on this site.

Do I need a Facebook account or the owner's permission?

No. You need an IGramAPI key only. The pages and people you look up never log in or authorize anything, because only information that Facebook shows to the public is returned.

Can I get video files?

Yes. The reel and video endpoints return direct HD and SD MP4 links and DASH streams, and POST /v1/facebook/downloads merges HD DASH video+audio or extracts MP3s into browser-ready download links.

Does it work with the short links copied from the Facebook app?

Yes. fb.watch links and facebook.com/share/ links are followed to the reel, video or post.

How much does it cost?

Profiles, profile reels/videos, single reels and single videos cost 1 credit on all plans. Single posts cost 2 credits on all plans. Profile posts, stories, comments and search cost 2 credits on all plans.

What if Facebook cannot be reached?

The request returns HTTP 502 with the code upstream_error and is not charged. Retry after a short pause.

Is IGramAPI affiliated with Facebook or Meta?

No. IGramAPI is an independent service and is not affiliated with, endorsed by or sponsored by Facebook or Meta Platforms, Inc.

Am I allowed to use the data and the videos?

You are responsible for using them lawfully and in line with Facebook's terms, privacy law and the rights of the people and pages concerned. Download only content you have the right to use, and read our Acceptable Use Policy before you build.

Guides

Also see: Facebook Scraper API · Facebook API pricing · Facebook video downloader apps · endpoint reference

Compare: Facebook Graph API alternative

Try the Facebook API free

Create a key and make your first request in minutes. 100 free credits every month.