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.
| Input | Type | Value shown |
|---|---|---|
| q (optional) | string | schema example |
POST /v1/runs
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>"}'import uuid
import requests
response = requests.post(
"https://api.looot.ai/v1/runs?wait=true",
headers={"Authorization": "Bearer YOUR_LOOOT_TOKEN"},
json={
"endpointId": "searchapi-io-meta-ad-library",
"input": {
"q": "nike air",
},
"idempotencyKey": str(uuid.uuid4()),
},
)
print(response.json())const response = await fetch("https://api.looot.ai/v1/runs?wait=true", {
method: "POST",
headers: {
Authorization: "Bearer YOUR_LOOOT_TOKEN",
"Content-Type": "application/json",
},
body: JSON.stringify({
endpointId: "searchapi-io-meta-ad-library",
input: {
"q": "nike air"
},
idempotencyKey: crypto.randomUUID(),
}),
});
console.log(await response.json());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
| Endpoint | Price | Success rate, 30 days |
|---|---|---|
| Scrape Creators API / SearchScrapeCreators | $0.00188 per call | 98.7% of 2,184 runs |
| Scrape Creators API / Company AdsScrapeCreators | $0.00188 per call | 97.1% of 1,341 runs |
| meta ad library searchScrapeCreators | $0.00188 per call | not enough runs to rank |
| Scrape Creators API / Company AdsScrapeCreators | $0.00188 per call | not enough runs to rank |
| Scrape Creators API / SearchScrapeCreators | $0.00188 per call | not enough runs to rank |
| Scrape the Meta Ad LibraryApify | $0.06 per call | not enough runs to rank |
More SearchApi endpoints
- SearchAPI.io - ChatGPT API
$0.004 per call
77.6% of 3,846 runs
- SearchAPI.io - Apple App Store API
$0.004 per call
99.4% of 776 runs
- SearchAPI.io - Google Trends API
$0.004 per call
97.5% of 521 runs
- SearchAPI.io - Gemini API
$0.004 per call
99.6% of 491 runs
- SearchAPI.io - Google Ads Transparency Center API
$0.004 per call
55.9% of 454 runs
Questions about the SearchApi API on looot
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.