Facebook Reviews API
Send a Page's username or URL and get its newest reviews back as JSON: what each reviewer wrote, whether they recommend the Page, and the Page's overall recommend percentage.
- 100 free credits
- No card needed
- No scraper to build or maintain
curl "https://pipefetch.com/v1/facebook/reviews?page=copperkettleyqr" \
-H "x-api-key: YOUR_API_KEY"const res = await fetch('https://pipefetch.com/v1/facebook/reviews?page=copperkettleyqr', {
headers: { 'x-api-key': process.env.PIPEFETCH_API_KEY },
});
const { data, credits } = await res.json();import os, requests
res = requests.get(
"https://pipefetch.com/v1/facebook/reviews",
params={"page": "copperkettleyqr"},
headers={"x-api-key": os.environ["PIPEFETCH_API_KEY"]},
)
data = res.json()["data"]What you get
- Up to 30 of the Page's newest reviews, newest first
- The text of each review, its time and a direct link to it
- Whether the reviewer recommends the Page, and the tags the reviewer picked
- The reaction, comment and share counts of each review
- The reviewer's public name, id, profile link and picture
- The Page's name, its recommend percentage and its number of reviews
{
"data": {
"page": {
"id": "100064027242849",
"name": "The Copper Kettle Restaurant",
"url": "https://www.facebook.com/copperkettleyqr",
"recommendPercent": 94,
"reviewCount": 73
},
"reviews": [
{
"id": "0000000000",
"url": "https://example.com/item",
"isRecommended": true,
"text": "They offers a cozy atmosphere, friendly service, and a menu of tasty comfort food at reasonable prices. It’s a great spot for casual dining.",
"tags": [
"Child-friendly",
"Fast delivery"
],
"createdAt": "2024-09-11T17:57:58.000Z",
"reactionCount": 0,
"commentCount": 0,
"shareCount": 0,
"reviewer": {
"id": "0000000000",
"name": "Example Person",
"url": "https://example.com/profile",
"pictureUrl": "https://example.com/avatar.jpg"
}
},
{
"id": "0000000000",
"url": "https://example.com/item",
"isRecommended": false,
"text": "Normally the food from here is really good but we got pizza last night and it was somewhere in the range of sub par to just really not good. The whole…",
"tags": [],
"createdAt": "2024-04-11T17:40:55.000Z",
"reactionCount": 1,
"commentCount": 1,
"shareCount": 0,
"reviewer": {
"id": "0000000000",
"name": "Example Person",
"url": "https://example.com/profile",
"pictureUrl": "https://example.com/avatar.jpg"
}
}
]
},
"credits": {
"used": 1,
"remaining": 99
}
}One GET request
Everything the endpoint accepts. The full reference, with the complete example response, is in the docs.
GET/v1/facebook/reviews
Costs 1 credit per request. Only requests that return data are charged.
Parameters
| Name | Type | Description |
|---|---|---|
pagerequired |
string | The Page's username (natgeo), its numeric id, or its URL (https://www.facebook.com/natgeo). |
limitoptional |
integer | How many of the newest reviews to return. Default: 12. From 1 to 30. |
Good to know
- Reviews come newest first, at most 30 per request, with no paging to older ones. Facebook itself shows at most about 540 reviews of a Page to visitors who are not logged in.
- isRecommended is true or false when Facebook states it in the review's English title line ("recommends" or "doesn't recommend"), and null when it does not.
- page.recommendPercent and page.reviewCount are the summary on the Page's reviews tab, such as "94% recommend (73 reviews)".
- A Page that does not exist answers 404 page_not_found, and one with no reviews, or with reviews turned off, answers 404 no_reviews. Neither costs anything.
What people build with it
Reputation monitoring
Call the endpoint on a schedule and act when a review id appears that you have not seen.
Competitor comparison
Put the recommend percentage and the recent reviews of several businesses side by side.
Sentiment analysis
Read the review texts with a language model to find what customers praise and what they complain about.
Customer feedback reports
Bring a location's latest Facebook reviews into the report where its other feedback already is.
Buy credits once. Use them whenever.
This endpoint costs 1 credit per request, and a request that returns no data costs nothing. Move the slider to see what your volume costs.
Each endpoint says what a request costs. Requests that return nothing are free.
- $2.42 per 1,000 credits
- About $12.08 a month at this pace
- Lasts about 2.4 months at this pace
- Credits never expire
Questions and answers
Is this the official Facebook API?
No. Pipefetch is an independent service and is not affiliated with Facebook or Meta. It returns what a Page's reviews tab shows to a visitor who is not logged in. You need one Pipefetch API key. There is no Facebook login, no cookie, no access token and no Meta app.
Are there star ratings?
No. A Facebook review says whether the reviewer recommends the Page or not, so each review has isRecommended instead of stars, and the Page has a recommend percentage.
Why can isRecommended be null?
Facebook states the recommendation only in the title line of a review ("recommends" or "doesn't recommend"), and the API reads the English wording of that line. When the line does not say it, isRecommended is null and not a guess.
How many reviews can I get?
Up to 30 of the newest per request, with no paging to older ones. Facebook itself shows at most about 540 reviews of a Page to visitors who are not logged in.
What if a Page has no reviews?
A Page with no reviews, or with reviews turned off, answers 404 no_reviews, and a Page that does not exist answers 404 page_not_found. Neither is charged.
What does a request cost?
One request costs 1 credit. Credit packs start at $9 for 3,000 credits, never expire, and a request that returns no data is not charged. New accounts get 100 free credits without a card.
Do reviews contain personal data?
Yes. They carry the public names, profile links and pictures of the people who wrote them, which is personal data. If you store or process it, data-protection law such as the GDPR applies to you as it would to any other source, and our terms forbid using the API to harass people or to build profiles of private individuals.
More Facebook APIs
-
1 credit / 20
Facebook Comments API
The comments on a public Facebook post, video or Reel, with reactions by type, reply counts, authors and the post itself.
GET /v1/facebook/comments -
1 credit
Facebook Reels API
The newest Reels of a Facebook Page with plays, reactions, comments, shares and saves, captions and video file addresses.
GET /v1/facebook/reels -
1 credit
Facebook Events API
The upcoming or past events a Facebook Page hosts, with dates, venue and address, organizers, ticket link and responses.
GET /v1/facebook/events -
2 credits
Facebook Page API
The public details of a Facebook Page: category, followers, email, phone, website, address, social links and pictures.
GET /v1/facebook/page -
2 credits
Facebook Posts API
The newest posts of a Facebook Page with text, images, reactions by type, comment and share counts, and top comments.
GET /v1/facebook/posts -
2 credits
Facebook Group Posts API
The newest posts of a public Facebook group with author, text, images, links, reactions by type and top comments.
GET /v1/facebook/group -
1 credit
Facebook Marketplace API
Facebook Marketplace listings for a search near a place: title, price, city, listing time, photo, seller and delivery.
GET /v1/facebook/marketplace
Other sources
YouTubeInstagramWebsitesTikTokGoogleThreadsLinkedInApp storesSteamXPinterestAirbnbReal estateKeywordsJob boardsEventbriteShopify storesPublic tenders
Make your first request in a minute
Sign in, copy your key and call an endpoint. Your account starts with 100 free credits.