1. Platforms
  2. Pinterest Scraper API
  3. Pinterest pin search API

Pinterest pin search API

Pins matching a keyword, about 24 per page.

GET api.socialscrape.dev/v1/pinterest/search

Cost
1 credit
Cached repeats
0 creditssend max_age_days, results kept 30 days
Failed requests
0 credits

Search pins carry opaque ids (e1_...), so their url is the pin page but the pin endpoint cannot look the id up again.

You send query.

Part of the Pinterest Scraper API: 5 Pinterest endpoints on one key.

Request

Send your key in the x-api-key header.

1curl -G "https://api.socialscrape.dev/v1/pinterest/search" \2  -H "x-api-key: $SOCIALSCRAPE_API_KEY" \3  --data-urlencode 'query=living room ideas'

Parameters

NameTypeRequiredDescription
querystringyesSearch terms. Also accepted as keyword, q.
cursorstringOpaque cursor from the previous page; pass it back unchanged. Also accepted as continuationToken, continuation_token, next_max_id, max_id, max_cursor, min_time, after, page_token, pageToken, paginationToken, next_page_id, page.

Every request also accepts trim, raw and max_age_days.

Response

Sample from a recorded response, shortened. Values are examples, not your data.

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_fe6af9ab005607a80a43d9a2",8  "data": {9    "object": "list",10    "items": [11      {12        "object": "post",13        "platform": "pinterest",14        "id": "e1_AfqPShwjNMJ4K2cnVZIX0_oqSVyHLtBpsvT3nv_x_T5Gf9PQ46LTXQ",15        "url": "https://www.pinterest.com/pin/e1_AfqPShwjNMJ4K2cnVZIX0_oqSVyHLtBpsvT3nv_x_T5Gf9PQ46LTXQ/",16        "type": "pin",17        "author": {18          "id": "1110137514305715123",19          "handle": "HuliRecipes",20          "name": "Yulia Recipes",21          "url": "https://www.pinterest.com/HuliRecipes/",22          "avatar_url": "https://i.pinimg.com/140x140_RS/4c/78/76/4c78766b76d46dddef2d86882735589f.jpg",23          "verified": false24        },25        "title": null,26        "text": "\"Discover the perfect blend of style and functionality with our step-by-step guide to creating a stunning Danish modern coffee table from mango wood!\"",27        "published_at": "2026-08-29T00:54:32Z",28        "duration_seconds": null,29        "language": null,30        "hashtags": null,31        "mentions": null,32        "stats": {33          "views": null,34          "likes": 373,35          "comments": null,36          "shares": null,37          "saves": null,38          "dislikes": null39        },40        "media": {41          "thumbnail_url": "https://i.pinimg.com/236x/79/ce/2b/79ce2bd61c95841d00e02c3de67f4998.jpg",42          "video_url": null,43          "audio_url": null,44          "image_urls": [45            "https://i.pinimg.com/originals/79/ce/2b/79ce2bd61c95841d00e02c3de67f4998.jpg"46          ],47          "width": 1024,48          "height": 153649        },50        "song": null,51        "location": null,52        "is_pinned": null,53        "is_sponsored": false,54        "extra": {55          "alt_text": "a living room filled with furniture and a flat screen tv mounted on a wall next to a kitchen",56          "board": {57            "id": "1110137445588421147",58            "name": "All Home Decors Ideas",59            "url": "https://www.pinterest.com/HuliRecipes/all-home-decors-ideas/"60          },61          "domain": "etsy.com",62          "dominant_color": "#7f6652",63          "keywords": [64            "Neutral Cozy Living Room Ideas",65            "Warm Neutral Home Interior",66            "Warm Home Ideas"67          ],68          "link": "https://www.etsy.com/listing/4549735042/danish-modern-coffee-table-mango-wood"69        }70      },71      {72        "object": "post",73        "platform": "pinterest",74        "id": "e1_AfqPShxLDwKpUlT_olGSihEZDhimpaknD5aTkrm9oQXmx99zIv-SKA",75        "url": "https://www.pinterest.com/pin/e1_AfqPShxLDwKpUlT_olGSihEZDhimpaknD5aTkrm9oQXmx99zIv-SKA/",76        "type": "pin",77        "author": {78          "id": "1049901869289427155",79          "handle": "dreambundles",80          "name": "DreamBundles",81          "url": "https://www.pinterest.com/dreambundles/",82          "avatar_url": "https://i.pinimg.com/140x140_RS/51/bd/14/51bd14c222462bc47b2f5b22283c5697.jpg",83          "verified": false84        },85        "title": "15 Gorgeous Living Room Ideas 2026",86        "text": "Find fresh living room inspiration with soft neutrals, warm wood, rich fabrics, and elevated decor.",87        "published_at": "2026-08-25T22:22:16Z",88        "duration_seconds": null,89        "language": null,90        "hashtags": null,91        "mentions": null,92        "stats": {93          "views": null,94          "likes": 9,95          "comments": null,96          "shares": null,97          "saves": null,98          "dislikes": null99        },100        "media": {101          "thumbnail_url": "https://i.pinimg.com/236x/b0/43/25/b04325b115c8cb8d57b6237617a0ae95.jpg",102          "video_url": null,103          "audio_url": null,104          "image_urls": [105            "https://i.pinimg.com/originals/b0/43/25/b04325b115c8cb8d57b6237617a0ae95.png"106          ],107          "width": 1000,108          "height": 1500109        },110        "song": null,111        "location": null,112        "is_pinned": null,113        "is_sponsored": false,114        "extra": {115          "alt_text": "a living room with couches, chairs and tables in the middle of it is featured for",116          "board": {117            "id": "1049901800571131190",118            "name": "Home Ideas",119            "url": "https://www.pinterest.com/dreambundles/home-ideas/"120          },121          "domain": "dreambundles.com",122          "dominant_color": "#a58e7f",123          "keywords": [124            "Warm Family Room Ideas",125            "Beautiful Family Room Ideas",126            "2027 Living Room Colors"127          ],128          "link": "https://dreambundles.com/blogs/home-ideas/classy-living-room-ideas"129        }130      }131    ],132    "cursor": "Y2JVSG81V2sxcmNHRlpWM1J5VFVad1YxWllaR3hpVmtreVZUSjRRMVl4U25KV1dHUlhVbXh3VkZWdGMzaFdhelZaVW0xR2JHRXhjRkpXVjNScllXMVJlRlZ1Vm1wU1ZYQlBXVlJPVTJWV1pISlhhM1JYVm10V...",133    "has_more": true,134    "parent": null135  },136  "cursor": "Y2JVSG81V2sxcmNHRlpWM1J5VFVad1YxWllaR3hpVmtreVZUSjRRMVl4U25KV1dHUlhVbXh3VkZWdGMzaFdhelZaVW0xR2JHRXhjRkpXVjNScllXMVJlRlZ1Vm1wU1ZYQlBXVlJPVTJWV1pISlhhM1JYVm10V...",137  "has_more": true138}

