# Resolve TikTok ads library URL

Takes a public TikTok page `url` and returns the same data as the matching endpoint. Supports Ads Library search, report, and ad-detail URLs, and Creative Center Top Ads dashboard, detail, and Spotlight URLs.

- Platform: TikTok Ads Library
- Request: `GET https://api.toolzerhub.com/v1/tiktok-ads/resolve-url`
- 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/url-helper/tik-tok-ads-resolve-url

| Parameter | In | Required | Type | Description |
| --- | --- | --- | --- | --- |
| `url` | query | yes | string | A public TikTok Ads Library or Creative Center Top Ads page URL. |

## Example request

```bash
curl "https://api.toolzerhub.com/v1/tiktok-ads/resolve-url?url=<url>" \
  -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.
