LurkAPI
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
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:

ToolEndpoint
facebook_search_adsSearch Ad Library ads
facebook_company_adsAd Library ads by company
facebook_adAd Library ad details
facebook_search_companiesSearch Ad Library companies
facebook_profilePublic profile
facebook_postPublic post
facebook_profile_postsProfile posts
facebook_profile_eventsProfile events
facebook_post_commentsPost comments

From the blog

All posts