ScrapeCreatorsMeta AdsAdvertising

Search Facebook ad library ads by keyword

scrapecreators.x.v1-facebook-adlibrary-search-ads

Searches the Meta Ad Library by keyword and returns matching ads.

Price
$0.00188/callプロバイダー原価
Success rate
—成功率データはまだありません成功率データはまだありません
Latency p50
——
Last verified
—Not verified yet
GEThttps://toolswitch.dev/v1/tools/scrapecreators.x.v1-facebook-adlibrary-search-ads?query=runningPreview
Try online近日公開Provider docs ↗
  • Uses platform quota
  • Synchronous response
  • Reads public data

パラメータ

sort_by is order-only: ranking by total_impressions does not mean the response carries verified spend or impression counts. Search may return a non-null collation_count that is null on scrapecreators.x.v1-facebook-adlibrary-ad detail for the same ad — grouping semantics differ between search and detail; do not treat collation_count as creative-variant or budget counts.

パラメータ型必須説明例
クエリパラメータ
trim真偽値任意Set to true for a trimmed down version of the responsefalse
query文字列必須Keyword to search forrunning
cursor文字列任意Cursor to paginate through resultsAQHRYLVDkoMkvGv7yK1rcce-vJmKiKv330R4v3j9KHSOaYvmF1bq1QkotG0rgW8Fkrj-
status文字列任意Status of the ad. Defaults to ACTIVE.ACTIVE
ad_type文字列任意Search for all ads or only political and issue adsall
country文字列任意This can only be one country. It has to be the 2 letter code for the country. It defaults to ALL.ALL
sort_by文字列任意Order only. One of: total_impressions | relevancy_monthly_grouped. Defaults to impressions ranking (total_impressions). Controls result ORDER, not verified performance — does not guarantee non-null spend, impressions_text, or a positive impressions_index. Those fields are often null / -1 for commercial ads and are not verified performance metrics.total_impressions
end_date文字列任意Impressions end date. Needs to be in YYYY-MM-DD format.2025-02-16
media_type文字列任意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.ALL
start_date文字列任意Impressions start date. Needs to be in YYYY-MM-DD format.2025-01-05
search_type文字列任意If you want to search by exact phrase or notkeyword_unordered
  • クエリパラメータ
  • trim真偽値任意

    Set to true for a trimmed down version of the response

    例:false

  • query文字列必須

    Keyword to search for

    例:running

  • cursor文字列任意

    Cursor to paginate through results

    例:AQHRYLVDkoMkvGv7yK1rcce-vJmKiKv330R4v3j9KHSOaYvmF1bq1QkotG0rgW8Fkrj-

  • status文字列任意

    Status of the ad. Defaults to ACTIVE.

    例:ACTIVE

  • ad_type文字列任意

    Search for all ads or only political and issue ads

    例:all

  • country文字列任意

    This can only be one country. It has to be the 2 letter code for the country. It defaults to ALL.

    例:ALL

  • sort_by文字列任意

    Order only. One of: total_impressions | relevancy_monthly_grouped. Defaults to impressions ranking (total_impressions). Controls result ORDER, not verified performance — does not guarantee non-null spend, impressions_text, or a positive impressions_index. Those fields are often null / -1 for commercial ads and are not verified performance metrics.

    例:total_impressions

  • end_date文字列任意

    Impressions end date. Needs to be in YYYY-MM-DD format.

    例:2025-02-16

  • media_type文字列任意

    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.

    例:ALL

  • start_date文字列任意

    Impressions start date. Needs to be in YYYY-MM-DD format.

    例:2025-01-05

  • search_type文字列任意

    If you want to search by exact phrase or not

    例:keyword_unordered

コード例

$TOOLSWITCH_KEY をコンソールで作成したキーに置き換えてください。

Preview
curl -X GET 'https://toolswitch.dev/v1/tools/scrapecreators.x.v1-facebook-adlibrary-search-ads?query=running' \
  -H "X-Toolswitch-Key: $TOOLSWITCH_KEY"

このゲートウェイ API はプレビュー版です。URL や認証方式は変更される場合があります。 パラメータはサンプルデータです。 呼び出し料金は $0.00188/call です。サービス料を含みます。