Skip to Content

Profile

A profile with its follower and pin counts.

GET
/v1/pinterest/profile

Authorization

apiKey
headerAuthorizationBearer <token>

An API key from the dashboard: Authorization: Bearer sapi_….

Query Parameters

handle?string

The username.

url?string

The profile's link (https://www.pinterest.com/nasa/), instead of handle.

maxAge?integer

How old a cached answer may be, in seconds; 0 always fetches. Default and most: the endpoint's cache lifetime.

Formatint64
Range0 <= value

Response Body

The answer.

application/json
  1. response

One item, as every single-item endpoint answers: { "data": … }.

data*

A Pinterest account.

Example Request
import { SocialAPI } from "@socialapihq/sdk";const client = new SocialAPI({ apiKey: process.env.SOCIALAPI_API_KEY });const { data } = await client.pinterest.profile({ handle: "nasa" });
Example Response
{  "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"    }  }}