The Ad Intelligence API
Access ads across 7 platforms programmatically. Search by keyword, filter by platform and country, and integrate competitive ad intelligence into any workflow.
Platform Coverage
One API endpoint, all major advertising platforms. No need to integrate with each platform separately.
Built for Builders
Whether you're an agency, AI developer, or sales team — the API adapts to your workflow.
Agency Automation
Automate competitive reporting for clients. Pull competitor ads on a schedule, track creative changes, and generate intelligence reports without manual research.
AI Agent Workflows
Feed ad data into LLM-powered agents for creative analysis, trend detection, and automated campaign recommendations. Perfect for AI-native marketing tools.
Sales Enrichment
Enrich CRM records with advertising activity data. Know which prospects are actively running ads, what platforms they use, and how their spend is trending.
Research at Scale
Analyze advertising trends across industries, track seasonal patterns, and build custom dashboards from real ad data — all programmatically.
Simple to Integrate
Standard REST API. No SDKs required. Works with any language.
cURL
curl "https://www.adlibrary.com/next/brand-ads?keyword=nike&platform=facebook&pageSize=10" \
-H "Authorization: Bearer YOUR_API_KEY"JavaScript / Node.js
const response = await fetch(
"https://www.adlibrary.com/next/brand-ads?" +
new URLSearchParams({
keyword: "nike",
platform: "facebook",
geo: "US",
pageSize: "10",
}),
{ headers: { Authorization: "Bearer YOUR_API_KEY" } }
);
const { ads, total } = await response.json();
console.log(`Found ${total} ads`);Python
import requests
response = requests.get(
"https://www.adlibrary.com/next/brand-ads",
params={
"keyword": "nike",
"platform": "facebook",
"geo": "US",
"pageSize": 10,
},
headers={"Authorization": "Bearer YOUR_API_KEY"},
)
data = response.json()
print(f"Found {data['total']} ads")API Parameters
All parameters are optional. Combine them to build precise queries.
| Parameter | Type | Description |
|---|---|---|
keyword | string | Search by brand name, product, or ad copy keyword |
platform | string | Filter by platform: facebook, instagram, tiktok, youtube, google, admob, linkedin |
geo | string | Filter by country code (US, GB, DE, FR, etc.) |
adsType | string | Filter by format: video, image, carousel |
daysBack | number | Only return ads from the last N days (default: 30) |
sortField | string | Sort by: impressions, startedRunning, relevance |
pageSize | number | Results per page (default: 20, max: 100) |
Start Building with Ad Intelligence
Free tier includes API access for testing. Upgrade for higher rate limits, more results, and historical data access.
View Pricing Plans