PeumeAPI

Social media data · Facebook

Facebook Ad Details

Open one ad in the Facebook Ad Library from its link or Library ID.

$0.0014 per call

Call it

curl https://api.peume.com/v1/call/facebook-ad-details-2 \
  -H "Authorization: Bearer $PEUME_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "input": {
    "url": "your url"
  }
}'

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-ad-details-2.

Parameters

urlRequiredstring

One ad: an Ad Library link (https://www.facebook.com/ads/library/?id=<Library ID>) or the numeric Library ID itself (the `id` of an `ads` row).

Start free · $1 of calls included

Every API your product needs. One key.

7,267 endpoints, one bill, and you only pay for calls that work.