Pinterest API
19 endpoints for pins, boards and trends.
Every Pinterest endpoint, by group. Each is a GET under /v1/pinterest.
Quick Reference
| Property | Value |
|---|---|
| Base path | /v1/pinterest |
| Endpoints | 19 |
| Credits | See Below |
| Guide |
Accounts
GETProfile
/v1/pinterest/profileA profile with its follower and pin counts.1 creditGETProfile Boards/v1/pinterest/profile/boardsAn account's boards, 25 a page.1 creditGETProfile Posts/v1/pinterest/profile/postsThe pins an account created, newest first, 25 a page.1 creditBoards
GETBoard
/v1/pinterest/boardA board with its pin and follower counts.1 creditGETBoard Posts/v1/pinterest/board/postsA board's pins, 25 a page.1 creditGETBoard Section Posts/v1/pinterest/board/section/postsA board section's pins, about 25 a page.1 creditGETBoard Sections/v1/pinterest/board/sectionsA board's sections with their pin counts.1 creditPosts
GETPost
/v1/pinterest/postOne pin with its saves, reactions and comment count.1 creditGETPost Comments/v1/pinterest/post/commentsA pin's comments, 25 a page.1 creditGETPost Comment Replies/v1/pinterest/post/comment/repliesA comment's replies, 25 a page.1 creditDiscovery
GETSearch
/v1/pinterest/searchPins matching a query, about 25 a page.1 creditGETSearch Boards/v1/pinterest/search/boardsBoards matching a query, about 50 a page.1 creditGETSearch Suggestions/v1/pinterest/search/suggestionsWhat the search box suggests for a few letters.1 creditGETSearch Users/v1/pinterest/search/usersAccounts matching a query, about 48 a page.1 creditGETSearch Videos/v1/pinterest/search/videosVideo pins matching a query, 25 a page.1 creditGETTopic/v1/pinterest/topicA topic's Ideas page with its followers and searches.1 creditGETTopic Posts/v1/pinterest/topic/postsA topic's top pins, about 20.1 creditGETTrending/v1/pinterest/trendingWhat a country searches for on Pinterest Trends.10 creditsGETUrl/v1/pinterest/urlHow many times a web page was saved to Pinterest.1 creditExample Request
Every Pinterest endpoint is called this way: its path, and what to read as query parameters.
import { SocialAPI } from "@socialapihq/sdk";
const client = new SocialAPI({ apiKey: process.env.SOCIALAPI_API_KEY });
const { data } = await client.pinterest.profile({ handle: "nasa" });{
"data": {
"id": "142567281862381039",
"username": "nasa",
"displayName": "NASA",
"bio": "Explore the universe and discover our home planet with the official NASA boards on Pinterest. Visit us at www.nasa.gov",
"avatarUrl": "https://i.pinimg.com/280x280_RS/37/a1/75/37a175e6d2431425576f0b8f81389394.jpg",
"url": "https://www.pinterest.com/nasa/",
"verified": true,
"private": false,
"followers": 556819,
"following": 5,
"likes": null,
"posts": 10555,
"externalUrl": "http://www.nasa.gov/",
"createdAt": "2012-03-05T16:37:07.000Z",
"ext": {
"boards": 82,
"monthlyViews": 4677213,
"coverUrl": "https://i.pinimg.com/originals/53/29/e7/5329e71b2f85d2758cd3ec1d18452c26.jpg",
"domain": "www.nasa.gov",
"verifiedMerchant": false,
"lastSavedAt": "2026-11-20T16:39:34.000Z"
}
}
}Errors
A call that fails costs nothing. See Errors for every code.