Docs menu

Facebook profile reels

Beta GET /v1/facebook/profile/reels

GET /v1/facebook/profile/reels

Up to 10 reels a page: id, URL, view count (Facebook's rounded public badge, so 27K becomes 27000), description, time, video URL, duration and music. For exact counts, call post per reel.

  • Cost: 1 credit
  • Status: Beta. Built and tested against recorded responses; the shape may still gain fields.
  • Cache: Results are kept up to 30 days; send max_age_days to reuse them for free.
  • Timeout: A request still running after about 25 seconds answers 202 with a job to poll (Batch and jobs).

Parameters#

NameTypeRequiredDescription
urlURLyesProfile or page URL. Accepted hosts: facebook.com, fb.com, fb.watch.

Every request also accepts:

  • cursor: the cursor from the previous page (Pagination).
  • trim: true for a smaller response without null fields and extra.
  • raw: true to also get the platform's original object as raw.
  • max_age_days: accept a cached result up to this many days old, for 0 credits (Caching).

Example request#

Set your key in the environment first (see Authentication).

curl
curl -G "https://api.socialscrape.io/v1/facebook/profile/reels" \
  -H "x-api-key: $SOCIALSCRAPE_API_KEY" \
  --data-urlencode "url=https://www.facebook.com/nike"
Python
import os
import requests

params = {
    "url": "https://www.facebook.com/nike",
}
res = requests.get(
    "https://api.socialscrape.io/v1/facebook/profile/reels",
    headers={"x-api-key": os.environ["SOCIALSCRAPE_API_KEY"]},
    params=params,
)
body = res.json()

if body["ok"]:
    print(body["data"])
else:
    print(body["error"]["code"], body["error"]["message"])
TypeScript
const url = new URL("https://api.socialscrape.io/v1/facebook/profile/reels");
url.search = new URLSearchParams({
  "url": "https://www.facebook.com/nike"
}).toString();
const res = await fetch(url, {
  headers: { "x-api-key": process.env.SOCIALSCRAPE_API_KEY! },
});
const body = await res.json();

if (body.ok) {
  console.log(body.data);
} else {
  console.error(body.error.code, body.error.message);
}
n8n
{
  "nodes": [
    {
      "name": "SocialScrape Facebook profile reels",
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 4.2,
      "position": [
        0,
        0
      ],
      "parameters": {
        "method": "GET",
        "url": "https://api.socialscrape.io/v1/facebook/profile/reels",
        "sendQuery": true,
        "queryParameters": {
          "parameters": [
            {
              "name": "url",
              "value": "https://www.facebook.com/nike"
            }
          ]
        },
        "sendHeaders": true,
        "headerParameters": {
          "parameters": [
            {
              "name": "x-api-key",
              "value": "={{ $env.SOCIALSCRAPE_API_KEY }}"
            }
          ]
        }
      }
    }
  ],
  "connections": {}
}

Example response#

This is a sample from a recorded response, lists and long text are shortened. Status 200.

{
  "ok": true,
  "credits_charged": 1,
  "credits_remaining": 4999,
  "cached": false,
  "cached_at": null,
  "request_id": "req_c0c9d6a225ef30bb273b7353",
  "data": {
    "object": "list",
    "items": [
      {
        "object": "post",
        "platform": "facebook",
        "id": "2166091230582141",
        "url": "https://www.facebook.com/reel/2166091230582141",
        "type": "reel",
        "author": {
          "id": "100044541544829",
          "handle": "nike",
          "name": "Nike",
          "url": "https://www.facebook.com/nike",
          "avatar_url": "https://scontent-phl2-1.xx.fbcdn.net/v/t39.30808-1/284964043_10159903868513445_7696353984967674128_n.jpg?stp=cp0_dst-jpg_tt6&cstp=mx400x400&ctp=s40x40&_nc_cat=1&ccb=1-7&_nc_sid=2d3e12&_nc_ohc=QiTzxIgVfoIQ7kNvwGIpB6V&_nc_oc=AdqzhXE72AEstMesC...",
          "verified": true
        },
        "title": null,
        "text": null,
        "published_at": null,
        "duration_seconds": 30.025,
        "language": null,
        "hashtags": null,
        "mentions": null,
        "stats": {
          "views": 3700000,
          "likes": null,
          "comments": null,
          "shares": null,
          "saves": null,
          "dislikes": null
        },
        "media": {
          "thumbnail_url": "https://scontent-phl2-1.xx.fbcdn.net/v/t51.82787-10/549104239_18565912819020081_2330706867671026439_n.jpg?stp=dst-jpg_tt6&cstp=mx1080x1920&ctp=s960x960&_nc_cat=101&ccb=1-7&_nc_sid=50ce42&_nc_ohc=HVhYyHjJvMkQ7kNvwH2fmZD&_nc_oc=AdqzJbc4dWyovq...",
          "video_url": "https://video-phl2-1.xx.fbcdn.net/o1/v/t2/f2/m86/AQNrPdap6OftBP5OG6byX9Zra9AIeTlJgFFSnCnQtKX-YrtZwceyclf7S_s9vyochvQvd5rnHPfbDksk867PaxJsnJKbOjIMokT-UHM.mp4?_nc_cat=103&_nc_sid=5e9851&_nc_ht=video-phl2-1.xx.fbcdn.net&_nc_ohc=hbem2Qqlov8Q7kN...",
          "audio_url": null,
          "image_urls": null,
          "width": 1080,
          "height": 1920
        },
        "song": {
          "id": "795820239655851",
          "title": "Nike · Original audio",
          "artist": null,
          "url": null
        },
        "location": null,
        "is_pinned": null,
        "is_sponsored": null,
        "extra": {
          "media_urls_expire_at": "2026-10-31T12:33:48Z",
          "sound_type": "CUSTOM_AUDIO",
          "source": "logged_out_public_view",
          "views_display": "3.7M",
          "views_note": "rounded as Facebook shows it; call post for exact counts"
        }
      },
      {
        "object": "post",
        "platform": "facebook",
        "id": "752115997659579",
        "url": "https://www.facebook.com/reel/752115997659579",
        "type": "reel",
        "author": {
          "id": "100044541544829",
          "handle": "nike",
          "name": "Nike",
          "url": "https://www.facebook.com/nike",
          "avatar_url": "https://scontent-phl2-1.xx.fbcdn.net/v/t39.30808-1/284964043_10159903868513445_7696353984967674128_n.jpg?stp=cp0_dst-jpg_tt6&cstp=mx400x400&ctp=s40x40&_nc_cat=1&ccb=1-7&_nc_sid=2d3e12&_nc_ohc=QiTzxIgVfoIQ7kNvwGIpB6V&_nc_oc=AdqzhXE72AEstMesC...",
          "verified": true
        },
        "title": null,
        "text": null,
        "published_at": null,
        "duration_seconds": 30.03,
        "language": null,
        "hashtags": null,
        "mentions": null,
        "stats": {
          "views": 2700000,
          "likes": null,
          "comments": null,
          "shares": null,
          "saves": null,
          "dislikes": null
        },
        "media": {
          "thumbnail_url": "https://scontent-phl2-1.xx.fbcdn.net/v/t51.82787-10/548838919_18565615666020081_158902364425729178_n.jpg?stp=dst-jpg_tt6&cstp=mx1080x1920&ctp=s960x960&_nc_cat=104&ccb=1-7&_nc_sid=50ce42&_nc_ohc=GyyfrFhPcT8Q7kNvwF4SH25&_nc_oc=AdquGBuKDNkyM0f...",
          "video_url": "https://video-phl2-1.xx.fbcdn.net/o1/v/t2/f2/m86/AQMbeHcXo9hAKjLtybBL5F-u9ckGBATrpoefzASDmb2UPx3DEMR89UOccphdiplLAzwbvDVuFotIM9f2rO29fuO5_qwpsjHElCdfp80.mp4?_nc_cat=103&_nc_sid=5e9851&_nc_ht=video-phl2-1.xx.fbcdn.net&_nc_ohc=Y7b_TCj36D0Q7kN...",
          "audio_url": null,
          "image_urls": null,
          "width": 1080,
          "height": 1920
        },
        "song": {
          "id": "757313750459243",
          "title": "Nike · Original audio",
          "artist": null,
          "url": null
        },
        "location": null,
        "is_pinned": null,
        "is_sponsored": null,
        "extra": {
          "media_urls_expire_at": "2026-10-31T09:40:48Z",
          "sound_type": "CUSTOM_AUDIO",
          "source": "logged_out_public_view",
          "views_display": "2.7M",
          "views_note": "rounded as Facebook shows it; call post for exact counts"
        }
      }
    ],
    "cursor": null,
    "has_more": false,
    "parent": null
  },
  "cursor": null,
  "has_more": false
}

Response#

A list of Post objects in data.items, with data.cursor and data.has_more.

See Data models for every field. The envelope around data is described in Responses.

Errors#

Failures are free: credits_charged is 0. Branch on error.code, never on the message.

CodeHTTPRetryMeaning
invalid_params400noA parameter is missing, unknown or has the wrong type.
unsupported_url400noThe URL is not one this endpoint accepts (wrong platform or form).
not_found404noThe platform says this profile, post or item does not exist.

Every request can also fail with the account and platform errors listed on the Errors page.