API guide Social From $2.99 / 1k

Facebook Posts API call Facebook Posts Search Scraper from your code

Looking for a Facebook Posts API? EasyAPI’s Facebook Posts Search Scraper runs on Apify: call it like an API, land structured datasets, and pay per result.

  • 1,457users
  • 92.2%30-day success
  • 4.33 ★rating
Call via Apify API
curl -X POST \
  "https://api.apify.com/v2/acts/easyapi~facebook-posts-search-scraper/run-sync-get-dataset-items?token=$APIFY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"searchQuery":"football","maxPosts":10}'

Who calls this API

  • Developers who want Actor API / webhook access instead of maintaining scrapers
  • Data teams that need JSON/CSV exports on a schedule
  • Product and research folks validating a source before building in-house

Why use Facebook Posts Search Scraper as your API

  • Focused on public posts by keyword with text, links and engagement
  • Apify Actor API, schedules and dataset exports out of the box
  • Pay-per-result pricing with a live rate on the Actor page
  • One integration pattern (Apify API) works for every EasyAPI tool
  • From $2.99 / 1k on this landing (as of Oct 2026)
  • 92.2% successful Apify runs in the last 30 days
  • 1,457 Apify users have run this Actor
Checklist

What to look for in an API-style option

Prefer an official API when the source offers one that fits. Otherwise look for a maintained scraper with a clear schema, exports and pricing.

  • An official or well-documented API when the source offers one
  • If not: a maintained Apify Actor with clear input/output schema
  • Export formats (JSON/CSV) and webhook/API hooks for automation
  • Transparent usage pricing and run logs
What you get

Facebook Posts Search Scraper at a glance

  • Keyword search → post rows

    Collect Facebook search posts with content, engagement signals and author fields for social listening and research dumps.

  • Engagement-aware shortlists

    Sort and filter posts by likes/comments signals so GTM and research teams prioritize what is actually moving.

  • Then go deeper in the FB toolkit

    Need groups, comments or hashtags? Switch to Facebook Groups Search, Comments or Hashtag scrapers with the same Apify export pattern.

Input fields

  • searchQuerystring

    The search query to find Facebook posts. Choose either this or Search URL.

  • searchUrlstring

    Complete Facebook search results page URL. Choose either this or Search Query.

  • maxPostsinteger

    The maximum number of posts to scrape from the search results. The actor will stop when this limit is reached.

  • postTimeRangestring

    Filter posts by time range

apify.com/easyapi/facebook-posts-search-scraper
Input
{
  "searchQuery": "football",
  "maxPosts": 10
}
Output · one dataset row
{
  "id": "123",
  "text": "Example post\u2026",
  "author": "example",
  "url": "https://\u2026",
  "likes": 120
}
FAQ

Straight answers

Is this an official Facebook Posts API?

No — it is EasyAPI’s Apify Actor that scrapes public pages into structured data. If the platform offers an official API, prefer that for production compliance needs.

How do I call it like an API?

Run the Actor via the Apify API or console, then fetch the dataset. You can schedule runs and push results with webhooks.

Where is the tool landing?

See Facebook Posts Search Scraper on easyapi.tools and the live Actor on Apify for schema and pricing.

What does Facebook Posts Search return?

Post-level rows: text, author, URL and engagement signals when available. Verify live fields on the Apify dataset schema.

Posts vs Groups vs Comments — which Actor?

Posts Search finds posts matching a query. Groups Search discovers public groups. Comments scrapes comment threads on posts. Start with Posts for listening; Groups for community maps; Comments for thread-level analysis.

Start calling Facebook Posts Search Scraper

Run a small test on Apify’s free credits and compare the output with whatever you use today.