# Pinterest Search

Search for pins on Pinterest by keyword.

- **Documentation:** [https://scrappa.co/docs/pinterest-api/pinterest_search](https://scrappa.co/docs/pinterest-api/pinterest_search)
- **API group:** Pinterest API
- **Endpoint:** `GET https://scrappa.co/api/pinterest/search`

## Authentication

Send your Scrappa API key in the `X-API-KEY` request header. Paid endpoints also support accountless x402 payments when called without an API key.

## Parameters

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `query` | string | Yes | Search query for Pinterest pins |
| `limit` | integer | No | Number of results to request from Pinterest (max 250). Default: 250. Note: Pinterest may return a different number of results than requested. |
| `bookmark` | string | No | Pagination token from a previous response. |

## Example request

```bash
#!/bin/bash

curl -X GET \
    -H "x-api-key: YOUR_API_KEY_HERE" \
    "https://scrappa.co/api/pinterest/search?query=home+decor&limit=25"
```

## Example response

```json
{
    "pins": [
        {
            "is_video": false,
            "video_url": null,
            "video_duration": null
        }
    ],
    "nextBookmark": null
}
```

## More Scrappa resources

- [API documentation](https://scrappa.co/docs)
- [Full LLM-readable API reference](https://scrappa.co/llms-full.txt)
- [OpenAPI specification](https://scrappa.co/docs/api.json)
- [Pricing](https://scrappa.co/pricing)
