PeumeAPI

Ads

Ad video library

Lists the videos in a Meta ad account's library, including ones uploaded elsewhere, so you can reuse one across ads.

$0.002 per callRuns on an account you connect

Call it

curl https://api.peume.com/v1/call/ad-video-library \
  -H "Authorization: Bearer $PEUME_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "input": {
    "accountId": "your accountId",
    "adAccountId": "your adAccountId",
    "fields": "id,title,status,thumbnails,length",
    "limit": 25
  }
}'

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: ad-video-library.

Parameters

accountIdRequiredstring

SocialAccount id (posting or ads variant) used to resolve the Meta token.

adAccountIdRequiredstring

Meta ad account id (act_<n>).

fieldsstring

Comma-separated Graph field override. Supports nested {} projections and Graph field modifiers, so a nested edge can be paged explicitly: without a.limit modifier the expansion runs at the Meta default page size and the tail is dropped silently.

Example: id,title,status,thumbnails,length

limitinteger

Rows per page

Example: 25

afterstring

Cursor from paging.after of the previous page.

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.