# Search profiles

Find accounts by name, handle, or keyword. Paginate with `cursor` and `has_more`. No matches return an empty `profiles` array.

- Platform: X (Twitter)
- Request: `GET https://api.toolzerhub.com/v1/x/search/profiles`
- Auth: `x-api-key` header
- Cost: 6 credits per successful request. Failed requests are not billed.
- Page: https://docs.toolzerhub.com/reference/x-twitter/search/search-x-profiles

| Parameter | In | Required | Type | Description |
| --- | --- | --- | --- | --- |
| `query` | query | yes | string | Name, handle, or keywords to find accounts by. |
| `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/v1/x/search/profiles?query=<query>" \
  -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.