Fields

A page of results. Each entry in items is a Post. cursor and has_more page through the rest.

A field the platform does not give is null, never made up. Extra platform details are in extra.

FieldTypeAlwaysNotes
object"post"
platformPlatformyes
idstringyes
urlstring or null
type"video" or "short" or "reel" or "image" or "carousel" or "story" or "live" or "clip" or "text" or "link" or "tweet" or "pin" or "community_post" or "episode" or "unknown"
authorAuthor or null
titlestring or null
textstring or null
published_atstring (ISO 8601 date-time) or null
duration_secondsnumber or null
languagestring or null
hashtagsstring[] or null
mentionsstring[] or null
statsStats
Show the other 6 fields
FieldTypeAlwaysNotes
mediaMedia
songSongRef or null
locationPlace or null
is_pinnedboolean or null
is_sponsoredboolean or null
extraobject or null

Full field list in the reference for this endpoint and the data models. Errors are listed under Errors.

Questions

Which errors can it return?

invalid_params (do not retry), not_found (do not retry). Account and platform errors from the errors list can also happen. A failure always costs 0 credits.

How do I get more than one page?

Send the same request with cursor set to the cursor you received, until has_more is false. Each page costs its own price. See pagination.

Is there an SDK call for it?

The Python client has client.pinterest.search(...) and the TypeScript client client.pinterest.search(). Both return the same envelope as the HTTP API. Install them from PyPI (socialscrape-sdk) or npm (socialscrape); plain HTTP works in any language.

Can an AI agent call it?

Yes. The MCP server, which you run on your own machine, reaches every built endpoint, with the same prices.