API · Pinterest
GET /pinterest/users/{username}
A public Pinterest profile: followers, following, pins, boards, monthly views.
| Request | GET /v1/pinterest/users/{username} |
| Operation id | pinterest.user.get |
| Cost | 1 credit, refunded if the call fails |
| Auth | API key: Authorization: Bearer <key> or x-api-key. |
A public Pinterest profile: followers, following, pins, boards, monthly views.
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
username | string | yes | Username (pinterest.com/<username>/) or a profile URL. Example: pinterest. |
Responses
| Status | Meaning | Schema |
|---|---|---|
200 | The profile. | PinterestUserResponse |
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 |
PinterestUserResponse fields
| Field | Type | Description |
|---|---|---|
data | PinterestUser |
Errors use one shape everywhere; see Errors for every code and what to do.