API · Pinterest
GET /pinterest/url-stats
How many times up to 10 web pages were saved to Pinterest.
| Request | GET /v1/pinterest/url-stats |
| Operation id | pinterest.url.stats |
| Cost | 1 credit, refunded if the call fails |
| Auth | API key: Authorization: Bearer <key> or x-api-key. |
How many times up to 10 web pages were saved to Pinterest.
Query parameters
| Name | Type | Required | Description |
|---|---|---|---|
urls | string | yes | Comma-separated absolute http(s) URLs, 1 to 10. Example: https://www.allrecipes.com/. |
Responses
| Status | Meaning | Schema |
|---|---|---|
200 | A count per URL. | PinterestUrlStats |
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 |
PinterestUrlStats fields
| Field | Type | Description |
|---|---|---|
data | object[] |
Errors use one shape everywhere; see Errors for every code and what to do.