Skip to Content

Post

One pin with its saves, reactions and comment count.

GET
/v1/pinterest/post

Authorization

apiKey
headerAuthorizationBearer <token>

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

Query Parameters

url?string

The pin's link (https://www.pinterest.com/pin/142567144449130105/), or a pin.it link.

id?string

The pin's id, instead of url.

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 pin: an image, a video, a carousel or an Idea pin.

Example Request
import { SocialAPI } from "@socialapihq/sdk";const client = new SocialAPI({ apiKey: process.env.SOCIALAPI_API_KEY });const { data } = await client.pinterest.post({ url: "https://www.pinterest.com/pin/142567144449130105/" });
Example Response
{  "data": {    "id": "142567144449130105",    "url": "https://www.pinterest.com/pin/142567144449130105/",    "text": "NASA is returning astronauts to the Moon – and this time they will spend more time on the lunar surface. The Moon Base is humanity’s first lunar outpost. It will be a place where astronauts live, work, and explore.\n\nLearn more about Moon Base!",    "createdAt": "2026-11-20T16:39:34.000Z",    "author": {      "id": "142567281862381039",      "username": "nasa",      "displayName": "NASA",      "avatarUrl": "https://i.pinimg.com/75x75_RS/37/a1/75/37a175e6d2431425576f0b8f81389394.jpg",      "verified": true,      "url": "https://www.pinterest.com/nasa/"    },    "stats": {      "views": null,      "likes": 4,      "comments": 2,      "shares": 1,      "saves": 1,      "engagementRate": null    },    "media": [      {        "kind": "image",        "url": "https://i.pinimg.com/originals/7f/b0/7c/7fb07c79a6280dd11eab9165b4120300.png",        "thumbnailUrl": null,        "width": 1000,        "height": 1500,        "durationSeconds": null      }    ],    "hashtags": [],    "mentions": [],    "ext": {      "kind": "image",      "title": "What is the Moon Base?",      "link": "https://www.nasa.gov/learning-resources/for-kids-and-students/what-is-the-moon-base/",      "domain": "nasa.gov",      "board": {        "id": "142567213143159083",        "name": "Learn With NASA",        "url": "https://www.pinterest.com/nasa/learn-with-nasa/"      },      "commentsId": "4052059193040676096",      "openable": true,      "dominantColor": "#151212",      "altText": "An artist's depiction of an astronaut pointing at a moon lander. Light blue text reads, \"What is the Moon Base?\"",      "commentsDisabled": false    }  }}