Search
Search the Facebook (Meta) Ad Library by keyword. GET requests are capped at approximately 1,500 results due to cursor size limits. For larger result sets, use this endpoint as a POST request with the query parameters passed in the request body.
Request
- Base URL: https://api.sociavault.com
- URL: https://api.sociavault.com/v1/scrape/facebook-ad-library/search
- Auth: API key in header X-API-Key
Query parameters
Keyword to search for
Sort by impressions (high to low), or Most Recent (relevancy_monthly_grouped). Defaults to impressions.
If you want to search by exact phrase or not
Search for all ads or only political and issue ads
This can only be one country. It has to be the 2 letter code for the country. It defaults to ALL.
Status of the ad. Defaults to ACTIVE.
Media type of the ad. Defaults to ALL. Meme just means the ad has text and an image. No clue why they call it meme.
Impressions start date. Needs to be in YYYY-MM-DD format.
Impressions end date. Needs to be in YYYY-MM-DD format.
Cursor to paginate through results
Set to true for a trimmed down version of the response
Response
Successful response
Key Response Fields:
- is_active: Whether the ad is currently running
- ad_archive_id: The actual ad id
Changes
No recorded changes to this operation across all 1 revision of this API.