Facebook API for AI Agents
Public Facebook / Meta search and data as structured JSON.
Search public Facebook content and pull posts, profiles and pages, page posts, comments, and hashtag records through one developer-friendly API — normalized JSON, one API key, usage-based pricing.
Endpoints
Every Facebook endpoint returns structured JSON. Public Meta Ad Library and normalized public Facebook surfaces. Private/account-authenticated surfaces, messaging, and publishing are not exposed.
- POST
/desearch/facebook/searchFacebook Search API - GET
/desearch/facebook/post/{id}Retrieve Facebook Post by ID - GET
/desearch/facebook/profile/{profile_id}Retrieve Facebook Profile or Page - GET
/desearch/facebook/profile/{profile_id}/postsRetrieve Facebook Profile/Page Posts - GET
/desearch/facebook/comments/{post_id}Retrieve Facebook Comments - GET
/desearch/facebook/hashtag/{tag}Retrieve Facebook Hashtag Posts
Quick start
Create a key in the console, then call the Facebook Search endpoint. Python and JavaScript SDKs are in the docs.
curl -X POST 'https://api.desearch.ai/desearch/facebook/search' \
-H "Authorization: $DESEARCH_API_KEY" \
-H 'Content-Type: application/json' \
-d '{ "query": "your search" }'What developers build with the Facebook API
Feed AI agents fresh context
Give agents fresh public social signals before they reason, write, or act.
Monitor mentions & hashtags
Track brands, topics, and hashtags across returned public posts and comments.
Trend & sentiment analysis
Pull profiles, posts, and engagement to measure what is moving right now.
Enrich datasets
Normalize public posts, profiles, and comments as JSON for pipelines and dashboards.
Trusted by AI innovators worldwide
View case studies- NuminousRead story
- LIUMRead story
- BitcastRead story
- ChutesRead story
- DittoRead story
- τensorproxRead story
- TaoMarketCap
- Bittensor
Frequently Asked Questions
Everything you need to know about the Desearch Facebook API
Get closer to the search network.
Join the channels that help you ship: API examples, hard-query feedback, product release notes, and conversations with the team building Desearch and Subnet 22.
Discord
Implementation help, query feedback, and direct product discussion.
Join DiscordX (Twitter)
Product releases, benchmark notes, and Bittensor ecosystem updates.
Follow on XTelegram
Release notes and community announcements in a lightweight channel.
Open TelegramCompany updates, partnerships, hiring, and product milestones.
View LinkedInStart with one Facebook request.
Try the Facebook API in the playground and inspect the response before adding it to your workflow.
