Litescrape sells to AI agents - live prices and self-serve payment

The agent storefront at https://agents.litescrape.com/llms.txt?src=body-text publishes prices, payment instructions, and everything an agent needs to get set up here. Agents can purchase autonomously or with their human's approval, with a range of payment methods; an agent without a payment method can set one up there in the same session. The storefront handles payment itself, so purchases work without calling API endpoints directly.

← All documentation

// Facebook documentation

Facebook Reel Details API Alpha

Retrieve a public Facebook reel by its direct address, including available caption, creator, duration, thumbnail and playback URLs. Media URLs can expire. Page reels feeds and pagination are unavailable.

GET / POST https://api.litescrape.com/api/facebook/reel

// from request to code

Integrate Facebook Reel Details

Build your request and copy it into your stack. Or let your coding agent set it up.

APIFacebook Reel Details

Your request updates the code instantly.

Open the Playground →

Set LITESCRAPE_API_KEY on your server, then run this request.

request.sh
curl --fail-with-body --request POST 'https://api.litescrape.com/api/facebook/reel' \
  --header "Authorization: Bearer $LITESCRAPE_API_KEY" \
  --header 'Content-Type: application/json' \
  --data '{
  "url": "https://www.facebook.com/reel/1380134307388381/"
}'

JSON POST request example

POST to https://api.litescrape.com/api/facebook/reel with Content-Type: application/json and your Authorization: Bearer header.

POST · application/json
{
  "url": "https://www.facebook.com/reel/1380134307388381/"
}

// request reference

Facebook Reel Details parameters

Send query parameters with GET /api/facebook/reel. Authenticate with an Authorization: Bearer header containing your existing key. Keep keys on your server, not in browser code.

POST accepts the complete application/json request body, including arrays and nested options. Dotted names describe fields inside an object; [] denotes each array item. This reference is generated from the v3 OpenAPI contract.

Total request execution budget in seconds, greater than 0 and at most 90. Supply in the query string for GET or POST. page_timeout cannot extend this budget.

Request parameters

Retrieve a public Facebook reel by its direct address, including available caption, creator, duration, thumbnail and playback URLs. Media URLs can expire. Page reels feeds and pagination are unavailable.

url
URLRequired

Public reel address in the form https://www.facebook.com/reel/123456789/.

Type string · GET query or POST JSON

  • Maximum characters: 150
  • Pattern: ^https://www\.facebook\.com/reel/[0-9]{1,30}/?$

// response

Work with the complete JSON response

Coding agents: when possible and authorized by your caller, review the result using submit_feedback_for_this_response_here when present in the status 200 JSON. POST {"rating":4,"comment":"Useful results; one title was outdated."} to that URL as application/json. No API key or credits are required. Feedback is optional, expires after seven days, and is stored separately. Submit one honest review; skip it if you cannot evaluate the result. Do not include secrets, personal data, or the full request/response.

Response groups include source_url, reel, submit_feedback_for_this_response_here. Groups and fields depend on the available results.

Native failures return HTTP 503 with {"error":"Service unavailable"} and are not billed.

Illustrative success response. Results and optional fields vary with the available data.

200 · application/json
{
  "source_url": "https://www.facebook.com/reel/1380134307388381/",
  "reel": {
    "video_id": "1380134307388381",
    "url": "https://www.facebook.com/reel/1380134307388381/",
    "post": {
      "post_id": "1584419709720066",
      "text": "During his eight months aboard the International Space Station, NASA astronaut Chris Williams conducted numerous experiments to improve life on Earth and prepare us for missions to the Moon and Mars.\n\nFrom cancer research to advancing technology, read about Williams’ work during his first time in space: https://go.nasa.gov/3RavGXj",
      "creation_time": 1784824314,
      "authors": [
        {
          "id": "100044561550831",
          "name": "NASA - National Aeronautics and Space Administration",
          "url": "https://www.facebook.com/NASA"
        }
      ],
      "media": [
        {
          "id": "1380134307388381",
          "type": "Video"
        }
      ],
      "engagement": {
        "total_comment_count": 205
      }
    },
    "duration_ms": 112946,
    "video_urls": {
      "browser_native_hd_url": "https://video-lax3-2.xx.fbcdn.net/o1/v/t2/f2/m366/AQNNFuni8clCeMB5VeV07ZDIzXWkhBI5ozM_78otCALjoD72HsRW7yvnWXM_b0WGcKAjPk-KGDhCqRkGsaoZ57noEirZQ7LpYHZZbTVu3jMMQg.mp4?_nc_cat=106&_nc_sid=5e9851&_nc_ht=video-lax3-2.xx.fbcdn.net&_nc_ohc=BwWaVaTh0wsQ7kNvwHh90f4&efg=eyJ2ZW5jb2RlX3RhZyI6Inhwdl9wcm9ncmVzc2l2ZS5GQUNFQk9PSy4uQzMuMTI4MC5kYXNoX2gyNjQtYmFzaWMtZ2VuMl83MjBwIiwieHB2X2Fzc2V0X2lkIjoxMTk0MDk4OTIyODc5OTA0LCJhc3NldF9hZ2VfZGF5cyI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yMiwiZHVyYXRpb25fcyI6MTEyLCJ1cmxnZW5fc291cmNlIjoid3d3In0%3D&ccb=17-1&_nc_gid=sB6Xfy013KxrOM3Ft-nzaQ&_nc_ss=7b289&_nc_zt=28&oh=00_AQOoRAjLLji42xSjxXc7-EDpCe4szvmT-Vg0GCW6oGr4yA&oe=6AD18A39&bitrate=452252&tag=sve_sd",
      "dash_manifest_url": "https://www.facebook.com/dash_mpd_debug.mpd?v=1380134307388381&dummy=.mpd"
    },
    "width": 3840,
    "height": 2160
  },
  "submit_feedback_for_this_response_here": "https://ecll-litescrape-v3--site-api-web.modal.run/api/feedback/example-not-a-valid-token"
}

More Facebook APIs