Search Options

Facebook Ads

POST /api/fbads/lists — advertisers from the Facebook Ad Library with their page, ads count, website and email.

FieldTypeNotes
modestring"search" (keyword + country) or "url" (an Ad Library link). Default search.
keywordstringWords in the ads (search mode).
urlstringAn Ad Library URL (url mode).
countrystringTwo-letter code (54 supported, e.g. US, GB, CA, AU, DE, FR, IN, BR…).
maxResultsinteger1–1000 ads read. Default 100.
filters.activeStatusstringACTIVE, ALL or INACTIVE. Default ACTIVE.
filters.adTypestringALL, POLITICAL_AND_ISSUE_ADS, HOUSING, EMPLOYMENT, CREDIT. Default ALL.
filters.searchTypestringKEYWORD_UNORDERED or KEYWORD_EXACT_PHRASE. Default KEYWORD_UNORDERED.
curl -X POST https://prospectcheap.com/api/fbads/lists \
  -H "Authorization: Bearer pc_live_your_key" \
  -H "Content-Type: application/json" \
  -d '{"mode":"search","keyword":"roof replacement","country":"US","maxResults":100,"filters":{"activeStatus":"ACTIVE"}}'

Then

The response has list.id. Poll GET /api/fbads/lists/{id} until list.status is completed (or failed); the results are under pages. See Search Status, Filter & Paginate and Export CSV.

Credits: one per result found. The most the search could cost is reserved when it starts; what isn't used comes back when it finishes.

Facebook Ads — Prospect Cheap Docs