Pinterest board pins API
  1. Docs
  2. Pinterest
  3. Pinterest board pins API

Pinterest board pins API

The board's pins, 25 per page; `parent` is the board.

GET /v1/pinterest/board

GET /v1/pinterest/board

The board's pins, 25 per page; parent is the board. 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
  • 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).

1curl -G "https://api.socialscrape.dev/v1/pinterest/board" \2  -H "x-api-key: $SOCIALSCRAPE_API_KEY" \3  --data-urlencode "url=https://www.pinterest.com/pinterest/holiday-decor-ideas/"

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.

200 OKSample response
1{2  "ok": true,3  "credits_charged": 1,4  "credits_remaining": 4999,5  "cached": false,6  "cached_at": null,7  "request_id": "req_1f54f0a5a6db2440f9fed11b",8  "data": {9    "object": "list",10    "items": [11      {12        "object": "post",13        "platform": "pinterest",14        "id": "e1_AfqPShw4zsdcnKBVxEANuNxEYw2BOU0fE_Sju2lpkh1pS_-a8kfL",15        "url": "https://www.pinterest.com/pin/e1_AfqPShw4zsdcnKBVxEANuNxEYw2BOU0fE_Sju2lpkh1pS_-a8kfL/",16        "type": "pin",17        "author": {18          "id": "424605208526455283",19          "handle": "pinterest",20          "name": "Pinterest",21          "url": "https://www.pinterest.com/pinterest/",22          "avatar_url": "https://i.pinimg.com/75x75_RS/1c/b5/61/1cb561c8e7b9c709f78d110a4b5f0863.jpg",23          "verified": true24        },25        "title": null,26        "text": null,27        "published_at": null,28        "duration_seconds": null,29        "language": null,30        "hashtags": null,31        "mentions": null,32        "stats": {33          "views": null,34          "likes": 2097,35          "comments": null,36          "shares": null,37          "saves": 46154,38          "dislikes": null39        },40        "media": {41          "thumbnail_url": "https://i.pinimg.com/236x/ed/53/4f/ed534fd8c6d37228a6ae29fb7bb37ed5.jpg",42          "video_url": null,43          "audio_url": null,44          "image_urls": [45            "https://i.pinimg.com/originals/ed/53/4f/ed534fd8c6d37228a6ae29fb7bb37ed5.heic"46          ],47          "width": 4284,48          "height": 571249        },50        "song": null,51        "location": null,52        "is_pinned": null,53        "is_sponsored": false,54        "extra": {55          "alt_text": "a kitchen with red cabinets and shelves filled with colorful items on top of the counter",56          "board": {57            "id": "424605139808125445",58            "name": "Holiday decor ideas",59            "url": "https://www.pinterest.com/pinterest/holiday-decor-ideas/"60          },61          "domain": "Uploaded by user",62          "dominant_color": "#b49380",63          "done_count": 0,64          "is_repin": true,65          "is_video": false,66          "saves_total": 4615467        }68      },69      {70        "object": "post",71        "platform": "pinterest",72        "id": "e1_AfqPShzNEpd1eGzTt0CdzRsXZ2bWl3oSy3btvmAAVa-XbcuYj-Xq",73        "url": "https://www.pinterest.com/pin/e1_AfqPShzNEpd1eGzTt0CdzRsXZ2bWl3oSy3btvmAAVa-XbcuYj-Xq/",74        "type": "pin",75        "author": {76          "id": "424605208526455283",77          "handle": "pinterest",78          "name": "Pinterest",79          "url": "https://www.pinterest.com/pinterest/",80          "avatar_url": "https://i.pinimg.com/75x75_RS/1c/b5/61/1cb561c8e7b9c709f78d110a4b5f0863.jpg",81          "verified": true82        },83        "title": null,84        "text": null,85        "published_at": null,86        "duration_seconds": null,87        "language": null,88        "hashtags": null,89        "mentions": null,90        "stats": {91          "views": null,92          "likes": 645,93          "comments": null,94          "shares": null,95          "saves": 31439,96          "dislikes": null97        },98        "media": {99          "thumbnail_url": "https://i.pinimg.com/236x/1f/5d/d0/1f5dd0180e5f593f88ff59d9704b494f.jpg",100          "video_url": null,101          "audio_url": null,102          "image_urls": [103            "https://i.pinimg.com/originals/1f/5d/d0/1f5dd0180e5f593f88ff59d9704b494f.jpg"104          ],105          "width": 5152,106          "height": 7728107        },108        "song": null,109        "location": null,110        "is_pinned": null,111        "is_sponsored": false,112        "extra": {113          "alt_text": "christmas garland hanging on the banisters of a house with stars and ornaments around it",114          "board": {115            "id": "424605139808125445",116            "name": "Holiday decor ideas",117            "url": "https://www.pinterest.com/pinterest/holiday-decor-ideas/"118          },119          "domain": "Uploaded by user",120          "dominant_color": "#a0907b",121          "done_count": 0,122          "is_repin": true,123          "is_video": false,124          "saves_total": 31439125        }126      }127    ],128    "cursor": null,129    "has_more": false,130    "parent": {131      "object": "collection",132      "platform": "pinterest",133      "id": "424605139808125445",134      "url": "https://www.pinterest.com/pinterest/holiday-decor-ideas/",135      "kind": "board",136      "title": "Holiday decor ideas",137      "description": "Indoors or out - start dreaming of your best season yet.",138      "owner": {139        "id": "424605208526455283",140        "handle": "pinterest",141        "name": "Pinterest",142        "url": "https://www.pinterest.com/pinterest/",143        "avatar_url": "https://i.pinimg.com/280x280_RS/1c/b5/61/1cb561c8e7b9c709f78d110a4b5f0863.jpg",144        "verified": true145      },146      "item_count": 183,147      "cover_url": "https://i.pinimg.com/custom_covers/200x150/424605139808125445_1790359161.jpg",148      "updated_at": "2026-10-08T20:43:15Z",149      "extra": {150        "collaborator_count": 0,151        "follower_count": 4232801,152        "is_collaborative": false,153        "privacy": "public",154        "section_count": 0155      }156    }157  },158  "cursor": null,159  "has_more": false160}

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:

1{2  "ok": false,3  "error": {4    "code": "not_found",5    "message": "The platform says this profile, post or item does not exist.",6    "retryable": false7  },8  "credits_charged": 0,9  "request_id": "req_3c6a1bcbaaf89527409d6a63"10}