facebookAdLibrary

Ad Transcript

Get the transcript for a Facebook Ad Library video ad by ad ID or URL. Provide either id or url. Credits are only charged when a transcript is returned — if the ad has no available transcript, the request costs 0 credits.

get/v1/scrape/facebook-ad-library/ad/transcript

Request

  • Base URL: https://api.sociavault.com
  • URL: https://api.sociavault.com/v1/scrape/facebook-ad-library/ad/transcript
  • Auth: API key in header X-API-Key

Query parameters

idstring
Example:1020359190509080

Facebook Ad ID (provide either id or url)

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

Facebook Ad URL (provide either id or url)

Response

Successful response

Key Response Fields:

  • data.transcript: The transcript text extracted from the ad's video
  • data.transcript_available: Whether a transcript was available (true when one is returned). Credits are only charged when a transcript is returned.
  • data.ad_id: The Facebook Ad ID
  • data.url: The Facebook Ad Library URL for the ad

Changes

No recorded changes to this operation across all 1 revision of this API.