PeumeAPI

Ads

Browse targeting categories

Shows Meta's full tree of detailed targeting categories for an ad account, so you can browse options without a keyword.

$0.002 per callRuns on an account you connect

Call it

curl https://api.peume.com/v1/call/browse-targeting-categories \
  -H "Authorization: Bearer $PEUME_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "input": {
    "accountId": "your accountId",
    "adAccountId": "your adAccountId"
  }
}'

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: browse-targeting-categories.

Parameters

accountIdRequiredstring

A connected Meta account (metaads, facebook or instagram). Any other ad platform returns 501 platform_not_supported.

adAccountIdRequiredstring

The Meta ad account to browse as, in the form "act_<digits>".

typestring

Only the nodes of this Meta type (e.g. interests, behaviors, life_events, income), plus the organizational nodes leading to them. A type that is not in the catalog returns 400.

parentNodeIdstring

Only the descendants (every depth) of this organizational node, e.g. `Demographics > Financial`. A nodeId that is not an organizational node of the catalog returns 400.

selectableboolean

`true` for selectable entities only, `false` for organizational nodes only.

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.