← Back to All tools
24 endpoints

Facebook data API

via AnyAPI

AI agents can use Facebook data at up to $0.0012–$0.0649 per call with a Purrkey key and no Facebook or AnyAPI account. Your agent can find public ad creatives and compare their calls to action

Endpoints

AnyAPI

Facebook Ad Details

/v1/run/facebook.ad_details

Look up a single Meta Ad Library ad by ID or URL and get the advertiser, creative text, call-to-action, platforms, and run dates as clean JSON

Up to $0.0012per call
AnyAPI

Facebook Ad Creative Details

/v1/run/facebook.ad_details_full

Pull one Meta Ad Library ad with its creative: every carousel variant, image and video URL, headline, body, and call to action

Up to $0.00462per call
AnyAPI

Facebook Ad Transcript

/v1/run/facebook.ad_transcript

Get the spoken-word transcript of a Meta Ad Library video ad by ad ID or URL

Up to $0.0360per call
AnyAPI

Facebook Comment Replies

/v1/run/facebook.comment_replies

List the replies to a Facebook post comment (text, author, reactions, and timestamps) as normalized JSON

Up to $0.0012per call
AnyAPI

Facebook Company Ads

/v1/run/facebook.company_ads

List the Meta Ad Library ads a company is running by page ID or company name (creative text, format, platforms, and run dates) with cursor pagination

Up to $0.0012per call
AnyAPI

Facebook Event Details

/v1/run/facebook.event_details

Fetch full details for a single Facebook event by ID or URL (name, schedule, venue, hosts, and attendance) as normalized JSON

Up to $0.0012per call
AnyAPI

Facebook Group Posts

/v1/run/facebook.group_posts

Fetch recent posts from any public Facebook group by URL: text, author, reactions, and comment counts

Up to $0.00477per call
Load more →

Showing 9 of 24

Try it with your agents

  1. Compare ad calls to action

    Set up https://purrkey.app/SKILL.md, then use Purrkey to search the Meta Ad Library for US ads about trail shoes. Summarize three returned creatives with the advertiser, call to action and dates shown.
  2. Build a public event shortlist

    Set up https://purrkey.app/SKILL.md, then use Purrkey to find public Facebook events for jazz festivals. Take three matches from the first page and list the scheduled date, venue and any published price.
  3. Check local bicycle asking prices

    Set up https://purrkey.app/SKILL.md, then use Purrkey to look for bicycles on Facebook Marketplace near Austin at 30.2677, -97.7475. Compare five listings under 500 dollars by title, location and asking price.

Guides for Facebook

Questions

Facebook API questions

Can I find public events by topic?

An events search accepts a keyword and can return venue, schedule, pricing and attendance details.

What identifies the area for Marketplace searches?

Marketplace uses coordinates with the search keyword. You can also restrict results by price, condition or availability.

How is an ad research request priced?

Published prices are up to $0.0012–$0.0649 per call. The Meta Ad Library search card and any additional creative detail calls show their respective ceilings.