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

    Trusted by AI innovators worldwide

    Built for teams that need fresh web, social, crawl, and cited AI context in production workflows.

    Frequently Asked Questions

    Everything you need to know about the Desearch Facebook API

    The Desearch Facebook API gives developers programmatic access to public Facebook and Meta data — search, posts, profiles and pages, comments, and hashtag records — returned as clean structured JSON for AI agents and data workflows.

    Create a free account at console.desearch.ai, copy your API key, and call the REST endpoints with the key in the Authorization header. Python and JavaScript SDKs and ready-to-paste snippets are in the docs.

    Yes. The Desearch Facebook API returns public data only. Private, authenticated, messaging, and publishing surfaces are not exposed.

    Pricing is usage-based — you pay only for the requests you make, with free starter credits when you sign up. See the pricing page for current rates.

    Every response is structured JSON, normalized for AI pipelines and agent workflows, so you can parse and ingest it without scraping raw HTML.