OMOB
Back to Primitives

17 actions · from $0.00015 / call

Facebook

Facebook API for AI agents

Tool

Pages, posts and the ads a page runs. Facebook gives your agent 17 actions through one OMOB API key, starting from $0.00015 / call, billed per call to one prepaid balance. It works from ChatGPT and Claude through one MCP connector, and from the SDK, CLI or REST.

Public pages, posts and the ads a page runs.

Part of Social media

What agents use Facebook for

  • See which ads a competitor is running right now in the ad library.

    facebook.search-facebook-ads · $0.00075 / result

  • Read a local business's reviews before a sales call.

    facebook.list-facebook-reviews · $0.0009 / result

  • Scan Marketplace listings for a product and compare asking prices.

    facebook.browse-facebook-marketplace · $0.00015 / call

Actions

Every action: POST /v1/tools/runs { "tool": "<name>", "input": { … } }

  • Facebook

    Get profile

    facebook.profile

    Followers, bio, verified flag and the latest posts for one account.

    Parameters
    ParameterDescription
    username
    string · required
    Handle without the @.
    Example response
    {
      "object": "facebook.profile",
      "username": "nasa",
      "followers": 12804113,
      "following": 81,
      "verified": true,
      "bio": "Exploring the universe and our home planet.",
      "posts": [
        {
          "id": "7312094",
          "views": 1840022,
          "likes": 211940,
          "posted_at": "2026-11-21"
        },
        {
          "id": "7311877",
          "views": 902114,
          "likes": 88012,
          "posted_at": "2026-11-19"
        }
      ]
    }
    $0.015 / call
  • Facebook

    List posts

    facebook.posts

    Recent posts from a public page, with text and reactions.

    Parameters
    ParameterDescription
    username
    string · required
    Page handle from its URL, e.g. nasa.
    Example response
    {
      "object": "list",
      "username": "nasa",
      "data": [
        {
          "id": "7312094",
          "caption": "Artemis II, one year out",
          "views": 1840022,
          "comments": 4120
        },
        {
          "id": "7311877",
          "caption": "Saturn's rings, up close",
          "views": 902114,
          "comments": 1977
        }
      ],
      "next": "c_8f2a"
    }
    $0.00015 / call
  • Facebook

    Search posts

    facebook.search

    Up to 10 public posts matching a keyword.

    Parameters
    ParameterDescription
    query
    string · required
    What to search for, in plain words.
    Example response
    {
      "object": "list",
      "query": "standing desk review",
      "data": [
        {
          "id": "7302114",
          "author": "deskhacks",
          "views": 220190
        },
        {
          "id": "7299310",
          "author": "wfhsetup",
          "views": 98221
        }
      ]
    }
    $0.006 / result
  • Facebook

    Search Facebook Ads

    facebook.search-facebook-ads

    Scrape ads from the Meta/Facebook Ad Library by search query or page.

    $0.00075 / result
  • Facebook

    List Facebook Reviews

    facebook.list-facebook-reviews

    Scrape reviews from Facebook business pages with ratings and reviewer info.

    $0.0009 / result
  • Facebook

    Pull Facebook Profile Posts

    facebook.pull-facebook-profile-posts

    Collect public Facebook profile posts, profile details, or a profile ID, by profile URL or ID.

    $0.006 / result
  • Facebook

    Search Facebook Events

    facebook.search-facebook-events

    Extract Facebook event listings by search query, page, or event URL.

    $0.0046 / result
  • Facebook

    Pull Facebook Group Posts

    facebook.pull-facebook-group-posts

    Scrape posts and comments from public Facebook groups.

    $0.0012 / result
  • Facebook

    List Facebook Comments

    facebook.list-facebook-comments

    Extract public comments and threaded replies from Facebook posts, photos, videos, and reels.

    $0.00068 / result
  • Facebook

    Get Facebook Page

    facebook.get-facebook-page

    Extract public data from Facebook pages and profiles: contact info, likes, followers, ratings.

    $0.0031 / result
  • Facebook

    Get Facebook Page Posts

    facebook.get-facebook-page-posts

    Get recent public posts from a Facebook Page.

    $0.00015 / call
  • Facebook

    Get Facebook Reel

    facebook.get-facebook-reel

    Get a public Facebook reel by its URL.

    $0.00015 / call
  • Facebook

    Get Facebook Post

    facebook.get-facebook-post

    Get a public Facebook post by its URL.

    $0.00015 / call
  • Facebook

    Browse Facebook Marketplace

    facebook.browse-facebook-marketplace

    Browse or search Facebook Marketplace listings by city.

    $0.00015 / call
  • Facebook

    Search Facebook Pages

    facebook.search-facebook-pages

    Search public Facebook Pages by name.

    $0.00015 / call
  • Facebook

    Get Facebook Hashtag Posts

    facebook.get-facebook-hashtag-posts

    Get public Facebook posts for a hashtag.

    $0.00015 / call
  • Facebook

    Search Facebook Profiles

    facebook.search-facebook-profiles

    Search public Facebook profiles by name.

    $0.00015 / call

Pricing

from $0.00015 / call

Billed per call to one prepaid balance. No vendor accounts, no subscription.

Use it from ChatGPT, Claude, the SDK or the CLI

import { createOMOB } from "@omob-sdk/omob"; const omob = createOMOB(); // reads OMOB_API_KEYconst run = await omob.tools.run("facebook.profile", {"username":"nasa"}, { wait: true });console.log(run.output);

Facebook API: questions

How do I get a Facebook API key for my agent?
You do not need a separate Facebook key or account. Sign up at developers.omob.app, create one OMOB API key, and your agent calls every Facebook action with it, from the SDK, the CLI, REST or the MCP connector.
How much does the Facebook API cost?
Facebook actions start from $0.00015 / call, billed per call to one prepaid balance. Each action's price is listed on this page, and you only pay for calls that run.
Is there a free tier?
Yes. Every new developer account gets $1 of free credit, no card, and tool calls like these run on it (about 6,666 calls at the starting price). After that you top up a prepaid balance; there is no subscription.
Can ChatGPT or Claude use Facebook?
Yes. Add OMOB as a connector with the URL https://mcp.omob.app/v1/mcp and sign in; then ask in plain words and the assistant finds and runs the Facebook actions for you. Claude Code, Codex and other MCP clients use the same URL. In ChatGPT, custom connectors need a Business, Enterprise or Edu workspace; on Plus or Free, use Claude.

Related tools

  • Profiles, videos, comments, hashtags and trending sounds.

    from $0.00015
    per call
    151 actions
  • Profiles, posts, reels, comments and hashtags.

    from $0.00015
    per call
    62 actions
  • Channels, videos, transcripts and comments.

    from $0.00015
    per call
    52 actions