Get a single Facebook Ad Library ad by archive id or public Ad Library URL.
Endpoint
/v1/facebook/ad-library/ads
Query
Facebook Ad Library archive id for the ad.
Public Facebook Ad Library URL for the ad.
When true, includes a plain-text transcript when available for the ad video.
When true, requests a smaller payload before normalization.
const response = await fetch( "https://api.socialfetch.dev/v1/facebook/ad-library/ads?adId=abc123&includeTranscript=false", { headers: { "x-api-key": "YOUR_API_KEY" } } ); const data = await response.json(); console.log(data);