n8n, Clay and no-code
Use AdLib from n8n and Clay with an HTTP step, from Google Sheets with flat columns or CSV, and from Slack, Discord, Make or Zapier through watchlist webhooks. No install needed.
n8n
Use an HTTP Request node: method GET, a URL such as https://api.adlibapi.com/v1/domains/{{ $json.domain }}/check, and a header X-API-Key with your key (store it as a Header Auth credential). The same works for resolve, search and advertiser history. To react to competitor changes, point a watchlist's webhook_url at an n8n Webhook trigger and branch on the new, stopped, changed and removed ads.
A dedicated AdLib community node for n8n is coming soon; until it is published, the HTTP Request node is the way in.
Clay
Add an HTTP API column: method GET, URL https://api.adlibapi.com/v1/domains/{{Domain}}/check, header X-API-Key with your key. The answer has a flat data.columns object made for column mapping (advertising, platforms_advertising, total_active_ads, latest_ad_at, one set per platform). Each check costs 3 credits; checks where no platform could be reached are free.
Ready-made columns for lead scoring, ad copy personalization and competitor alerts are in Clay templates.
Links from the ad libraries
Paste a link copied from any library and get the AdLib id plus the call that fetches it (free):
curl -G "https://api.adlibapi.com/v1/library-url" \
--data-urlencode "url=https://www.facebook.com/ads/library/?id=1187430977361020" \
-H "X-API-Key: $ADLIB_API_KEY"Works with the Meta Ad Library, Google Ads Transparency Center, TikTok Ad Library, LinkedIn Ad Library, Pinterest Ads Repository and X posts.
Slack and Discord
Put a Slack or Discord webhook URL into a watchlist's webhook_url and alerts arrive as readable messages in that channel, with no middleware. Prefer the inbox? Set email_alerts: true and each crawl's changes arrive as an email digest. See Watchlists and webhooks.
Make and Zapier
There is no AdLib app in Make or Zapier yet. Use their generic Webhooks trigger ("Catch hook") and put its URL into a watchlist's webhook_url; each advertiser.changes event arrives as JSON with the new, stopped, changed and removed ads. To call the API from a scenario or zap, use the generic HTTP or Webhooks action with the X-API-Key header. See Watchlists and webhooks.
Google Sheets, Excel and BI tools
Add output=csv to any endpoint and the answer comes back as CSV: one row per ad (or one row for a domain check), nested fields as dotted columns such as advertiser.name or creatives.0.text, lists joined with |. The next page's cursor is in the X-Next-Cursor header.
curl "https://api.adlibapi.com/v1/search?advertiser=meta:15087023444&source=history&output=csv" \
-H "X-API-Key: $ADLIB_API_KEY" -o ads.csvCredits are the same as for JSON. Any tool that can call a REST API with a header works. Official SDKs for JavaScript and Python are coming soon; until then the OpenAPI 3.1 spec lets you generate a client in most languages.