PeumeAPI

Social publishing & inbox · TikTok

Run a TikTok Marketing API report on one advertiser

Runs a synchronous TikTok report (`BASIC` or `AUDIENCE`) for one advertiser at the data level asked.

$0.002 per callRuns on an account you connect

Call it

curl https://api.peume.com/v1/call/run-a-tiktok-marketing-api-report-on-one-advertiser \
  -H "Authorization: Bearer $PEUME_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "input": {
    "accountId": "your accountId",
    "adAccountId": "your adAccountId",
    "reportType": "BASIC",
    "dataLevel": "AUCTION_ADVERTISER",
    "dimensions": [],
    "metrics": []
  }
}'

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: run-a-tiktok-marketing-api-report-on-one-advertiser.

Parameters

accountIdRequiredstring

The id of the connected account.

adAccountIdRequiredstring

The numeric TikTok advertiser id.

reportTypestring

Defaults to BASIC.

BASIC · AUDIENCE

Example: BASIC

dataLevelRequiredstring

The level of each row.

AUCTION_ADVERTISER · AUCTION_CAMPAIGN · AUCTION_ADGROUP · AUCTION_AD

dimensionsRequiredarray

TikTok dimensions, 1 to 4.

metricsRequiredarray

TikTok metrics, up to 100.

filteringarray

TikTok filters of field, operator and value, up to 25. A filter on an entity finer than dataLevel is refused.

fromDateRequiredstring

First day, YYYY-MM-DD, inclusive.

toDateRequiredstring

Last day, YYYY-MM-DD, inclusive.

pageSizeinteger

Rows per page, up to 1,000. Defaults to 1,000.

Example: 1000

cursorstring

The pagination.nextCursor of the previous page, unchanged.

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.