Skills DirectorySkills Directory
SkillsLearnSecurityCategoriesDocsBlogPro
Sign InSubmit Skill
Skills Directory

Security-tested agent skills for Claude, coding agents, and AI workflows.

Directory

  • Browse Skills
  • All Skills A–Z
  • Claude Skills
  • Claude Code Skills
  • Agent Skills
  • Categories
  • Authors
  • Submit a Skill

Learn

  • Learn Hub
  • Install Claude Skills
  • Write SKILL.md
  • Skills vs MCP
  • Directories Compared

Security

  • Security
  • Methodology
  • Secure Claude Skills
  • Security Badges
  • Chrome Extension
  • Skill Manager

Company

  • About
  • Community
  • Blog
  • API Docs
  • Advertise

2026 Skills Directory. All rights reserved.

ProTermsPrivacyRefunds
Back to skills

Wenmai Alpha Facebook Ads Scraper

ASecurity

Facebook/Meta 广告库采集接口,用于检索品牌或关键词相关广告,获取广告素材、文案、投放主体及接口可返回的投放信息。当用户提到 Facebook Ads Library、Meta 广告素材、竞品广告、广告创意拆解、品牌投放监控或 Facebook ads scraper 时触发此技能。只要用户需要用真实 Meta 广告数据研究竞品投放或创意趋势,也应触发此技能。

3 stars
0 votes
0 copies
0 views
Added 10/5/2026
documentationpythonbashapi

Works with

api

Security Analysis

A100/100

Pro scans all 6 files and shows the line behind each finding

Scanned 10/5/2026

$npx -y skills add wenmai-ai/wenmai-skills --skill wenmai-alpha-facebook-ads-scraper --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Wenmai Alpha Facebook Ads Scraper?

Add the live security badge to your README — it updates automatically with every re-scan.

Security grade badge for Wenmai Alpha Facebook Ads Scraper
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/wenmai-ai-wenmai-alpha-facebook-ads-scraper/badge)](https://www.skillsdirectory.com/skills/wenmai-ai-wenmai-alpha-facebook-ads-scraper)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
Files
SKILL.md
---
name: wenmai-alpha-facebook-ads-scraper
description: "Facebook/Meta 广告库采集接口,用于检索品牌或关键词相关广告,获取广告素材、文案、投放主体及接口可返回的投放信息。当用户提到 Facebook Ads Library、Meta 广告素材、竞品广告、广告创意拆解、品牌投放监控或 Facebook ads scraper 时触发此技能。只要用户需要用真实 Meta 广告数据研究竞品投放或创意趋势,也应触发此技能。"
metadata:
  author: wenmai-ai
  version: "1.0.0"
---

# Wenmai Alpha Facebook Ads Scraper

## Purpose
Use this Skill to fetch Facebook Ads Scraper data through Wenmai standard API. It is useful for Facebook/Meta 广告库素材.

The Skill calls exactly one fixed standard API endpoint:

- Endpoint: `POST /wmapi/v1/alpha/facebook-ads-scraper`
- Auth: Header `secret-key: $WENMAI_API_KEY`
- Script: `scripts/alpha_facebook_ads_scraper.py`

## How To Run

请参考 https://skill.wenmai-ai.com/wenmaiskills/use_guide.html 获取 `secret-key`;额度或余额不足时,按该指南完成充值。运行脚本前,把复制的 key 导出为 `WENMAI_API_KEY`(或 `WENMAI_SECRET_KEY`)。

```bash
export WENMAI_API_KEY=sk-...
python3 scripts/alpha_facebook_ads_scraper.py '{"sorting": "relevancy_monthly_grouped", "onlyTotal": false, "startUrls": [{"url": "https://www.facebook.com/ads/library/?active_status=active&ad_type=all&country=US&is_targeted_country=false&media_type=all&search_type=keyword_unordered&q=nike"}], "activeStatus": "active", "resultsLimit": 5}'
```

The script prints the raw Wenmai API response as formatted JSON. Read `references/api.md` when you need parameter details, field meanings, allowed values, defaults, request examples, or response fields.

## Parameter Rules

Required top-level fields: `startUrls`.

Default assumptions: preserve the user's requested marketplace, country, language, URL list, keyword list, IDs, filters, pagination, and result limits. For scraper-style endpoints, avoid expanding result limits unless the user asks for a broader scrape.

## Extra-charge Parameter Rules

Treat `enrichWithEcommerceData: true` as an opt-in, separately billed e-commerce enrichment capability. Do not infer or enable it automatically. Include it only when the user explicitly requests live product or pricing enrichment, and tell the user before the request that enabling it is billed separately.

Do not quote or explain upstream prices, plans, tiers, or billing formulas.

## Response Rules

Present returned data in compact tables when the user asks for inspection or comparison. For long arrays, summarize the most decision-relevant rows first, then offer to continue with more rows. Keep raw numbers and source URLs traceable to response fields.

If the API response contains an `error` or a non-`OK` `code`, report the message and `requestId` if present, then suggest parameter corrections. Never invent missing data.

Attribution

wenmai-aiwenmai-ai
View sourceSee grades on GitHubMore from wenmai-ai →
SSkills DirectorySkills Directory

Ship a skill? Prove it's safe.

Free 120-pattern security scan, letter grade, and an embeddable README badge.

Submit a skill

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments (0)

No comments yet. Be the first to comment!

SSkills DirectorySkills Directory

Ship a skill? Prove it's safe.

Free 120-pattern security scan, letter grade, and an embeddable README badge.

Submit a skill

Related Skills

Context Fundamentals

Understand the components, mechanics, and constraints of context in agent systems. Use when designing agent architectures, debugging context-related failures, or optimizing context usage.

179001 votes

Architecture Diagram Creator

Create comprehensive HTML architecture diagrams with data flows, business context, and system architecture.

6661 votes

release-notes

Draft release notes and changelog entries from git history or merged PRs between two refs (tags/SHAs/branches), including breaking changes, migrations, and upgrade steps. Use when the user asks for release notes, changelog updates, or a GitHub Release draft.

1301 votes

docs-style-guide

Documentation style guide enforcer by @planetabhi. Applies and reviews the writing style guide when authoring or editing product documentation and tutorials. Use to check prose for voice, tense, word choice, inclusive language, formatting, code block, UI, Markdown, and number/date conventions.

11 votes

Docx

Use this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files) or Word templates (.dotx files). Triggers include: any mention of 'Word doc', 'word document', '.docx', '.dotx', or requests to produce professional documents with formatting like tables of contents, headings, page numbers, or letterheads. Also use when extracting or reorganizing content from .docx or .dotx files, inserting or replacing images in documents, performing find-and-replace in W...

1798860 votes
View all in documentation →