API · Pinterest
GET /pinterest/search/pins
Search Pinterest pins by keyword, paginated.
| Request | GET /v1/pinterest/search/pins |
| Operation id | pinterest.search.pins |
| Cost | 1 credit, refunded if the call fails |
| Auth | API key: Authorization: Bearer <key> or x-api-key. |
Search Pinterest pins by keyword, paginated.
Query parameters
| Name | Type | Required | Description |
|---|---|---|---|
q | string | yes | Keywords. Example: living room ideas. |
after | string | no | Cursor: the previous page’s bookmark. |
Responses
| Status | Meaning | Schema |
|---|---|---|
200 | A page of pins. | PinterestPinPage |
400 | Invalid input. Nothing was charged. | Error |
401 | Missing or invalid API key. | Error |
402 | Not enough credits, a spend cap was reached, or payment is required. | Error |
403 | The target is private, or the account is suspended. | Error |
404 | The pin, board, account or topic does not exist, is not public, or is only known by an encrypted id. | Error |
429 | Too many requests. Wait for Retry-After seconds. | Error |
503 | Pinterest is temporarily unavailable. Retryable; nothing was charged. | Error |
PinterestPinPage fields
| Field | Type | Description |
|---|---|---|
data | PinterestPin[] | |
bookmark | string | Pass it as after for the next page; absent on the last page. |
Errors use one shape everywhere; see Errors for every code and what to do.