# Search groups

Search public RedNote groups by keyword.

- Platform: RedNote V2
- Request: `GET https://api.toolzerhub.com/v2/rednote/search/groups`
- Auth: `x-api-key` header
- Cost: 15 credits per successful request. Failed requests are not billed.
- Page: https://docs.toolzerhub.com/reference/rednote-v2/search/search-red-note-groups

| Parameter | In | Required | Type | Description |
| --- | --- | --- | --- | --- |
| `query` | query | yes | string |  |
| `page` | query | no | integer | Page number starting at 1. Default: 1. |
| `cursor` | query | no | string | Opaque continuation cursor from a previous response. |

## Example request

```bash
curl "https://api.toolzerhub.com/v2/rednote/search/groups?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.
