SearchApi logo

SearchApi API · Search

Search the Meta Ad Library with the SearchApi API

Searches ads across Facebook, Instagram, Audience Network, Messenger and Threads in Meta's Ad Library. You call it with one looot token, no SearchApi account needed. It needs no required input. Each call costs $0.004 per call. Over the last 30 days looot ran it 2,245 times: 69.9% finished without an error, median answer 2.3 s.

Price
$0.004 per call
Success rate, 30 days
69.9%
Runs, 30 days
2,245
Access
looot token only

Search the Meta Ad Library: call it from code

One POST to /v1/runs with your looot token, the endpoint id searchapi-io-meta-ad-library and an input. Values come from the stored input schema; a value in <angle brackets> is a placeholder the schema gives no example for.

InputTypeValue shown
q (optional)stringschema example

POST /v1/runs

SearchApi API request: curl
curl -X POST 'https://api.looot.ai/v1/runs?wait=true' \
  -H 'Authorization: Bearer YOUR_LOOOT_TOKEN' \
  -H 'Content-Type: application/json' \
  -d '{"endpointId":"searchapi-io-meta-ad-library","input":{"q":"nike air"},"idempotencyKey":"<unique-idempotency-key>"}'

Response: verified on real answers

{ ads: { page_id, currency, end_date, snapshot: { body: { ... }, cards: { ... }[], title, byline, images: { ... }[], videos: { ... }[], caption, page_id, cta_text, cta_type, link_url, page_name, extra_links: unknown[], extra_texts: unknown[], is_reshared, extra_images: unknown[], extra_videos: unknown[], display_format, branded_content: { ... }, ec_certificates: unknown[], page_categories: string[], page_is_deleted, page_like_count, link_description, page_profile_uri, page_profile_picture_url }, is_active, page_name, categories: string[], gated_type, menu_items: unknown[], start_date, collation_id, ad_archive_id, collation_count, is_aaa_eligible, page_is_deleted, ad_details_token, hide_data_status, has_user_reported, publisher_platform: string[], impressions_with_index: { impressions_index }, regional_regulation_data: { finserv: { ... }, tw_anti_scam: { ... } }, contains_sensitive_content, targeted_or_reached_countries: unknown[], contains_digital_created_media }[], pagination: { next_page_token }, search_metadata: { id, status, html_url, json_url, created_at, request_url, total_time_taken, parsing_time_taken, request_time_taken }, search_parameters: { q, engine, ad_type, country, sort_by, media_type, search_type }, search_information: { total_results } }

validated on 7 real answers.

Price and reliability

Price formula
$0.0040 per call
Most one run can cost
$0.004
Success rate, 30 days
69.9%
Runs, 30 days
2,245
Median answer time
2.3 s
Last success
Nov 16, 2026

Run numbers are looot's own runs of each endpoint over the last 30 days: the share that completed without an error, and the median time to answer. An endpoint with fewer than 10 runs in that window shows "not enough runs to rank" and is never ranked. Prices are what looot charges per call or per result, fee included, read from the live catalog; you prepay credit and each call is charged when it runs.

Other providers for this job

EndpointPriceSuccess rate, 30 days
Scrape Creators API / SearchScrapeCreators$0.00188 per call98.7% of 2,184 runs
Scrape Creators API / Company AdsScrapeCreators$0.00188 per call97.1% of 1,341 runs
meta ad library searchScrapeCreators$0.00188 per callnot enough runs to rank
Scrape Creators API / Company AdsScrapeCreators$0.00188 per callnot enough runs to rank
Scrape Creators API / SearchScrapeCreators$0.00188 per callnot enough runs to rank
Scrape the Meta Ad LibraryApify$0.06 per callnot enough runs to rank

More SearchApi endpoints

Questions about the SearchApi API on looot

Searches ads across Facebook, Instagram, Audience Network, Messenger and Threads in Meta's Ad Library. Send q or page_id, with country, ad_type, active_status, media_type and platforms as filters. Returns ads with ad_archive_id, categories and advertiser page details. Send one of: q, page_id, location_id. looot stores its output format, checked on real answers.

It costs $0.004 per call. Price formula: $0.0040 per call. You keep a prepaid balance. The price is shown before each call runs, and you are charged only for calls that actually ran.

Send POST https://api.looot.ai/v1/runs with your looot token in the Authorization header and a body with endpointId "searchapi-io-meta-ad-library" and an input object (q). The looot CLI runs it with looot run searchapi-io-meta-ad-library, and the looot MCP server with its run tool.

Whether a miss costs money depends on the provider. Some bill only for found values. Some bill every call. A failed call costs nothing. You can request a refund of the unused part of the balance you paid for at any time. Run the job with fallback on and looot picks a provider that can answer now and tries the next on a miss.

Over the last 30 days looot ran it 2,245 times: 69.9% finished without an error, median answer 2.3 s.

Give your agent every data provider, one key.

Everyone gets $2 in free credits once after sign-in and workspace selection. Then pay only for what you use.