Pinterest
Pinterest profile API
Get a profile and a page of its pins. Call the Pinterest profile API and get JSON back in one request. 1 credit per call. Failed calls cost nothing.
POST
Get a profile and a page of its pins
Returns a profile and a page of its pins. The user is identified by its URL or username.
Request
Exactly one ofuserUrl or username is required. A request that sets both, or none, fails with invalidRequest.
Response
If successful, the response body contains the standard envelope.data contains the profile’s bio and counts, and results lists a page of its pins.
The following example is a real response, truncated: each list shows one item and long strings are cut.
For every field, see the response schema on this page.
Optional parameters
Billing
Each successful request consumes 1 credit, regardless of the number of items returned. Requests that fail, or that return no items, are not billed.Pagination
Results are paginated. To retrieve the next page, pass the value ofdata.cursor as cursor in a subsequent request. A response that omits cursor is the last page.
Related methods
- Pinterest pin: Accepts
pinUrl. Returns a pin’s details. - Pinterest board: Accepts
boardUrl. Returns a board and a page of its pins.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/json
Link to the Pinterest profile, like https://www.pinterest.com/marthastewart/. Send this or username.
Pinterest profile username, like marthastewart. Send this or userUrl.
The cursor from the previous response. Send it as is.
Minimum string length:
1