Skip to the content

Scraper API

Facebook

facebook.pageAvailable

Facebook Page

Its name, category, about text, follower count, and the contact details it publishes: website, phone, email address, street address, price range and rating.

Give it a Facebook Page's address, or the name in it.

1 unit a run, for runs that return data. Runs that fail cost nothing. How units work

Counted
1 unit a run
Inputs
1, 1 required
Record
28 fields
A run takes
up to 5 minutes
Records kept
7 days
Measured
its success, on the status page

POST/v1/scrapers/facebook.page/runs

{
"input": {
"page": "https://www.facebook.com/katzsdeli"
}
}

sent, and answered

a record of the run28 fields

{
name: "Katz's Delicatessen"
url: "https://www.facebook.com/katzsdeli"
username: "katzsdeli"
page_id: "89033874836"
profile_id: "100064806517961"
category: "Deli"
about: "New York City's most iconic deli."
verified: false
follower_count: 978420
… 19 more fields

ok1 unit a run

A record this scraper returned for this input. The first 9 of its 28 fields are set down here; the whole record is below.

facebook.com
The page Facebook Page reads, as a browser shows it
The page this scraper reads, photographed in a browser on 18 November 2026. It belongs to its publisher, who has no part in this service.

What it is used for

Read a business's page
A public Facebook page's category, description, followers, likes, website, telephone, address and rating.
Complete a company record
Add the contact details and the other accounts a business lists on its page to the record you hold.
Follow an audience
Read a page on a schedule and keep the series of follower_count and like_count.

What you send

A Facebook Page's address, or the name in it. It is the one input.

pagestring Required
The Page's address, e.g. https://www.facebook.com/katzsdeli, or the name in that address (katzsdeli).

A request, ready to send

It starts a run with the input shown at the top of this page, waits up to 60 seconds for it, and reads its records. Put your key in the variable it reads.

# Start a run and wait up to 60 seconds for it to finish
curl -X POST "https://api.enrichednow.com/v1/scrapers/facebook.page/runs?wait=60" \
  -H "Authorization: Bearer $ENRICHEDNOW_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"input":{"page":"https://www.facebook.com/katzsdeli"}}'

# Read its records, with the id the first call answered
curl "https://api.enrichednow.com/v1/runs/$RUN_ID/records?limit=100" \
  -H "Authorization: Bearer $ENRICHEDNOW_API_KEY"
from enrichednow import EnrichedNow

client = EnrichedNow()  # reads ENRICHEDNOW_API_KEY

# Start a run, wait for it to end, and get its records
result = client.scrape("facebook.page", {
    "page": "https://www.facebook.com/katzsdeli",
})
print(result.run.id, result.run.status, result.run.record_count)

# Read its records: pages are fetched as you go
for record in result.records:
    print(record)

Install it with pip install enrichednow, then save as run.py and run python3 run.py

import EnrichedNow from "enrichednow";

const client = new EnrichedNow(); // reads ENRICHEDNOW_API_KEY

// Start a run, wait for it to end, and get its records
const { run, records } = await client.scrape("facebook.page", {
  page: "https://www.facebook.com/katzsdeli",
});
console.log(run.id, run.status, run.record_count);

// Read its records: pages are fetched as you go
for await (const record of records) console.log(record);

Install it with npm install enrichednow, then save as run.mjs and run node run.mjs

package main

import (
	"context"
	"fmt"
	"log"
	"time"

	enrichednow "github.com/enrichednow/enrichednow-go"
)

func main() {
	client, err := enrichednow.NewClient() // reads ENRICHEDNOW_API_KEY
	if err != nil {
		log.Fatal(err)
	}
	ctx, cancel := context.WithTimeout(context.Background(), 10*time.Minute)
	defer cancel()

	// Start a run, wait for it to end, and get its records
	run, records, err := client.Scrape(ctx, "facebook.page", map[string]any{"page": "https://www.facebook.com/katzsdeli"})
	if err != nil {
		log.Fatal(err)
	}
	fmt.Println(run.ID, run.Status, run.RecordCount)

	// Read its records: pages are fetched as you go
	for records.Next() {
		fmt.Println(string(records.Current()))
	}
	if err := records.Err(); err != nil {
		log.Fatal(err)
	}
}

Install it with go get github.com/enrichednow/enrichednow-go@latest, then save as run.go and run go run run.go

import com.enrichednow.EnrichedNowClient;
import com.enrichednow.ScrapeResult;
import java.util.Map;

public class Run {
    public static void main(String[] args) {
        EnrichedNowClient client = EnrichedNowClient.fromEnv(); // reads ENRICHEDNOW_API_KEY

        // Start a run, wait for it to end, and get its records
        ScrapeResult result = client.scrape("facebook.page", Map.of("page", "https://www.facebook.com/katzsdeli"));
        System.out.println(result.run().id() + " " + result.run().status() + " " + result.run().recordCount());

        // Read its records: pages are fetched as you go
        for (Map<String, Object> record : result.records()) {
            System.out.println(record);
        }
    }
}

Add com.enrichednow:enrichednow-java:0.4.0 to your Maven or Gradle build, then save as Run.java

enrichednow run facebook.page --input page=https://www.facebook.com/katzsdeli

Install it with curl -fsSL https://raw.githubusercontent.com/enrichednow/enrichednow-cli/main/install.sh | sh

What comes back

Its name, category, about text, follower count, and the contact details it publishes: website, phone, email address, street address, price range and rating. A record has 28 fields. One we could not read is null, never an empty string or a zero.

A record facebook.page returned
{
  "name": "Katz's Delicatessen",
  "url": "https://www.facebook.com/katzsdeli",
  "username": "katzsdeli",
  "page_id": "89033874836",
  "profile_id": "100064806517961",
  "category": "Deli",
  "about": "New York City's most iconic deli.",
  "verified": false,
  "follower_count": 978420,
  "like_count": null,
  "talking_about_count": 53821,
  "were_here_count": 531010,
  "website": "http://katzsdelicatessen.com/",
  "email": "cs@katzsdelicatessen.com",
  "phone": "(212) 254-2246",
  "address": "205 E Houston St, New York, NY, United States, New York",
  "price_range": "$$",
  "services": [
    "Dine-in",
    "Outdoor seating",
    "In-store pickup"
  ],
  "hours_status": "Open now",
  "rating_text": "98% recommend (52,462 reviews)",
  "recommend_percent": 98,
  "rating": null,
  "review_count": 52462,
  "responsible_organization": "KATZ DELICATESSEN OF HOUSTON STREET INC",
  "other_accounts": [
    {
      "label": "katzsdeli",
      "url": "https://www.instagram.com/katzsdeli"
    }
  ],
  "profile_picture_url": "https://scontent-phl2-1.xx.fbcdn.net/v/t39.30808-1/347587684_597250122171933_7563996541647031112_n.jpg?stp=c187.0.1275.1275a_dst-jpg_tt6&cstp=mx1275x1275&ctp=s200x200&_nc_cat=1&ccb=1-7&_nc_sid=2d3e12&_nc_ohc=l7_OzMCCv5kQ7kNvwGx7fx6&_nc_oc=AdrK68pjcTbC0zPPHvI9zwCvnlXNWBF_5QeS1OQTMAhEDmZ8K7CXc9UZu2F2jhjkaCY&_nc_zt=24&_nc_ht=scontent-phl2-1.xx&_nc_gid=6GrcocLl0UvEoe-cBO1Oig&_nc_ss=79289&oh=00_AQR8ReawiB1_FTg8tYerWq9qky7NFbpQaOBa7WdQqiaSLA&oe=6B03BB1A",
  "cover_photo_url": "https://scontent-phl2-1.xx.fbcdn.net/v/t39.30808-6/347638085_5639895616114156_695043930763579880_n.png?stp=dst-png&cstp=mx828x315&ctp=s828x315&_nc_cat=108&_nc_map=urlgen_bucketless&ccb=1-7&_nc_sid=cc71e4&_nc_ohc=ooWMpHizXF0Q7kNvwHy55f3&_nc_oc=Ador4va-vOUlGjZDy4SA7RDBOdes3MwwNLveXywy-gYODBQXpmVx8g0UtSfqX7mOIcE&_nc_zt=23&_nc_ht=scontent-phl2-1.xx&_nc_gid=6GrcocLl0UvEoe-cBO1Oig&_nc_ss=79289&oh=00_AQSKbsOZv__CbAH9TDvJFLYr6bqDyXb9fVv4SrucQfXcng&oe=6B03C214",
  "fetched_at": "2026-11-19T18:07:40.113660Z"
}

The scraper returned this record for the input above, reading a saved copy of the page, not the live site.

The fields of a record

namestring
The Page's name.
urlstring
The Page's address, as Facebook writes it.
usernamestring or null
The name in the Page's address (facebook.com/<username>); null for a Page addressed by its id.
page_idstring or null
Facebook's numeric id of the Page.
profile_idstring or null
Facebook's numeric id of the Page's profile (another number than page_id).
categorystring or null
The Page's category, e.g. Deli, Food & beverage company, Government organization.
aboutstring or null
The short text the Page shows under Intro; null when it shows none.
verifiedboolean or null
True when the Page carries the verified badge.
follower_countinteger or null
Number of followers.
like_countinteger or null
Number of people who like the Page, where Facebook still states it; null otherwise.
talking_about_countinteger or null
Facebook's "talking about this" number: people who interacted with the Page recently.
were_here_countinteger or null
Number of check-ins at the business, for a Page with a location.
websitestring or null
The website the Page publishes.
emailstring or null
The e-mail address the Page publishes.
phonestring or null
The phone number the Page publishes, as written.
addressstring or null
The street address the Page publishes, as written.
price_rangestring or null
The price range the Page states, e.g. $$.
serviceslist of strings
The services the Page lists, e.g. Dine-in, Outdoor seating.
hours_statusstring or null
What the Page said about its opening hours when it was read, e.g. "Open now" or "Closed now".
rating_textstring or null
The rating line as the Page shows it: the share of reviewers who recommend the business, or stars, with the number of reviews.
recommend_percentinteger or null
The share of reviewers who recommend the business, in percent, when the rating is shown that way.
ratingnumber or null
The average rating out of 5, when the rating is shown as stars.
review_countinteger or null
Number of reviews behind the rating.
responsible_organizationstring or null
The organisation Facebook names as responsible for the Page, when it names one.
other_accountslist of objects
The business's accounts on other networks that the Page lists.Each holds label, url.
profile_picture_urlstring or null
The Page's profile picture. A signed address that stops working after some days.
cover_photo_urlstring or null
The Page's cover photo. A signed address that stops working after some days.
fetched_atdatetime
When the Page was read, in UTC.

The whole schema, in its reference

Units and limits

Counted per request
Billed per request: a run that returns data costs 1 unit, however many records it returns.
A miss costs nothing
A run that fails, that meets something not supported yet, or that you cancel costs nothing. You pay for runs that return data.
What bounds a run
A run may take up to 5 minutes. Its records are read in pages of up to 1,000 and are kept for 7 days.

What it does not do

  • Pages of businesses and organisations only. A person's profile is not read: the run ends as unsupported, with the reason not_a_page, and costs nothing.
  • Posts, reviews, photos and events are not read.
  • A Page that Facebook shows only to signed-in visitors ends as failed, with the reason not_found.

Scraper API pricing: how units workThe five ways a run ends

Questions

What does Facebook Page return?

Its name, category, about text, follower count, and the contact details it publishes: website, phone, email address, street address, price range and rating. A record has 28 fields, among them name, url, username, page_id, profile_id and category. A value that could not be read is null, never an empty string or a zero.

What do I send?

A Facebook Page's address, or the name in it. The input page is required.

How is it counted?

Billed per request: a run that returns data costs 1 unit, however many records it returns. A run that fails, that meets something not supported yet, or that you cancel costs nothing. The first 1,000 units each month are free.

What does it not do?

Pages of businesses and organisations only. A person's profile is not read: the run ends as unsupported, with the reason not_a_page, and costs nothing. Posts, reviews, photos and events are not read. A Page that Facebook shows only to signed-in visitors ends as failed, with the reason not_found.

How long are the records kept, and in what format do they come?

Records are kept for 7 days after the run ended, and read in pages of up to 1,000. They come as JSON, as NDJSON with one record a line, or as CSV with a column for each field.

Can an AI assistant call it?

Yes. Through the EnrichedNow MCP server an assistant calls the tool run_scraper with the scraper_id facebook.page and the same input. It costs what the same API call costs.

Facebook

A business's or organisation's public Facebook Page, as a visitor who is not signed in sees it.

Facebook on the line-up

Where
Worldwide

Run it on an input of your own.

Create an account, make a key, and send the request above with your own input. The first 1,000 units each month are free.