facebook-ads-library-search
Searches Meta Ad Library (Facebook/Instagram/WhatsApp ads) by keyword or Facebook page ID and extracts ad details including creatives, copy, CTA, publisher…
Skill by browser-act
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/browser-act-facebook-ads-library-search
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: design, backend, data, writing
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md and code. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
- Runs as
- Python package
Network hosts it talks to 2
codeload.github.com· found in install commandfacebook.com· found in code
Files it touches
~/.claude/skills/facebook-ads-library-search
What's inside
- Skill name
facebook-ads-library-search- Description
- Searches Meta Ad Library (Facebook/Instagram/WhatsApp ads) by keyword or Facebook page ID and extracts ad details including creatives, copy, CTA, publisher platforms, spend, impressions, reach estimates, and page transparency info. Use when user mentions Meta Ad Library, Facebook ads scraper, Instagram ads data, FB ad library, search Facebook ads, get ads from a Facebook page, scrape Meta ads, Facebook advertising data, ad creative extraction, competitor ads analysis, brand ads monitoring, Meta advertising transparency, political ads Facebook, housing ads Facebook, view all ads from a page, facebook ads search, fb ads library api, facebook ad archive, instagram ad data, get ad creatives.
- License
- MIT
- Instructions
- 144 lines in SKILL.md · view on GitHub
Before installing
- Ships executable scripts
Files (2)
- SKILL.md
- search-ads.py · scripts/
SKILL.md (first lines)
# Meta Ad Library — Search Ads
> keyword or page ID → ad list with creatives, metrics, and pagination cursor
## Language
All process output to user (progress updates, process notifications) follows the user's language.
## Objective
Fetch ads from Meta Ad Library for a keyword search or a specific Facebook page, returning structured ad data with all available fields.
## Prerequisites
- Browser is open on any Facebook page: `https://www.facebook.com/`
- No login required for this capability
## Pre-execution Checks
### 1. Tool Readiness
If browser-act has been confirmed available in the current session → skip this step.
Invoke `browser-act` via Skill tool to load usage. If installation or configuration issues arise, follow its guidance to resolve then retry.
## Capability Components
> This Skill's operational boundary = what the user can manually do in their browser. It only reads data already displayed to the user on the page, never bypassing authentication or access controls. Its role is equivalent to copy-pasting on the user's behalf — the data is already on screen, automation merely saves time. JS code is encapsulated in Python files under the `scripts/` directory, invoked via `eval "$(python scripts/xxx.py {params})"`. `$(...)` is bash syntax; it is recommended to use the bash tool for execution.
Below are all atomic capabilities discovered and verified during the exploration phase, listed by command template with parameters. Simply invoke them as needed — no need to read `scripts/*.py` source code or re-verify. Only inspect scripts when execution fails for troubleshooting. Combine freely as needed during execution.
### API: search ads by keyword
`eval "$(python scripts/search-ads.py --query '{keyword}' --country {country} --first {count})"`
Parameters:
- `--query`: keyword to search (mutually exclusive with `--page-id`)
- `--country`: 2-letter ISO country code or `ALL`, default `ALL`
- `--active-status`: `active` | `inactive` | `all`, default `active`
- `--ad-type`: `ALL` | `POLITICAL_AND_ISSUE_ADS` | `HOUSING_ADS`, default `ALL`
- `--media-type`: `all` | `image` | `video` | `meme`, default `all`
- `--platforms`: space-separated list, e.g. `facebook instagram`, default all platforms
- `--cursor`: pagination cursor from previous response's `end_cursor`, default first page
- `--first`: number of ads to return per page, default `10`
Output example:
```json
{
"error": false,
"count": 10,
"has_next_page": true,
"end_cursor": "AQHSmvKYSBolzAS9Wq8VSnt4...",
"ads": [
{
"ad_archive_id": "1869276447125570", // unique ad archive ID
"ad_id": null, // ad ID (null for some ads)
"page_id": "15087023444", // advertiser's Facebook page ID
"page_name": "Nike", // advertiser's page name
"page_profile_uri": "https://facebook.com/nike",
"page_profile_picture_url": "https://scontent.xx.fbcdn.net/...",
"is_active": true, // whether ad is currently running
"start_date": 1773730800, // ad start date (unix timestamp)
"end_date": 1779692400, // ad end date (unix timestamp), null if still active
"publisher_platform": ["facebook", "instagram"], // platforms the ad runs on
"currency": "USD", // spend currency, null if not disclosed
"spend": null, // estimated spend range, null if not disclosed
"impressions_with_index": null, // impression estimate, null if not disclosed
"reach_estimate": null, // reach estimate, null if not disclosed
"categories": [], // ad categories
"contains_sensitive_content": false,
"body": "Get the gear that never misses.", // main ad body text
"caption": "nike.com", // ad caption
"title": "Nike Air Monarch IV", // ad title
"cta_text": "Shop Now", // CTA button text
"cta_type": "SHOP_NOW", // CTA button type
"link_url": "https://www.nike.com/...",// destination URL
"display_format": "carousel", // ad format
"cards": [...], // carousel cards (each has body, title, cta_type, link_url, original_image_url, video_hd_url)
"images": [...], // image creatives
"videos": [...] // video creatives
}
]
}
```
### API: search ads by page ID
`eval "$(python scripts/search-ads.py --page-id '{page_id}' --country {country} --first {count})"`
Parameters:
- `--page-id`: Facebook page ID (mutually exclusive with `--query`). To find a page ID: navigate to the Facebook page, the ID appears in the URL or in the page's "About" section
- All other parameters same as keyword search above
Output example: same structure as keyword search above.
## Enum Parameters
`--active-status`: `active` | `inactive` | `all`
`--ad-type`: `ALL` | `POLITICAL_AND_ISSUE_ADS` | `HOUSING_ADS`
`--media-type`: `all` | `image` | `video` | `meme`
`--platforms`: `facebook` | `instagram` | `whatsapp` | `messenger` | `audience_network` | `threads` (pass multiple values space-separated)
`--country`: ISO 2-letter country code (e.g. `US`, `GB`, `DE`, `ALL`) [collection partially done — full list of supported country codes follows ISO 3166-1 alpha-2 standard]
## Pagination
**API Pagination**: `--cursor`, type: cursor, start value: omit for first page. Next page value source: `end_cursor` field in response. Termination: `has_next_page: false`.
## Success Criteria
`error = false AND count >= 0 AND has_next_page field present`
(count may be 0 for valid queries that return no results; this is not an error)
## Known LimitationsFrom browser-act/skills, MIT.
More from browser-act/skills
- 0.750score
browser-act-skill-forge
BrowserAct
Forges reusable Skill packages (SKILL.md + scripts) from website exploration via browser-act — no re-exploration later.
SkillCFreshness: C★ 6.3KClaude Code +9 - 0.674score
taobao-product-detail
browser-act
Fetch full product detail from a Taobao or Tmall product page by itemId, returning title, price, shop info, images, SKU variants, and product attributes.
SkillCFreshness: C★ 6.3KClaude Code +9 - 0.674score
facebook-groups-scrape-posts
browser-act
Scrapes posts from a Facebook group given a group URL, sort order, and desired count — returns structured post metadata including post_id, permalink, author…
SkillCFreshness: C★ 6.3KClaude Code +9 - 0.674score
taobao-keyword-search
browser-act
Search Taobao and Tmall product listings by keyword, returning paginated product cards with title, price, shop, image, sales, and tags.
SkillCFreshness: C★ 6.3KClaude Code +9 - 0.674score
ecommerce-seller-info
browser-act
Extract seller or merchant profile data from marketplace platform seller pages.
SkillCFreshness: C★ 6.3KClaude Code +9 - 0.674score
ebay-item-detail
browser-act
Extracts full item detail from any open eBay item URL, returning JSON with url, itemNumber, title, subTitle, categories, price, priceWithCurrency, currency…
SkillCFreshness: C★ 6.3KClaude Code +9 - 0.674score
etsy-keyword-search
browser-act
Etsy keyword search scraper: given a search keyword and optional page number, returns paginated product listings with listingId, shopId, title, url, image…
SkillCFreshness: C★ 6.3KClaude Code +9 - 0.674score
facebook-page-profile-posts
browser-act
Scrapes posts from any public Facebook Page or personal Profile timeline, returning structured data including post text, author info with profile picture…
SkillCFreshness: C★ 6.3KClaude Code +9 - 0.674score
threads-keyword-search
browser-act
Searches Threads posts by keyword or hashtag and returns matching posts with engagement metrics, extracted from SSR-embedded JSON.
SkillCFreshness: C★ 6.3KClaude Code +9 - 0.674score
threads-user-posts
browser-act
Fetches public posts from a Threads user's profile page, extracting post text, engagement metrics, and media info from SSR-embedded JSON.
SkillCFreshness: C★ 6.3KClaude Code +9 - 0.674score
ebay-search-listing
browser-act
Extracts product listings from any eBay search or category page URL, returning per-item cards (itemNumber, url, title, subtitle, caption, price…
SkillCFreshness: C★ 6.3KClaude Code +9 - 0.674score
webcrawler-deep-crawl
browser-act
Deep-crawl any website from start URLs, return per-page LLM-ready text/markdown/HTML plus metadata (title, description, author, language, canonical URL, OG)…
SkillCFreshness: C★ 6.3KClaude Code +9
Signals
- Stars
- 6,268
- Forks
- 330
- Open issues
- 9
- Last commit (this folder)
- May 27, 2026 (5 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/browser-act/skills
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from browser-act
- 0.674score
ebay-search-listing
browser-act
Extracts product listings from any eBay search or category page URL, returning per-item cards (itemNumber, url, title, subtitle, caption, price…
SkillCFreshness: C★ 6.3KClaude Code +9 - 0.674score
ebay-item-detail
browser-act
Extracts full item detail from any open eBay item URL, returning JSON with url, itemNumber, title, subTitle, categories, price, priceWithCurrency, currency…
SkillCFreshness: C★ 6.3KClaude Code +9 - 0.674score
etsy-keyword-search
browser-act
Etsy keyword search scraper: given a search keyword and optional page number, returns paginated product listings with listingId, shopId, title, url, image…
SkillCFreshness: C★ 6.3KClaude Code +9 - 0.674score
taobao-keyword-search
browser-act
Search Taobao and Tmall product listings by keyword, returning paginated product cards with title, price, shop, image, sales, and tags.
SkillCFreshness: C★ 6.3KClaude Code +9 - 0.674score
ecommerce-seller-info
browser-act
Extract seller or merchant profile data from marketplace platform seller pages.
SkillCFreshness: C★ 6.3KClaude Code +9 - 0.674score
facebook-groups-scrape-posts
browser-act
Scrapes posts from a Facebook group given a group URL, sort order, and desired count — returns structured post metadata including post_id, permalink, author…
SkillCFreshness: C★ 6.3KClaude Code +9
Cite this page
facebook-ads-library-search skill. Agent Mart. https://agentmart.dev/skills/browser-act-facebook-ads-library-search (last updated 2026-10-24)