Facebook Ad Library Ad Details
Retrieves detailed information about a specific Facebook ad by its ID or URL.
Facebook Ad Library Ad Details GET /v1/facebook/adLibrary/ad Retrieves detailed information about a specific Facebook ad by its ID or URL. Authentication: x-api-key Example URL: https://api.datawake.ai/v1/facebook/adLibrary/ad?id=702369045530963&url=https%3A%2F%2Fwww.facebook.com%2Fads%2Flibrary%3Fid%3D1185617869915074&get_transcript=false&trim=false&llm_friendly=true Parameters: - id (query · string · optional) = 702369045530963 - url (query · string · optional) = https://www.facebook.com/ads/library?id=1185617869915074 - get_transcript (query · boolean · optional) = false - trim (query · boolean · optional) = false - llm_friendly (query · boolean · optional) = true
Overview
WakeScrap exposes this Facebook Ad Library endpoint with an LLM-friendly response by default. Set llm_friendly=false to receive the full response shape.
Retrieves detailed information about a specific Facebook ad by its ID or URL. Returns adArchiveID, pageName, isActive, startDate, endDate, and a snapshot containing body, images, videos, display_format, link_url, and cta_text. For ads with multiple versions, the ad creative is found in the snapshot.cards array rather than snapshot.body.
Optional query parameters can be combined in a single request.
Headers
Your Wake API access key.
Example:
Query Parameters
Facebook Ad Id
Example:
Facebook Ad URL
Example:
Get the transcript of the ad. Only works if the video is under 2 minutes.
Example:
Set to true for a trimmed down version of the response
Example:
Defaults to true. When true, WakeScrap returns a compact LLM-friendly response. Set false to receive the full response shape.
Example: