Docs menu

Pinterest board pins

Beta GET /v1/pinterest/board

GET /v1/pinterest/board

The board's pins, 25 per page; parent is the board. Logged out, Pinterest hands out a bookmark for the next page on some boards and none on others (a 183-pin board stops after its first 25), so follow cursor while has_more is true and expect large boards to come back partial.

  • Cost: 1 credit
  • Status: Beta. Built and tested against recorded responses; the shape may still gain fields.
  • Cache: Results are kept up to 30 days; send max_age_days to reuse them for free.
  • Timeout: A request still running after about 25 seconds answers 202 with a job to poll (Batch and jobs).

Parameters#

NameTypeRequiredDescription
urlURLyesBoard URL (pinterest.com/<user>/<board>/). Accepted hosts: pinterest.com, pin.it, pinterest.co.uk, pinterest.ca, pinterest.com.au, pinterest.de, pinterest.fr.

Every request also accepts:

  • cursor: the cursor from the previous page (Pagination).
  • trim: true for a smaller response without null fields and extra.
  • raw: true to also get the platform's original object as raw.
  • max_age_days: accept a cached result up to this many days old, for 0 credits (Caching).

Example request#

Set your key in the environment first (see Authentication).

curl
curl -G "https://api.socialscrape.io/v1/pinterest/board" \
  -H "x-api-key: $SOCIALSCRAPE_API_KEY" \
  --data-urlencode "url=https://www.pinterest.com/pinterest/holiday-decor-ideas/"
Python
import os
import requests

params = {
    "url": "https://www.pinterest.com/pinterest/holiday-decor-ideas/",
}
res = requests.get(
    "https://api.socialscrape.io/v1/pinterest/board",
    headers={"x-api-key": os.environ["SOCIALSCRAPE_API_KEY"]},
    params=params,
)
body = res.json()

if body["ok"]:
    print(body["data"])
else:
    print(body["error"]["code"], body["error"]["message"])
TypeScript
const url = new URL("https://api.socialscrape.io/v1/pinterest/board");
url.search = new URLSearchParams({
  "url": "https://www.pinterest.com/pinterest/holiday-decor-ideas/"
}).toString();
const res = await fetch(url, {
  headers: { "x-api-key": process.env.SOCIALSCRAPE_API_KEY! },
});
const body = await res.json();

if (body.ok) {
  console.log(body.data);
} else {
  console.error(body.error.code, body.error.message);
}
n8n
{
  "nodes": [
    {
      "name": "SocialScrape Pinterest board pins",
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 4.2,
      "position": [
        0,
        0
      ],
      "parameters": {
        "method": "GET",
        "url": "https://api.socialscrape.io/v1/pinterest/board",
        "sendQuery": true,
        "queryParameters": {
          "parameters": [
            {
              "name": "url",
              "value": "https://www.pinterest.com/pinterest/holiday-decor-ideas/"
            }
          ]
        },
        "sendHeaders": true,
        "headerParameters": {
          "parameters": [
            {
              "name": "x-api-key",
              "value": "={{ $env.SOCIALSCRAPE_API_KEY }}"
            }
          ]
        }
      }
    }
  ],
  "connections": {}
}

Example response#

This is a sample from a recorded response, lists and long text are shortened, dash characters in the text are replaced with hyphens. Status 200.

