Skip to main content
Scrape a Facebook link and the result comes back with the page’s data in a defined structure: a Page’s details and latest post, a post’s reactions and comments, Marketplace listings, or Ad Library results. Send "output": "json" to get just that data, or add a prompt or schema to shape it your own way (how results come back). Each link costs 1 credit, and a link that can’t be read costs nothing.

Example

The item’s result, shortened:

Fields

Page: name, username, id, category, followers, likes, talkingAbout, checkIns, bio, websites, phone, email, address, coordinates, hoursStatus, priceRange, services, rating, recommendPercent, reviewCount, owner, otherAccounts, profilePicture, coverPhoto and latestPost (text, publishedAt, reactions, reactionTypes, comments, shares, views, media, links). Most fields come from what the Page set in its intro, so they’re null when it hasn’t. Ad Library: totalCount, adCount, hasMore, advertiser, and ads, each with id, url, isActive, advertiser, startDate, endDate, platforms, format, title, body, linkUrl, ctaText, images, videos, cards, categories, spend, reachEstimate, impressions and countries. A coffee keyword search found 50,001 ads and returned the first 30. Marketplace: title, price, original price, city, photo, seller, delivery and date on a list; plus description, category, condition, location, coordinates and all photos on an item.

Limits

  • One post per Page. A Page’s public view shows its latest post (pinned posts left out); older posts need a Facebook account.
  • Ad Library: the first page of about 30 ads per link.
  • Not read: groups, events, photo pages and a Page’s ads transparency tab.

Templates

Ready-made templates for Facebook: Page stats, latest post from Pages, post metrics, Ad Library search, ads by advertiser, and Marketplace listings and item details.
Check Facebook’s terms before you collect data from it. You’re responsible for how you use what you collect.