API · Pinterest
GET /pinterest/topic
A Pinterest topic (ideas page) with its best pins.
| Request | GET /v1/pinterest/topic |
| Operation id | pinterest.topic.get |
| Cost | 1 credit, refunded if the call fails |
| Auth | API key: Authorization: Bearer <key> or x-api-key. |
A Pinterest topic (ideas page) with its best pins.
Query parameters
| Name | Type | Required | Description |
|---|---|---|---|
url | string | yes | Ideas page URL or its numeric id. Example: https://www.pinterest.com/ideas/living-room-ideas/919398409316/. |
Responses
| Status | Meaning | Schema |
|---|---|---|
200 | The topic and its pins. | PinterestTopic |
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 |
PinterestTopic fields
| Field | Type | Description |
|---|---|---|
data | PinterestInterest | A topic (ideas page): name, follower and search counts, related topics, trending searches. |
pins | PinterestPin[] | The topic’s best pins (about 20; Pinterest shows no more logged out). |
Errors use one shape everywhere; see Errors for every code and what to do.