Docs · Facebook API
Facebook API
Public Pages and profiles with their contact details, posts, events and comments, plus the ads in Meta's Ad Library.
Overview
Get what anyone can see on a public Facebook Page or profile: contact details, posts, events and comments. Search Meta's Ad Library by keyword or by advertiser to see the ads a brand runs on Facebook and Instagram. Useful for social listening, lead lists, competitor research and swipe files.
Source: facebook.com.
Endpoints
Call it
Each endpoint is a web address. Request it with GET, put your API key in the x-api-key header, and you get JSON back. For example, Search Ad Library ads:
curl "https://api.lurkapi.com/v1/facebook/adLibrary/search/ads?query=running+shoes&country=US&status=active" \-H "x-api-key: YOUR_API_KEY"Use it in Claude
Connect LurkAPI to Claude and ask in plain English. Each endpoint is a tool Claude can call:
| Tool | Endpoint |
|---|---|
facebook_search_ads | Search Ad Library ads |
facebook_company_ads | Ad Library ads by company |
facebook_ad | Ad Library ad details |
facebook_search_companies | Search Ad Library companies |
facebook_profile | Public profile |
facebook_post | Public post |
facebook_profile_posts | Profile posts |
facebook_profile_events | Profile events |
facebook_post_comments | Post comments |
From the blog
All posts
· 5 min read
Reddit RSS feeds end November 13: how to keep yours working
Reddit turns off every RSS feed on November 13, 2026. Keep your feed URLs: a small Cloudflare Worker serves the same paths from LurkAPI. Change only the host.

· 4 min read
Best Facebook scrapers in 2026: prices and speed compared
LurkAPI is the best Facebook scraper: public Pages' posts at $0.19 per 1,000, about 1 s a call, with contacts, comments and events on the same key.

· 4 min read
TikTok Research API: who can get it, and what businesses use instead
Non-commercial researchers in the US, Europe, Canada and Brazil, after a review of about 4 weeks. Businesses can’t apply; they use a public-data API instead.