# Search videos (v3)

Search videos by keyword. Each result has the caption, author, counts, cover, sound and hashtags. Paginate with `cursor` and `has_more`; a page can hold fewer than `count`.

- Platform: TikTok
- Request: `GET https://api.toolzerhub.com/v3/tiktok/search`
- Auth: `x-api-key` header
- Cost: 1 credit per successful request. Failed requests are not billed.
- Page: https://docs.toolzerhub.com/reference/tiktok/search/search-tik-tok-keyword-videos

| Parameter | In | Required | Type | Description |
| --- | --- | --- | --- | --- |
| `keyword` | query | yes | string | Search text. Returns videos that match it. |
| `count` | query | no | integer | Items to request per page, 1 to 50. A page can hold fewer. Default: 30. |
| `cursor` | query | no | string | cursor from the previous response. Omit for the first page and send it unchanged for later pages. |

## Example request

```bash
curl "https://api.toolzerhub.com/v3/tiktok/search?keyword=<keyword>" \
  -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.
