Scraper APIFacebook
facebook.page
A public Facebook Page's header and Intro: name, category, about text, followers, website, phone, e-mail, address, price range and rating.
- Id
facebook.page- Version
- 1
- Billed per
- request — 1 unit for a charged run
- Runs
- within one request
Start it with POST /v1/scrapers/facebook.page/runs. How runs work is in Running a scraper; what a run costs is in Usage and units.
Inputs
The fields of input. A field that is not listed here is refused.
| Field | Type | Description |
|---|---|---|
pagerequired | string | The Page's address, e.g. https://www.facebook.com/katzsdeli, or the name in that address (katzsdeli).Limit: at most 500 characters. |
Record fields
Every record of a run has these fields. A value that is not known is null — never an empty string and never 0.
| Field | Type | Notes |
|---|---|---|
name | string | The Page's name. |
url | string | The Page's address, as Facebook writes it. |
username | string or null | The name in the Page's address (facebook.com/<username>); null for a Page addressed by its id. |
page_id | string or null | Facebook's numeric id of the Page. |
profile_id | string or null | Facebook's numeric id of the Page's profile (another number than page_id). |
category | string or null | The Page's category, e.g. Deli, Food & beverage company, Government organization. |
about | string or null | The short text the Page shows under Intro; null when it shows none. |
verified | boolean or null | True when the Page carries the verified badge. |
follower_count | integer or null | Number of followers. |
like_count | integer or null | Number of people who like the Page, where Facebook still states it; null otherwise. |
talking_about_count | integer or null | Facebook's "talking about this" number: people who interacted with the Page recently. |
were_here_count | integer or null | Number of check-ins at the business, for a Page with a location. |
website | string or null | The website the Page publishes. |
email | string or null | The e-mail address the Page publishes. |
phone | string or null | The phone number the Page publishes, as written. |
address | string or null | The street address the Page publishes, as written. |
price_range | string or null | The price range the Page states, e.g. $$. |
services | array of string | The services the Page lists, e.g. Dine-in, Outdoor seating. |
hours_status | string or null | What the Page said about its opening hours when it was read, e.g. "Open now" or "Closed now". |
rating_text | string 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_percent | integer or null | The share of reviewers who recommend the business, in percent, when the rating is shown that way. |
rating | number or null | The average rating out of 5, when the rating is shown as stars. |
review_count | integer or null | Number of reviews behind the rating. |
responsible_organization | string or null | The organisation Facebook names as responsible for the Page, when it names one. |
other_accounts | array of object | The business's accounts on other networks that the Page lists. |
label (in other_accounts[]) | string | The account's name as the Page shows it, e.g. its Instagram handle. |
url (in other_accounts[]) | string or null | The address the Page links it to; null when it shows the name without a link. |
profile_picture_url | string or null | The Page's profile picture. A signed address that stops working after some days. |
cover_photo_url | string or null | The Page's cover photo. A signed address that stops working after some days. |
fetched_at | string (date-time) | When the Page was read, in UTC. |
Example request
# 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/katzsdeliInstall it with curl -fsSL https://raw.githubusercontent.com/enrichednow/enrichednow-cli/main/install.sh | sh
It starts a run with this scraper’s example input, waits for it to finish and reads its records a page at a time. The key is read from ENRICHEDNOW_API_KEY.
The body on its own:
{
"input": {
"page": "https://www.facebook.com/katzsdeli"
}
}Example response
The run, once it has ended. A run that has not ended within wait comes back with 202 and the status queued or running.
{
"id": "run_841742f37553189ff9c27ba1",
"scraper_id": "facebook.page",
"scraper_version": 1,
"status": "ok",
"reason": null,
"input": {
"page": "https://www.facebook.com/katzsdeli"
},
"record_count": 1,
"units": 1,
"units_per_request": 1,
"units_per_record": null,
"units_per_page": null,
"diagnostics": {
"requests": 1,
"bytes": 259214,
"wall_ms": 885,
"facts": {}
},
"created_at": "2026-11-16T22:37:50.170950Z",
"started_at": "2026-11-16T22:37:50.178331Z",
"finished_at": "2026-11-16T22:37:51.066313Z"
}Its records, from GET /v1/runs/{id}/records. The record is a real one: this scraper's own parser read it from a page recorded from the site.
{
"records": [
{
"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"
}
],
"next_cursor": null
}A run does not always end ok. Results and statuses lists every status and the reasons every scraper shares; the reasons of the Facebook scrapers are in their own section there.