# Search pins

Search public Pinterest pins or videos by keyword. Send `bookmark` to continue the results.

- Platform: Pinterest V2
- Request: `GET https://api.toolzerhub.com/v2/pinterest/search/pins`
- Auth: `x-api-key` header
- Cost: 1 credit per successful request. Failed requests are not billed.
- Page: https://docs.toolzerhub.com/reference/pinterest-v2/search/search-pinterest-pins

| Parameter | In | Required | Type | Description |
| --- | --- | --- | --- | --- |
| `query` | query | yes | string | Search keywords. |
| `scope` | query | no | enum: pins, videos | Search scope. 'pins' and 'videos' are verified working logged out; board/user/shopping scopes are unverified (see core/research/pinterest/04-search.md) and not exposed here yet. Default: pins. |
| `bookmark` | query | no | string | Opaque pagination cursor from a previous response's bookmark field. Omit for the first page. |

## Example request

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