API · Pinterest
GET /pinterest/trends
Pinterest Trends for a country: growing, seasonal, top monthly or yearly terms.
| Request | GET /v1/pinterest/trends |
| Operation id | pinterest.trends.get |
| Cost | 3 credits, refunded if the call fails |
| Auth | API key: Authorization: Bearer <key> or x-api-key. |
Pinterest Trends for a country: growing, seasonal, top monthly or yearly terms.
Query parameters
| Name | Type | Required | Description |
|---|---|---|---|
country | string | no | Country: AR, AU, BR, CA, CO, DE, ES, FR, GB, IE, IN, IT, MX, NZ, US. Default US. |
type | "growing" | "seasonal" | "top_monthly" | "top_yearly" | no | Which table. Default growing. One of growing, seasonal, top_monthly, top_yearly. |
limit | integer | no | Terms, 1 to 50. Default 25. |
include | string | no | Keep terms containing any of these comma-separated keywords (up to 10). |
exclude | string | no | Drop terms containing any of these comma-separated keywords (up to 10). |
Responses
| Status | Meaning | Schema |
|---|---|---|
200 | The ranked terms. | PinterestTrends |
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 |
PinterestTrends fields
| Field | Type | Description |
|---|---|---|
country | string | |
type | string | |
end_date | string | |
data | object[] |
Errors use one shape everywhere; see Errors for every code and what to do.