# Get TikTok Top Ad percentile

Returns the benchmark percentile of `material_id` for one `metric`. `period` sets the comparison window in days (7, 30, or 180; default 180).

- Platform: TikTok Ads Library
- Request: `GET https://api.toolzerhub.com/v1/tiktok-ads/top-ads/percentile`
- Auth: `x-api-key` header
- Cost: 1 credit per successful request. Failed requests are not billed.
- Page: https://docs.toolzerhub.com/reference/tiktok-ads-library/top-ads-analytics/tik-tok-top-ads-percentile

| Parameter | In | Required | Type | Description |
| --- | --- | --- | --- | --- |
| `material_id` | query | yes | string | Top Ads material ID from the Top Ads List or Spotlight response. |
| `metric` | query | no | enum: retain_ctr, retain_cvr, click_cnt, convert_cnt, play_retain_cnt | Video-time metric: CTR, CVR, clicks, conversions, or viewer retention. Default: retain_ctr. |
| `period` | query | no | integer | Comparison window in days: 7, 30, or 180. Default: 180. |
| `lang` | query | no | enum: en, ja, zh, vi, th, pt, id | Creative Center display language. Defaults to English. Default: en. |

## Example request

```bash
curl "https://api.toolzerhub.com/v1/tiktok-ads/top-ads/percentile?material_id=<material_id>" \
  -H "x-api-key: $TOOLZERHUB_API_KEY"
```

Success responses are wrapped as `{ "data": ... }`. Errors return `{ "error": { "code", "status", "message", "retryable", "details" } }`. See https://docs.toolzerhub.com/docs/responses-and-errors.
