Pinterest pin search API
  1. Docs
  2. Pinterest
  3. Pinterest pin search API

Pinterest pin search API

Pins matching a keyword, about 24 per page.

GET /v1/pinterest/search

GET /v1/pinterest/search

Pins matching a keyword, about 24 per page. Search pins carry opaque ids (e1_...), so their url is the pin page but the pin endpoint cannot look the id up again.

  • 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
querystringyesSearch terms. Also accepted as keyword, q.

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/search" \2  -H "x-api-key: $SOCIALSCRAPE_API_KEY" \3  --data-urlencode "query=living room ideas"

Example response#

This is a sample from a recorded response, lists and long text are shortened. 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_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": "Y2JVSG81V2sxcmNHRlpWM1J5VFVad1YxWllaR3hpVmtreVZUSjRRMVl4U25KV1dHUlhVbXh3VkZWdGMzaFdhelZaVW0xR2JHRXhjRkpXVjNScllXMVJlRlZ1Vm1wU1ZYQlBXVlJPVTJWV1pISlhhM1JYVm10V05sVldVbE5YUjBwSVZXdG9XbUV4Y0ROV01GcFRWMVp3Ums1Vk5XbFNXRUYzVm10U1IyRXhiRmhTYms1cVUw...",133    "has_more": true,134    "parent": null135  },136  "cursor": "Y2JVSG81V2sxcmNHRlpWM1J5VFVad1YxWllaR3hpVmtreVZUSjRRMVl4U25KV1dHUlhVbXh3VkZWdGMzaFdhelZaVW0xR2JHRXhjRkpXVjNScllXMVJlRlZ1Vm1wU1ZYQlBXVlJPVTJWV1pISlhhM1JYVm10V05sVldVbE5YUjBwSVZXdG9XbUV4Y0ROV01GcFRWMVp3Ums1Vk5XbFNXRUYzVm10U1IyRXhiRmhTYms1cVUw...",137  "has_more": true138}

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.
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.