Facebook
GET /v1/facebook/details

Facebook Details API

Get full Facebook video metadata — title, views, likes, duration, and more.

TL;DR
The Facebook Details API (Facebook) returns get full Facebook video metadata — title, views, likes, duration, and more. It's a single authenticated GET request to /v1/facebook/details that responds with clean JSON, costs 1 credit, and is cached for 24 hours (repeat calls are free). Start with 100 free credits — no credit card.

What is the Facebook Details API?

The Facebook Details API lets you fetch full metadata and engagement stats from Facebook with a single REST call. No OAuth, no scraping infrastructure, and no platform SDKs — send the URL, get clean structured JSON back. Results are cached for 24 hours, so repeat lookups are instant and free.

What you get

  • Title, description, and thumbnail URLs
  • View, like, comment, and share counts
  • Duration, publish date, and author handle
  • Stable IDs for joining with other endpoints

Try it

Fill in the parameters below and copy a ready-to-run request in your language of choice.

Parameters

curl "https://api.captapi.com/v1/facebook/details?url=https%3A%2F%2Fwww.facebook.com%2Fwatch%2F%3Fv%3D1234567890123456" \
  -H "Authorization: Bearer capt_live_..."

Edit the parameters and the code updates instantly. Switch languages and hit copy.

Example response

{
  "success": true,
  "cached": false,
  "creditsUsed": 1,
  "data": {
    "platform": "facebook",
    "url": "https://www.facebook.com/NASA/posts/pfbid02skzNsrLf5atYZfzvzHAK9gHwDnZC5u4pDZMLQ1u3iJmfoA8tNsGpT7Uj6WPs6K3Rl",
    "id": "1541753523986685",
    "caption": "Soon.\n\nLater this year, our next space telescope will launch into orbit. The Nancy Grace Roman Space Telescope will capture both the big picture and the finer details of the cosmos—observing distant celestial bodies with a field of view at least 100 times wider than Hubble’s.\n\nGet the details on Roman and its mission: https://go.nasa.gov/4x5yDID\n\nAdd Roman to your phone—download this free poster: https://go.nasa.gov/4v4CfJH",
    "description": "Soon.\n\nLater this year, our next space telescope will launch into orbit. The Nancy Grace Roman Space Telescope will capture both the big picture and the finer details of the cosmos—observing distant celestial bodies with a field of view at least 100 times wider than Hubble’s.\n\nGet the details on Roman and its mission: https://go.nasa.gov/4x5yDID\n\nAdd Roman to your phone—download this free poster: https://go.nasa.gov/4v4CfJH",
    "publishedAt": "2026-06-02T19:07:37.000Z",
    "durationSeconds": null,
    "thumbnailUrl": null,
    "videoUrl": null,
    "author": {
      "username": null,
      "displayName": "NASA",
      "url": null,
      "verified": null
    },
    "engagement": {
      "views": null,
      "likes": null,
      "comments": null,
      "shares": null
    }
  }
}

Response structure

A successful call returns success, cached, creditsUsed, and a data object with the following fields:

Video

  • idStable platform ID for the video.
  • titleVideo title.
  • authorCreator handle or channel name.
  • durationSecVideo length in seconds.
  • publishedAtPublish date (ISO 8601).

Engagement

  • viewsTotal view count.
  • likesTotal like count.
  • commentsTotal comment count.

Parameters

NameTypeRequiredDescription
urlstringYesPublic Facebook video or post URL.

Authentication: send your key as Authorization: Bearer capt_live_.... A typical call costs 1 credit. Repeat calls for the same request are served from cache for free.

Using an AI agent? This endpoint is the MCP tool facebook_details via @captapi/mcp. Set it up →

How it works

  1. 1. Sign up — get 100 free credits, no card required.
  2. 2. Create a key from your dashboard.
  3. 3. Send one request to /v1/facebook/details and parse the JSON response.

Use cases

Analytics

Track views, likes, and engagement over time.

Competitor Monitoring

Benchmark the performance of other creators.

Dashboards

Power reporting and BI with real metadata.

Content Curation

Filter and rank videos by performance.

Frequently asked questions

What does the Facebook Details API do?+

The Facebook Details API lets you fetch full metadata and engagement stats from a public Facebook video using one GET request to /v1/facebook/details. It returns clean JSON — no OAuth or scraping setup required.

How many credits does the Facebook Details API cost?+

Each successful call costs 1 credit. Responses are cached for 24 hours, and cached results cost 0 credits. Failed or empty results are never charged.

Do I need a Facebook API key or OAuth?+

No. A single Captapi key works across YouTube, TikTok, Instagram, and Facebook. We handle proxies, rate limits, retries, and authentication for you.

Is the Facebook Details API suitable for production use?+

Yes. It is a stable REST endpoint with predictable JSON, automatic retries, and a shared 24-hour cache. Use it for RAG pipelines, analytics, monitoring, and content automation.

More Facebook APIs

Ready to use the Facebook Details API?

Sign up, grab your key, and make your first call in 60 seconds.