Pinterest user boards API
Pinterest user boards: GET /v1/pinterest/profile/boards. 1 credit per request.
GET /v1/pinterest/profile/boards
GET /v1/pinterest/profile/boards
Pinterest user boards.
- Cost: 1 credit
- Cache: Results are kept up to 30 days; send
max_age_daysto reuse them for free. - Timeout: A request still running after about 25 seconds answers
202with a job to poll (Batch and jobs).
Parameters#
| Name | Type | Required | Description |
|---|---|---|---|
handle | string | yes | Username, with or without the leading @. Also accepted as username. |
Every request also accepts:
cursor: the cursor from the previous page (Pagination).trim:truefor a smaller response withoutnullfields andextra.raw:trueto also get the platform's original object asraw.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/profile/boards" \2 -H "x-api-key: $SOCIALSCRAPE_API_KEY" \3 --data-urlencode "handle=pinterest"1import os2import requests34params = {5 "handle": "pinterest",6}7res = requests.get(8 "https://api.socialscrape.dev/v1/pinterest/profile/boards",9 headers={"x-api-key": os.environ["SOCIALSCRAPE_API_KEY"]},10 params=params,11)12body = res.json()1314if body["ok"]:15 print(body["data"])16else:17 print(body["error"]["code"], body["error"]["message"])1const url = new URL("https://api.socialscrape.dev/v1/pinterest/profile/boards");2url.search = new URLSearchParams({3 "handle": "pinterest"4}).toString();5const res = await fetch(url, {6 headers: { "x-api-key": process.env.SOCIALSCRAPE_API_KEY! },7});8const body = await res.json();910if (body.ok) {11 console.log(body.data);12} else {13 console.error(body.error.code, body.error.message);14}1{2 "nodes": [3 {4 "name": "SocialScrape Pinterest user boards",5 "type": "n8n-nodes-base.httpRequest",6 "typeVersion": 4.2,7 "position": [8 0,9 010 ],11 "parameters": {12 "method": "GET",13 "url": "https://api.socialscrape.dev/v1/pinterest/profile/boards",14 "sendQuery": true,15 "queryParameters": {16 "parameters": [17 {18 "name": "handle",19 "value": "pinterest"20 }21 ]22 },23 "sendHeaders": true,24 "headerParameters": {25 "parameters": [26 {27 "name": "x-api-key",28 "value": "={{ $env.SOCIALSCRAPE_API_KEY }}"29 }30 ]31 }32 }33 }34 ],35 "connections": {}36}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.
1{2 "ok": true,3 "credits_charged": 1,4 "credits_remaining": 4999,5 "cached": false,6 "cached_at": null,7 "request_id": "req_4baea8011775836642868d4f",8 "data": {9 "object": "list",10 "items": [11 {12 "object": "collection",13 "platform": "pinterest",14 "id": "424605139808129209",15 "url": "https://www.pinterest.com/pinterest/grounding-gifts-to-romanticize-your-life/",16 "kind": "board",17 "title": "Grounding gifts to romanticize your life",18 "description": "Thoughtful finds for a slower, softer life - candles, journals and self-care treasures that turn ordinary moments into something sacred.",19 "owner": {20 "id": "424605208526455283",21 "handle": "pinterest",22 "name": "Pinterest",23 "url": "https://www.pinterest.com/pinterest/",24 "avatar_url": "https://i.pinimg.com/75x75_RS/1c/b5/61/1cb561c8e7b9c709f78d110a4b5f0863.jpg",25 "verified": true26 },27 "item_count": 59,28 "cover_url": "https://i.pinimg.com/474x/57/4d/64/574d645321687c7bb1ab8d1163daae9b.jpg",29 "updated_at": "2026-10-29T19:31:10Z",30 "extra": {31 "collaborator_count": 0,32 "created_at": "2026-10-23T23:04:28+00:00",33 "follower_count": 4232779,34 "is_collaborative": false,35 "privacy": "public",36 "section_count": 037 }38 },39 {40 "object": "collection",41 "platform": "pinterest",42 "id": "424605139808129207",43 "url": "https://www.pinterest.com/pinterest/travel-essentials-for-holiday-commutes/",44 "kind": "board",45 "title": "Travel essentials for holiday commutes",46 "description": "Gift ideas for every traveler on your list. From sleek organizers to cozy must-haves, these picks make every mile feel a little more magical.",47 "owner": {48 "id": "424605208526455283",49 "handle": "pinterest",50 "name": "Pinterest",51 "url": "https://www.pinterest.com/pinterest/",52 "avatar_url": "https://i.pinimg.com/75x75_RS/1c/b5/61/1cb561c8e7b9c709f78d110a4b5f0863.jpg",53 "verified": true54 },55 "item_count": 62,56 "cover_url": "https://i.pinimg.com/474x/7b/78/99/7b78993ee9fb5d67b07042e6fcd7a4a6.jpg",57 "updated_at": "2026-10-29T18:16:23Z",58 "extra": {59 "collaborator_count": 0,60 "created_at": "2026-10-23T23:03:22+00:00",61 "follower_count": 4232776,62 "is_collaborative": false,63 "privacy": "public",64 "section_count": 065 }66 }67 ],68 "cursor": "LT4zMzU3Mjk0MTU5MTE3MzE4NzV8MjV8NTc0MzIyOTEwNTQxOTgzMCpHUUwqfDk4NGJjNTBkMmJiMTI1Nzc0OGJjZThmNzdjMmVmZDA3YzYyZWMxZmNlYmM0NTI4N2QzNTgwNGE4ZjczODNiNjF8TkVXfA==",69 "has_more": true,70 "parent": null71 },72 "cursor": "LT4zMzU3Mjk0MTU5MTE3MzE4NzV8MjV8NTc0MzIyOTEwNTQxOTgzMCpHUUwqfDk4NGJjNTBkMmJiMTI1Nzc0OGJjZThmNzdjMmVmZDA3YzYyZWMxZmNlYmM0NTI4N2QzNTgwNGE4ZjczODNiNjF8TkVXfA==",73 "has_more": true74}Response#
A list of Collection 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.
| Code | HTTP | Retry | Meaning |
|---|---|---|---|
invalid_params | 400 | no | A parameter is missing, unknown or has the wrong type. |
not_found | 404 | no | The 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.
Also served at#
These paths answer the same request, so code written for other APIs keeps working: /v1/pinterest/user/boards. See Switching from ScrapeCreators.
Related endpoints#
- Pinterest pin search (
GET /v1/pinterest/search) - Pinterest pin (
GET /v1/pinterest/pin) - Pinterest board pins (
GET /v1/pinterest/board) - Pinterest topic pins (
GET /v1/pinterest/topic)