API · Pinterest
GET /pinterest/users/{username}/boards
A Pinterest account’s public boards, paginated.
| |
|---|
| Request | GET /v1/pinterest/users/{username}/boards |
| Operation id | pinterest.user.boards |
| Cost | 1 credit, refunded if the call fails |
| Auth | API key: Authorization: Bearer <key> or x-api-key. |
A Pinterest account’s public boards, paginated.
| Name | Type | Required | Description |
|---|
username | string | yes | Username (pinterest.com/<username>/) or a profile URL. Example: pinterest. |
| Name | Type | Required | Description |
|---|
after | string | no | Cursor: the previous page’s bookmark. |
| Status | Meaning | Schema |
|---|
200 | A page of boards. | PinterestBoardPage |
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 |
| Field | Type | Description |
|---|
data | PinterestBoard[] | |
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.