Skip to the content
EnrichedNowDocs

    Type to search every page.

    Menu

    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.

    Inputs of facebook.page
    FieldTypeDescription
    pagerequiredstringThe 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.

    Record fields of facebook.page
    FieldTypeNotes
    namestringThe Page's name.
    urlstringThe Page's address, as Facebook writes it.
    usernamestring or nullThe name in the Page's address (facebook.com/<username>); null for a Page addressed by its id.
    page_idstring or nullFacebook's numeric id of the Page.
    profile_idstring or nullFacebook's numeric id of the Page's profile (another number than page_id).
    categorystring or nullThe Page's category, e.g. Deli, Food & beverage company, Government organization.
    aboutstring or nullThe short text the Page shows under Intro; null when it shows none.
    verifiedboolean or nullTrue when the Page carries the verified badge.
    follower_countinteger or nullNumber of followers.
    like_countinteger or nullNumber of people who like the Page, where Facebook still states it; null otherwise.
    talking_about_countinteger or nullFacebook's "talking about this" number: people who interacted with the Page recently.
    were_here_countinteger or nullNumber of check-ins at the business, for a Page with a location.
    websitestring or nullThe website the Page publishes.
    emailstring or nullThe e-mail address the Page publishes.
    phonestring or nullThe phone number the Page publishes, as written.
    addressstring or nullThe street address the Page publishes, as written.
    price_rangestring or nullThe price range the Page states, e.g. $$.
    servicesarray of stringThe services the Page lists, e.g. Dine-in, Outdoor seating.
    hours_statusstring or nullWhat the Page said about its opening hours when it was read, e.g. "Open now" or "Closed now".
    rating_textstring or nullThe 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 nullThe share of reviewers who recommend the business, in percent, when the rating is shown that way.
    ratingnumber or nullThe average rating out of 5, when the rating is shown as stars.
    review_countinteger or nullNumber of reviews behind the rating.
    responsible_organizationstring or nullThe organisation Facebook names as responsible for the Page, when it names one.
    other_accountsarray of objectThe business's accounts on other networks that the Page lists.
    label (in other_accounts[])stringThe account's name as the Page shows it, e.g. its Instagram handle.
    url (in other_accounts[])string or nullThe address the Page links it to; null when it shows the name without a link.
    profile_picture_urlstring or nullThe Page's profile picture. A signed address that stops working after some days.
    cover_photo_urlstring or nullThe Page's cover photo. A signed address that stops working after some days.
    fetched_atstring (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/katzsdeli

    Install 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:

    JSON
    {
      "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.

    JSON
    {
      "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.

    JSON
    {
      "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.