TollNode

Facebook data API and MCP for AI agents

TollNode gives Claude, Cursor or any AI agent live public Facebook data (pages, posts, reviews, events and the Meta ad library) over API and MCP, from $0.013 per call.

Ask in plain words, like 'show Nike's latest posts with likes and comments', and get a clean table back in seconds.

No subscription · Sign-up optional · From $0.013 per call · Charged only when it works · No Facebook account needed

Claude Code

Look up National Geographic's Facebook page and tell me their category, followers and website

TollNode · Facebook · page$0.013 · 1 page · 35 s

FieldValue
NameNational Geographic
CategoryMedia/news company
Followers51,448,485
Websitenationalgeographic.com

Real result.

Works in Claude Code, Cursor, Codex, VS Code and any MCP agent.

What your agent can pull from Facebook

Every result is structured JSON your agent can sort, filter, summarize or turn into a spreadsheet.

What people ask their AI to do with it

Use it as a Facebook MCP server in Claude, Cursor or Codex

Connect once. Then just ask.

Paste this into Claude Code, Cursor or Codex. It connects TollNode and gives your agent a small wallet. Add a few dollars of USDC and you're done.

terminal
npx agentcash add https://tollnode.com

Copy for your AI agent

Paste this into your agent so it knows what this node does and how to call it.

prompt
You can use TollNode's Facebook node to look up public Facebook data. Call POST https://tollnode.com/api/v1/nodes/facebook with an "action" and its fields. Actions: page (handle), posts (handle), comments (url), reviews (handle), events (query), ads (query, country). Each action has its own price and is charged only when it returns a result. Over MCP, call the "facebook" tool; use list_models to see prices. Return results as tables when I ask for lists.

6 actions, one node

Send action plus the fields that action needs, to the same address. Each action has its own price, charged only when it returns a result. Leave out action and you get page.

  • page$0.013

    A page's profile, followers, category and contact details. Page name, category, intro, likes, followers, website, address, phone and email where published, and creation date..

    needs: handle

  • posts$0.057

    A page's latest 10 posts. 10 posts: text, date, likes, comments, shares, reaction counts, media links and post link..

    needs: handle

  • comments$0.057

    20 comments on a post or reel. 20 comments: text, commenter name, likes, reply count and date..

    needs: url

  • reviews$0.057

    20 reviews of a page. 20 reviews: recommended or not, text, tags, reviewer name, likes and date..

    needs: handle

  • events$0.138

    10 public events for a search like jazz Austin. 10 events: name, date and time, place, description, organiser, ticket link and how many people are going or interested..

    needs: query

  • ads$0.022

    20 active Facebook and Instagram ads for a brand or keyword. 20 ads: page name, ad text, headline, image and video links, call to action, start date, platforms and active flag..

    needs: query · optional: country

request body: page
{"action":"page","handle":"natgeo"}
request body: posts
{"action":"posts","handle":"natgeo"}

POST either body to https://tollnode.com/api/v1/nodes/facebook. From an AI assistant you don't write this yourself: ask in plain words and it picks the action.

Charged only when a call returns a result. Failed or empty calls cost $0.

Facebook data without a scraper or app review

FAQ

Is this the official Facebook API?
No. Meta's official Graph API needs an approved app and mostly covers pages you manage. TollNode returns public Facebook page, post, review, event and ad library data through its own API and MCP server, priced per call.
Can I use it as a Facebook MCP server in Claude?
Yes. Add https://tollnode.com/mcp in Claude Code, Claude Desktop or Cursor, and the "facebook" tool appears with every action and its price.
Do I need a Facebook account?
No. Your agent calls TollNode, and you never log in to Facebook or share cookies.
Can this read private groups, Marketplace or personal profiles?
No. This node only covers public pages, their posts, comments, reviews, public events and the Meta ad library.
What if a page or handle isn't found?
You're not charged. The response says nothing was found, and your agent can try a different handle or URL.
How does the ad library search work?
The ads action returns up to 20 active Facebook and Instagram ads for a brand or keyword, with text, media, start date and platforms.
How much data comes back per call?
Posts return the latest 10, comments and reviews return 20, events return 10 and ads return 20. Ask for another search to get more.

Ready in a minute

Connect your AI
For developers: endpoint, inputs and an example response

POST https://tollnode.com/api/v1/nodes/facebook

Input

FieldTypeNotes
urlstringA public Facebook post or reel URL (for: comments)
querystringWhat and where, e.g. jazz Austin (for: events, ads)
action*enumWhat to do; sets the price. page (needs handle), posts (needs handle), comments (needs url), reviews (needs handle), events (needs query), ads (needs query). Default page (page, posts, comments, reviews, events, ads)
handlestringFacebook page name as in its URL, e.g. natgeo (for: page, posts, reviews)
countrystringTwo-letter country code, uppercase, e.g. US, GB, DE; default US (for: ads)

Example response

{
  "results": [
    {
      "intro": "Step into wonder and find your inner explorer with National Geographic 🌎",
      "likes": 0,
      "title": "National Geographic",
      "pageId": "100044623170418",
      "address": "https://www.bing.com/maps/default.aspx?v=2&pc=FACEBK&mid=8100&FORM=FBKPL1&mkt=en-US",
      "pageUrl": "https://www.facebook.com/natgeo",
      "website": "http://www.nationalgeographic.com/",
      "category": "Media/news company",
      "pageName": "natgeo",
      "ad_status": "This Page is currently running ads.",
      "followers": 51448485,
      "messenger": null,
      "addressUrl": "https://www.bing.com/maps/default.aspx?v=2&pc=FACEBK&mid=8100&FORM=FBKPL1&mkt=en-US",
      "facebookId": "100044623170418",
      "followings": 2,
      "facebookUrl": "https://www.facebook.com/natgeo",
      "profilePhoto": "https://www.facebook.com/photo/?fbid=1182307926599969&set=a.528642305299871",
      "coverPhotoUrl": "https://scontent-atl3-2.xx.fbcdn.net/v/t39.99422-6/812781747_1736507274317264_838409908249726649_n.png?stp=dst-jpg_tt…",
      "creation_date": "August 7, 2008",
      "confirmed_owner": "NATIONAL GEOGRAPHIC PARTNERS, LLC is responsible for this Page.",
      "showVerifiedBadge": true,
      "CONFIRMED_OWNER_LABEL": "NATIONAL GEOGRAPHIC PARTNERS, LLC"
    }
  ]
}

Also described in the OpenAPI file and llms.txt. Setup for every app: Agents & MCP.