Post Comments
A pin's comments, 25 a page.
GET
apiKeyheader
AuthorizationBearer <token>An API key from the dashboard: Authorization: Bearer sapi_….
url?stringThe pin's link.
id?stringThe pin's id, instead of url.
commentsId?stringThe pin's ext.commentsId, instead of either: what an encrypted pin (e1_…, from
search or a board) is read by.
cursor?stringnextCursor of the previous page.
maxAge?integerHow old a cached answer may be, in seconds; 0 always fetches. Default and most: the endpoint's cache lifetime.
Format
int64Range
0 <= valueThe answer.
application/json- response
A page of a list, as every list endpoint answers: { "data": [...], "pagination": … }.
data*array<>pagination*import { SocialAPI } from "@socialapihq/sdk";const client = new SocialAPI({ apiKey: process.env.SOCIALAPI_API_KEY });const { data, pagination } = await client.pinterest.postComments({ commentsId: "5399464036580508789" });Example Response
{ "data": [ { "id": "3981913529230731392", "postId": "961026007995291996", "parentId": null, "text": "I hate coffe and alcohol but espresso martini is the best thing in life", "createdAt": "2026-10-27T11:57:50.000Z", "author": { "id": "878694714705110794", "username": "paula_pudding618", "displayName": "Baulaa", "avatarUrl": "https://i.pinimg.com/75x75_RS/ad/6c/61/ad6c6186e20be6b10513fc6d795acb25.jpg", "verified": false, "url": "https://www.pinterest.com/paula_pudding618/" }, "likes": 2, "replies": 0, "ext": { "helpful": 0 } }, { "id": "3792139686593983104", "postId": "578712620904597973", "parentId": null, "text": "Is this ai?", "createdAt": "2026-08-23T00:56:09.000Z", "author": { "id": "905997787445992333", "username": "nataliasemon", "displayName": "anesenchuk", "avatarUrl": "https://s.pinimg.com/images/user/default_75.png", "verified": false, "url": "https://www.pinterest.com/nataliasemon/" }, "likes": 1, "replies": 4, "ext": { "helpful": 0 } } ], "pagination": { "nextCursor": null, "hasMore": false }}