Wake API Docs

Facebook Ad Library Ad Details

Retrieves detailed information about a specific Facebook ad by its ID or URL.

1 credit / request
GET /v1/facebook/adLibrary/ad Try it

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

x-api-key string required

Your Wake API access key.

Example:

YOUR_API_KEY

Query Parameters

id string

Facebook Ad Id

Example:

702369045530963
url string

Facebook Ad URL

Example:

https://www.facebook.com/ads/library?id=1185617869915074
get_transcript boolean

Get the transcript of the ad. Only works if the video is under 2 minutes.

Example:

false
trim boolean

Set to true for a trimmed down version of the response

Example:

false
llm_friendly boolean

Defaults to true. When true, WakeScrap returns a compact LLM-friendly response. Set false to receive the full response shape.

Example:

true