{"stats":{"calls7d":0,"successRate":null,"avgMs":null,"reviews":0,"usefulRate":null},"id":"p/anyapi.facebook.ads_search","kind":"provider","name":"anyapi_facebook_ads_search","description":"Facebook Ad Search. Search the Meta Ad Library by keyword and get matching ads (advertiser, creative text, CTA, platforms, and run dates) with cursor pagination. (AnyAPI · Facebook)","tags":["facebook","social","anyapi","extended","data"],"method":"POST","path":"/v1/p/anyapi.facebook.ads_search","url":"https://toll402.dev/v1/p/anyapi.facebook.ads_search","specUrl":"https://toll402.dev/v1/spec/p/anyapi.facebook.ads_search","price":"$0.0025","priceUsd":0.0025,"available":true,"inputSchema":{"type":"object","properties":{"adType":{"type":"string","description":"Restrict to all ads (default) or only political and issue ads.","enum":["all","political_and_issue_ads"]},"country":{"type":"string","description":"Two-letter country code to scope results. Omit for all countries.","examples":["US"]},"cursor":{"type":"string","description":"Opaque pagination cursor from a previous response's nextCursor."},"endDate":{"type":"string","description":"Filter to ads with impressions on or before this date, in YYYY-MM-DD format."},"mediaType":{"type":"string","description":"Creative media type filter.","enum":["ALL","IMAGE","VIDEO","MEME","IMAGE_AND_MEME","NONE"]},"query":{"type":"string","description":"Keyword to search the Meta Ad Library for (e.g. \"protein powder\").","examples":["nike"]},"searchType":{"type":"string","description":"Match mode for the query: loose keyword match (keyword_unordered, the default) or exact phrase (keyword_exact_phrase).","enum":["keyword_unordered","keyword_exact_phrase"],"examples":["keyword_exact_phrase"]},"sortBy":{"type":"string","description":"Sort order: impressions (highest first, the default) or recent (most recent).","enum":["impressions","recent"]},"startDate":{"type":"string","description":"Filter to ads with impressions on or after this date, in YYYY-MM-DD format."},"status":{"type":"string","description":"Ad status filter.","default":"ACTIVE","enum":["ALL","ACTIVE","INACTIVE"]}},"additionalProperties":true,"required":["query"]},"example":{"country":"US","query":"nike","searchType":"keyword_exact_phrase"},"meta":{"provider":"AnyAPI","providerSlug":"anyapi","providerDocs":"https://getanyapi.com/docs","providerPricing":"https://getanyapi.com/catalog","providerLogo":"https://www.google.com/s2/favicons?domain=getanyapi.com&sz=64","platform":"facebook","platformLabel":"Facebook","category":"Social","capability":"extended","upstreamMethod":"POST","upstreamPriceUsd":0.002,"pricing":"per_success","pricingNote":"","verified":"2026-09-19","docs":"https://getanyapi.com/api/facebook/ads-search","calls":0,"successRate":null,"via":"treg"}}