Obtain structured JSON data of Meta ads and associated store information via API, enabling automated competitor ad research without manual browsing.
The agent utilizes the AdLibrarySpy MCP server to access the Facebook Ad Library API. It constructs queries to retrieve specific ad creatives, advertiser details, and landing page data. The agent parses the returned JSON to extract key metrics such as ad longevity and creative elements, providing a programmatic alternative to manual ad spying.
- Category: Research and knowledge
- Effect: Read-only
- MCP servers: AdLibrarySpy MCP (https://koskamo.com/explore/adlibraryspy-mcp)
- Source: Guides: Facebook ad spying and ecommerce intelligence — AdLibrarySpy (https://adlibraryspy.com/guides)
- Source quote: "Facebook Ad Library API: free programmatic access (2026) Query Meta ads and store data programmatically — free MCP + JSON."
- Playbook page: https://koskamo.com/explore/use-cases/query-facebook-ad-library-programmatically
Prompt: Use the AdLibrarySpy MCP server to query the Facebook Ad Library API. Retrieve data for ads related to 'wireless headphones' and return the results in JSON format, including advertiser names and creative details.