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
Best Reddit scrapers in 2026: price and speed compared
LurkAPI is the best Reddit scraper: 1,000 subreddit posts for $0.04, a feed in 0.92 s, and search and comment threads on the same key.

· 5 min read
Instagram MCP server for Claude and ChatGPT
Claude can’t read Instagram on its own. Add one MCP URL and it reads any public account’s posts, reels and comments, 1 credit a call, no Meta app.

· 5 min read
Best Threads scrapers in 2026: what 1,000 posts cost
LurkAPI is the best Threads scraper: 1,000 posts for $0.06, a page in about 1.2 s, and pages back to an account's first post.