Call it
curl https://api.peume.com/v1/call/facebook-page-contact-info-2 \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"language": "en-US",
"page": "your page"
}
}'const res = await fetch("https://api.peume.com/v1/call/facebook-page-contact-info-2", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"language": "en-US",
"page": "your page"
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/facebook-page-contact-info-2",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"language": "en-US",
"page": "your page"
}
},
)
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: facebook-page-contact-info-2.
Parameters
routestringUpstream source to run on; omit for "giraffe". giraffe ($0.0012 per call, 99.5% uptime); badger ($0.00248 per call, 42.4% uptime); octopus ($0.00204 + $0.00996 per result, at most $0.012, 99.8% uptime). Output fields only some routes return: adStatus (giraffe, octopus); createdUtc (giraffe, octopus); followers (octopus). A route can refuse an input it cannot apply with a 400 source_unknown (not charged): retry on another route, or omit that input.
giraffe · badger · octopus
languagestringLocale code for the returned data (e.g. en-US).
Example: en-US
pageRequiredstringFacebook Page URL or page ID to look up (e.g. https://www.facebook.com/nasa). A link to a post, video, photo or reels tab on a page is read as that page. A link to Facebook's own business, about, marketplace, fb-answers, videos, photos or reels section, a pages link without the page's id, or profile.php without its id= names no page and is refused as invalid input, with no charge.
