Facebook Marketplace API for AI agents: listings, Pages, posts and ads

    Let Claude, ChatGPT, Cursor or Codex read public Facebook data: Marketplace listings by keyword and place, Pages and their posts, comments, public groups and events, and ads from the Meta Ad Library. It comes from third-party data providers and the Ad Library, so you don't sign in to Facebook or manage API keys. Your agent pays per call.

    78 tools and 5 skills that use them. Pay per use from one balance, no API keys.

    Starting prices. Prices can vary with length and quality. Your AI Agent works out the exact price, runs the tool from your balance and tells you what it cost. Failed uses are free.

    What do you want your agent to do?

    • Search Marketplace listings

      Listings for a keyword near a place, filtered by price, condition or recency.

      Best pick: Facebook Marketplace, $0.0026 per call

    • Read one listing

      Title, price, location, photos and details of a listing from its URL.

      Best pick: Facebook Marketplace Item, $0.0016 per call

    • Look up a Page

      A Page's category, about text, likes and followers.

      Best pick: Facebook Profile, $0.0026 per call

    • Read posts and comments

      Recent posts from a public Page with their text and engagement, then the comments under them.

      Best pick: A public Facebook profile's or page's posts, by profile id or URL, $0.0018 per call

    • See a company's ads

      The ads one Page runs in the Meta Ad Library, with dates, platforms, text and media.

      Best pick: Meta Ad Library ads of one advertiser, $0.0022 per call

    • Follow groups and events

      Recent posts from a public group, and public events by keyword or city.

      Best pick: Facebook Group Posts, $0.0026 per call

    Our Facebook data tools and MCPs

    SourceBest forExample, today's price
    Facebook MarketplaceListings by keyword and place, and the full details of one listingFacebook Marketplace, $0.0026 per call
    Facebook PagesA Page's about text, category, followers, photos, reels and eventsFacebook Profile, $0.0026 per call
    Posts and commentsA Page's recent posts, keyword search over public posts, comments, replies and video transcriptsFacebook Post Search, $0.0859 per call
    Groups and eventsPosts from public groups, and public events by keyword, city or PageFacebook Events Search, $0.0016 per call
    Meta Ad LibraryAds one Page runs, ads for a keyword, EU reach and spend on political and issue adsSearch the Meta ad library by keyword, Free

    Every tool here reads public data, and none uses your Facebook account. We left out tools that return a Page's email or phone number, and people search by name.

    How to choose the best Facebook data tool or MCP for you

    Search first, then look up

    Search Marketplace or public posts to see what's there, then look up single listings or posts only for the ones you need.

    Location

    Marketplace search works near a place. A location lookup turns a city name into the coordinates some Marketplace tools ask for.

    One advertiser or a whole market

    To study a competitor, list the ads one Page runs. To see a market, search the Ad Library by keyword. EU reach and political ad spend have their own tools.

    Public data only

    The tools cover public Pages, posts, public groups, events, Marketplace listings and the Ad Library. Private groups and profiles aren't included.

    If you needChooseToday's price
    Prices for an item in your areaMarketplace search near your city$0.0026 per call
    Everything about one listingMarketplace listing details$0.0016 per call
    What a brand posts and how people reactA Page's recent posts, then comments$0.0018 per call
    A competitor's current adsAd Library ads of one advertiser$0.0022 per call
    Ads on a topic across advertisersAd Library keyword search$0.0022 per call
    Who paid for political adsPolitical and issue ads with spendFree
    Local events on a topicFacebook events search$0.0016 per call

    Quick picks: Marketplace search for local prices, a Page's posts for brand research, the Ad Library for competitor ads.

    Why use Agensi instead of separate Facebook data MCPs?

    Building this yourself means a separate scraper or data API for each part of Facebook, each with its own key and code to maintain. With Agensi your agent reads Marketplace listings, Pages, posts, groups, events and the Meta Ad Library through one connection and pays per call from one balance. Your Facebook account is never connected. Your agent runs a tool from your balance and tells you what it found and what it cost. Failed uses are free.

    What you getOfficial MCP per brandOwn API key or community serverAgensi
    AccountsOne per brandOne per brandOne
    API keysPer brand, or a sign-inPer brand, kept by youNone
    PaymentA plan or credits per brandPer brandOne balance, per use
    Spending controlVariesUp to youLimits per use, day and month, or ask first
    Several sources in one answerConnect several serversSeveral servers and keysOne connection
    Skills for the whole jobNoNoYes, from the marketplace

    When another way is the better choice. If you manage your own Pages, ads or product catalog, use Meta's own tools with your business account: they show your own results and messages, which public data tools can't see. For heavy Ad Library research, Meta's own Ad Library API is the direct route.

    Set up in your AI agent

    Connect your AI agent to Agensi once, sign in and click Allow. After that it can use every tool: it runs one from your balance and tells you what it cost. No API keys or provider accounts.

    1. Open Settings, then Connectors, then Browse connectors and add Agensi (or Add custom connector and paste https://mcp.agensi.io/mcp/auth).
    2. Sign in to Agensi and click Allow. One agent per account: connecting a new one disconnects the old one.
    3. Ask for what you want, for example: "Find used road bikes for sale near Austin on Facebook Marketplace, read the five best matches and tell me what a fair price is." Top up from $5 if your balance is low; failed uses are free.

    Grok, VS Code, GitHub Copilot, Cline, Kiro and other agents with remote MCP and sign-in work too: see the setup guide.

    What it costs: a worked example

    "Find used road bikes for sale near Austin on Facebook Marketplace, read the five best matches and tell me what a fair price is."
    About$0.0106

    At today's starting prices. Your agent works out the exact price for your request and tells you what it cost.

    Combine Facebook data tools with skills

    Facebook data MCP: frequently asked questions

    No. Agensi isn't made by or affiliated with Meta. The tools return public Marketplace listings, Pages, posts and events from third-party data providers, and ads from the Meta Ad Library, through one Agensi connection. You don't need a Facebook developer app or an API key, and your Facebook account is never connected.

    Public data only: Marketplace listings and their details, Pages with their posts, photos, reels and events, comments and replies, posts in public groups, public events and ads from the Meta Ad Library. Tools that return a Page's email or phone number, and people search by name, are left off this page. Meta's terms and privacy law apply to how you use the data.

    Yes, by searching again. Each search returns the listings that are up at that moment, so ask your agent to run the same search later and compare with the results it saved, for example in a file in Claude Code. Each search is charged like any other call, and failed calls are free.

    Each tool shows its live price in the list on this page; most are charged per call. Your agent runs it from your balance and tells you what it cost. In Dashboard → Balance you can have it ask first, or only above an amount per use and per day. Failed uses are free.

    Get in touch

    Questions, partnership ideas, or feedback on the platform? Tell us what's working and what isn't, we love to hear from you!

    SR

    Samuel Rose

    Founder & CEO of Agensi

    Email UsBook a Call

    info@agensi.io

    We typically respond within a few hours during business hours.