Facebook Ad Library

Ad Transcript

Retrieves a transcript for a single Facebook Ad Library video ad by ID or URL. If Facebook exposes captions, those are used. Otherwise we try to transcribe the public video URL. Credits are only deducted when transcript is returned. If the ad has no video or no transcript is available, transcript will be null and no credit is charged.

get/v1/facebook/adLibrary/ad/transcript

Query parameters

idstring

Facebook Ad Id

urlstring

Facebook Ad URL

cache_max_age'1d' | '3d' | '7d' | '14d' | '30d'

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 Caching page for details.

Response

Successful response

Changes

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