PeumeAPI

Ads · Instagram

Facebook ad library video ad transcript by id or URL

Retrieves a transcript for a single Facebook Ad Library video ad by ID or URL.

$0.0028 per callUsually answers in a few seconds

Call it

curl https://api.peume.com/v1/call/instagram-facebook-ad-library-video-ad-transcript-by-id \
  -H "Authorization: Bearer $PEUME_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "input": {
    "id": "1020359190509080",
    "url": "https://www.facebook.com/ads/library?id=1020359190509080",
    "cache_max_age": "7d"
  }
}'

Answer: {"id": "run_…", "status": "completed", "cost_usd": …, "output": {…}}. Long jobs answer 202 with a run id to read later. From an AI agent, connect the MCP server and ask for this by name: instagram-facebook-ad-library-video-ad-transcript-by-id.

Parameters

idstring

Facebook Ad Id

Example: 1020359190509080

urlstring

Facebook Ad URL

Example: https://www.facebook.com/ads/library?id=1020359190509080

cache_max_agestring

If we have a response in the cache that is this many days old or newer, return the cached response (0 credits, with "cached": true and a "cached_at" timestamp). Otherwise, scrape a live result (1 credit). [See the Cac...

Example: 7d

Start free · $1 of calls included

Every API your product needs. One key.

7,267 endpoints, one bill, and you only pay for calls that work.