{
  "ok": true,
  "credits_charged": 1,
  "credits_remaining": 4999,
  "cached": false,
  "cached_at": null,
  "request_id": "req_1f54f0a5a6db2440f9fed11b",
  "data": {
    "object": "list",
    "items": [
      {
        "object": "post",
        "platform": "pinterest",
        "id": "e1_AfqPShw4zsdcnKBVxEANuNxEYw2BOU0fE_Sju2lpkh1pS_-a8kfL",
        "url": "https://www.pinterest.com/pin/e1_AfqPShw4zsdcnKBVxEANuNxEYw2BOU0fE_Sju2lpkh1pS_-a8kfL/",
        "type": "pin",
        "author": {
          "id": "424605208526455283",
          "handle": "pinterest",
          "name": "Pinterest",
          "url": "https://www.pinterest.com/pinterest/",
          "avatar_url": "https://i.pinimg.com/75x75_RS/1c/b5/61/1cb561c8e7b9c709f78d110a4b5f0863.jpg",
          "verified": true
        },
        "title": null,
        "text": null,
        "published_at": null,
        "duration_seconds": null,
        "language": null,
        "hashtags": null,
        "mentions": null,
        "stats": {
          "views": null,
          "likes": 2097,
          "comments": null,
          "shares": null,
          "saves": 46154,
          "dislikes": null
        },
        "media": {
          "thumbnail_url": "https://i.pinimg.com/236x/ed/53/4f/ed534fd8c6d37228a6ae29fb7bb37ed5.jpg",
          "video_url": null,
          "audio_url": null,
          "image_urls": [
            "https://i.pinimg.com/originals/ed/53/4f/ed534fd8c6d37228a6ae29fb7bb37ed5.heic"
          ],
          "width": 4284,
          "height": 5712
        },
        "song": null,
        "location": null,
        "is_pinned": null,
        "is_sponsored": false,
        "extra": {
          "alt_text": "a kitchen with red cabinets and shelves filled with colorful items on top of the counter",
          "board": {
            "id": "424605139808125445",
            "name": "Holiday decor ideas",
            "url": "https://www.pinterest.com/pinterest/holiday-decor-ideas/"
          },
          "domain": "Uploaded by user",
          "dominant_color": "#b49380",
          "done_count": 0,
          "is_repin": true,
          "is_video": false,
          "saves_total": 46154
        }
      },
      {
        "object": "post",
        "platform": "pinterest",
        "id": "e1_AfqPShzNEpd1eGzTt0CdzRsXZ2bWl3oSy3btvmAAVa-XbcuYj-Xq",
        "url": "https://www.pinterest.com/pin/e1_AfqPShzNEpd1eGzTt0CdzRsXZ2bWl3oSy3btvmAAVa-XbcuYj-Xq/",
        "type": "pin",
        "author": {
          "id": "424605208526455283",
          "handle": "pinterest",
          "name": "Pinterest",
          "url": "https://www.pinterest.com/pinterest/",
          "avatar_url": "https://i.pinimg.com/75x75_RS/1c/b5/61/1cb561c8e7b9c709f78d110a4b5f0863.jpg",
          "verified": true
        },
        "title": null,
        "text": null,
        "published_at": null,
        "duration_seconds": null,
        "language": null,
        "hashtags": null,
        "mentions": null,
        "stats": {
          "views": null,
          "likes": 645,
          "comments": null,
          "shares": null,
          "saves": 31439,
          "dislikes": null
        },
        "media": {
          "thumbnail_url": "https://i.pinimg.com/236x/1f/5d/d0/1f5dd0180e5f593f88ff59d9704b494f.jpg",
          "video_url": null,
          "audio_url": null,
          "image_urls": [
            "https://i.pinimg.com/originals/1f/5d/d0/1f5dd0180e5f593f88ff59d9704b494f.jpg"
          ],
          "width": 5152,
          "height": 7728
        },
        "song": null,
        "location": null,
        "is_pinned": null,
        "is_sponsored": false,
        "extra": {
          "alt_text": "christmas garland hanging on the banisters of a house with stars and ornaments around it",
          "board": {
            "id": "424605139808125445",
            "name": "Holiday decor ideas",
            "url": "https://www.pinterest.com/pinterest/holiday-decor-ideas/"
          },
          "domain": "Uploaded by user",
          "dominant_color": "#a0907b",
          "done_count": 0,
          "is_repin": true,
          "is_video": false,
          "saves_total": 31439
        }
      }
    ],
    "cursor": null,
    "has_more": false,
    "parent": {
      "object": "collection",
      "platform": "pinterest",
      "id": "424605139808125445",
      "url": "https://www.pinterest.com/pinterest/holiday-decor-ideas/",
      "kind": "board",
      "title": "Holiday decor ideas",
      "description": "Indoors or out - start dreaming of your best season yet.",
      "owner": {
        "id": "424605208526455283",
        "handle": "pinterest",
        "name": "Pinterest",
        "url": "https://www.pinterest.com/pinterest/",
        "avatar_url": "https://i.pinimg.com/280x280_RS/1c/b5/61/1cb561c8e7b9c709f78d110a4b5f0863.jpg",
        "verified": true
      },
      "item_count": 183,
      "cover_url": "https://i.pinimg.com/custom_covers/200x150/424605139808125445_1790359161.jpg",
      "updated_at": "2026-10-08T20:43:15Z",
      "extra": {
        "collaborator_count": 0,
        "follower_count": 4232801,
        "is_collaborative": false,
        "privacy": "public",
        "section_count": 0
      }
    }
  },
  "cursor": null,
  "has_more": false
}

Response#

A list of Post objects in data.items, with data.cursor and data.has_more.

See Data models for every field. The envelope around data is described in Responses.

Errors#

Failures are free: credits_charged is 0. Branch on error.code, never on the message.

CodeHTTPRetryMeaning
invalid_params400noA parameter is missing, unknown or has the wrong type.
unsupported_url400noThe URL is not one this endpoint accepts (wrong platform or form).
not_found404noThe platform says this profile, post or item does not exist.

Every request can also fail with the account and platform errors listed on the Errors page.

Example error:

{
  "ok": false,
  "error": {
    "code": "not_found",
    "message": "The platform says this profile, post or item does not exist.",
    "retryable": false
  },
  "credits_charged": 0,
  "request_id": "req_3c6a1bcbaaf89527409d6a63"
}