Call it
curl https://api.peume.com/v1/call/list-facebook-reviews \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"startUrls": [
{
"url": "https://www.facebook.com/copperkettleyqr/reviews"
}
],
"resultsLimit": 10,
"onlyReviewsNewerThan": "2024-01-01"
}
}'const res = await fetch("https://api.peume.com/v1/call/list-facebook-reviews", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"startUrls": [
{
"url": "https://www.facebook.com/copperkettleyqr/reviews"
}
],
"resultsLimit": 10,
"onlyReviewsNewerThan": "2024-01-01"
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/list-facebook-reviews",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"startUrls": [
{
"url": "https://www.facebook.com/copperkettleyqr/reviews"
}
],
"resultsLimit": 10,
"onlyReviewsNewerThan": "2024-01-01"
}
},
)
print(res.json()["output"])Answer: {"id": "run_…", "status": "completed", "cost_usd": …, "output": {…}}. Long jobs answer 202 with a run id to read later. From an AI agent, connect the MCP server and ask for this by name: list-facebook-reviews.
Parameters
startUrlsRequiredarrayFacebook Page reviews URL. Add one by one using <strong>Add+</strong> or a whole prepared list using <strong>Text file</strong> button.
Example: [{"url":"https://www.facebook.com/copperkettleyqr/reviews"}]
resultsLimitintegerIf this limit is not set, as many results as possible will be scraped.
Example: 10
onlyReviewsNewerThanstringLimit how far back to the history the scraper should go. The date should be in YYYY-MM-DD or full ISO absolute format or in relative format e.g. 1 year, 2 months, 3 days, 4 hours, or 5 minutes. All time values are taken in UTC timezone.
Example: 2024-01-01
