Skip to content

Search

GET/v1/pinterest/search1 credit

Searches Pinterest for pins matching a keyword and returns one page of results in `pins`, with a `cursor` for the next page.

01Query parameters

NameTypeDescription
queryrequiredstringThe search term.
cursoroptionalstringThe `cursor` value from the previous page, passed back unchanged to get the next page.
trimoptionalbooleanSet to `true` to receive a reduced object with fewer fields. Same price.Default: false

02Request

curl "https://api.scrapesocial.ai/v1/pinterest/search?query=Italian+Pot+Roast" \
  -H "x-api-key: $SCRAPESOCIAL_KEY"

03Responses

Real answers from the API. Lists are shortened to 2 items.

GET /v1/pinterest/search?query=Italian+Pot+Roast

{
  "success": true,
  "credits_remaining": 4980,
  "credits_charged": 1,
  "pins": [
    {
      "node_id": "UGluOmUxX0FmcVBTaHdVOTA5T1BXTThWNy1BZFJyb0tJRWF2Z1ZPWDhwV1VlTUl0Wm5oenZIRjBLRQ==",
      "url": "https://www.pinterest.com/pin/e1_AfqPShwU909OPWM8V7-AdRroKIEavgVOX8pWUeMItZnhzvHF0KE",
      "id": "e1_AfqPShwU909OPWM8V7-AdRroKIEavgVOX8pWUeMItZnhzvHF0KE",
      "title": "",
      "auto_alt_text": "a white bowl filled with meat and tomato sauce on top of a wooden cutting board",
      "is_promoted": false,
      "description": "Italian Pot Roast (Stracotto)",
      "images": {
        "170x": {
          "width": 236,
          "height": 354,
          "url": "https://i.pinimg.com/236x/60/1c/05/601c053ab10cfe679eb856e62c453085.jpg"
        },
        "236x": {
          "width": 236,
          "height": 354,
          "url": "https://i.pinimg.com/236x/60/1c/05/601c053ab10cfe679eb856e62c453085.jpg"
        },
        "474x": {
          "width": 474,
          "height": 711,
          "url": "https://i.pinimg.com/474x/60/1c/05/601c053ab10cfe679eb856e62c453085.jpg"
        },
        "736x": {
          "width": 736,
          "height": 1104,
          "url": "https://i.pinimg.com/736x/60/1c/05/601c053ab10cfe679eb856e62c453085.jpg"
        },
        "orig": {
          "width": 800,
          "height": 1200,
          "url": "https://i.pinimg.com/originals/60/1c/05/601c053ab10cfe679eb856e62c453085.jpg"
        }
      },
      "link": "https://www.closetcooking.com/italian-pot-roast-straccato/",
      "domain": "closetcooking.com",
      "seo_alt_text": "a white bowl filled with meat and tomato sauce on top of a wooden cutting board",
      "board": {
        "node_id": "Qm9hcmQ6OTQ5Mjc1NzMzMzQ2MzUyODY=",
        "collaborator_count": 0,
        "cover_images": {
          "236x": {
            "url": "https://i.pinimg.com/236x/4d/8b/b9/4d8bb968e64c9f4a4935fb9bccea1761.jpg",
            "width": 236
          }
        },
        "owner": {
          "node_id": "VXNlcjo5NDkyNzY0MjA1NDEwMDUzMA==",
          "image_small_url": "https://i.pinimg.com/30x30_RS/3d/9b/c9/3d9bc99ae355ecfe5f56cd61a59c34ed.jpg",
          "username": "kattales",
          "is_verified_merchant": false,
          "image_large_url": "https://i.pinimg.com/140x140_RS/3d/9b/c9/3d9bc99ae355ecfe5f56cd61a59c34ed.jpg",
          "id": "94927642054100530",
          "is_ads_only_profile": false,
          "verified_identity": {},
          "follower_count": 58,
          "image_medium_url": "https://i.pinimg.com/75x75_RS/3d/9b/c9/3d9bc99ae355ecfe5f56cd61a59c34ed.jpg",
          "full_name": "Kathy Cypert"
        },
        "pin_thumbnail_urls": [
          "https://i.pinimg.com/150x150/7b/bc/00/7bbc00e26250f458d2d2111da86599fc.jpg",
          "https://i.pinimg.com/150x150/6a/97/93/6a979351799d9d950fc720e5eccec7e5.jpg"
        ],
        "board_order_modified_at": "Sat, 24 Oct 2026 21:11:53 +0000",
        "id": "94927573334635286",
        "image_cover_hd_url": "https://i.pinimg.com/474x/4d/8b/b9/4d8bb968e64c9f4a4935fb9bccea1761.jpg",
        "images": {
          "236x": [
            {
              "url": "https://i.pinimg.com/236x/7b/bc/00/7bbc00e26250f458d2d2111da86599fc.jpg",
              "width": 236,
              "height": 295,
              "dominant_color": "#9B6B2A"
            },
            {
              "url": "https://i.pinimg.com/236x/6a/97/93/6a979351799d9d950fc720e5eccec7e5.jpg",
              "width": 236,
              "height": 360,
              "dominant_color": "#C1AA6F"
            }
          ]
        },
        "type": "board",
        "section_count": 9,
        "image_cover_url": "https://i.pinimg.com/200x150/4d/8b/b9/4d8bb968e64c9f4a4935fb9bccea1761.jpg",
        "pin_count": 2630,
        "collaborating_users": [],
        "name": "Food For Thought",
        "is_collaborative": false,
        "url": "/kattales/food-for-thought/"
      },
      "grid_title": "Italian Pot Roast (Stracotto)",
      "created_at": "Thu, 02 May 2024 16:08:25 +0000",
      "pinner": {
        "node_id": "VXNlcjo5NDkyNzY0MjA1NDEwMDUzMA==",
        "image_small_url": "https://i.pinimg.com/30x30_RS/3d/9b/c9/3d9bc99ae355ecfe5f56cd61a59c34ed.jpg",
        "username": "kattales",
        "is_verified_merchant": false,
        "image_large_url": "https://i.pinimg.com/140x140_RS/3d/9b/c9/3d9bc99ae355ecfe5f56cd61a59c34ed.jpg",
        "id": "94927642054100530",
        "is_ads_only_profile": false,
        "verified_identity": {},
        "follower_count": 58,
        "image_medium_url": "https://i.pinimg.com/75x75_RS/3d/9b/c9/3d9bc99ae355ecfe5f56cd61a59c34ed.jpg",
        "full_name": "Kathy Cypert"
      }
    },
    {
      "node_id": "UGluOmUxX0FmcVBTaHk4LTJGTEk0N1lodlZQRWxRZktncUtlb05qT1h6dmt4MGoycmhhWVNLcDJ1eUw=",
      "url": "https://www.pinterest.com/pin/e1_AfqPShy8-2FLI47YhvVPElQfKgqKeoNjOXzvkx0j2rhaYSKp2uyL",
      "id": "e1_AfqPShy8-2FLI47YhvVPElQfKgqKeoNjOXzvkx0j2rhaYSKp2uyL",
      "title": "",
      "auto_alt_text": "a white bowl filled with meat and sauce",
      "is_promoted": false,
      "description": "Italian Pot Roast (Stracotto) and Oven-Baked Gorgonzola Polenta",
      "images": {
        "170x": {
          "width": 236,
          "height": 472,
          "url": "https://i.pinimg.com/236x/77/7c/2e/777c2e0365028e78d759eac8edfe990f.jpg"
        },
        "236x": {
          "width": 236,
          "height": 472,
          "url": "https://i.pinimg.com/236x/77/7c/2e/777c2e0365028e78d759eac8edfe990f.jpg"
        },
        "474x": {
          "width": 236,
          "height": 472,
          "url": "https://i.pinimg.com/474x/77/7c/2e/777c2e0365028e78d759eac8edfe990f.jpg"
        },
        "736x": {
          "width": 236,
          "height": 472,
          "url": "https://i.pinimg.com/736x/77/7c/2e/777c2e0365028e78d759eac8edfe990f.jpg"
        },
        "orig": {
          "width": 236,
          "height": 472,
          "url": "https://i.pinimg.com/originals/77/7c/2e/777c2e0365028e78d759eac8edfe990f.jpg"
        }
      },
      "link": "https://www.fromachefskitchen.com/italian-pot-roast-straccato-gorgonzola-polenta/",
      "domain": "fromachefskitchen.com",
      "seo_alt_text": "a white bowl filled with meat and sauce",
      "board": {
        "node_id": "Qm9hcmQ6ODIwNDk5Njk0NTUyMTA4MzA4",
        "collaborator_count": 0,
        "cover_images": {
          "236x": {
            "url": "https://i.pinimg.com/236x/11/55/7f/11557f86649d79438ebf31697a7f60c2.jpg",
            "width": 236
          }
        },
        "owner": {
          "node_id": "VXNlcjo4MjA0OTk3NjMyNzAyNzg3OTE=",
          "image_small_url": "https://i.pinimg.com/30x30_RS/1a/52/fe/1a52feeded52b06e699dcc782f3ae3df.jpg",
          "username": "melizasorrentino341",
          "is_verified_merchant": false,
          "image_large_url": "https://i.pinimg.com/140x140_RS/1a/52/fe/1a52feeded52b06e699dcc782f3ae3df.jpg",
          "id": "820499763270278791",
          "is_ads_only_profile": false,
          "verified_identity": {},
          "follower_count": 8,
          "image_medium_url": "https://i.pinimg.com/75x75_RS/1a/52/fe/1a52feeded52b06e699dcc782f3ae3df.jpg",
          "full_name": "Meliza Sorrentino"
        },
        "pin_thumbnail_urls": [
          "https://i.pinimg.com/150x150/bd/81/d7/bd81d74eec6e67f326762199863f5c8e.jpg",
          "https://i.pinimg.com/150x150/92/03/b0/9203b08dad53e857cd10cd7c7bb0c91b.jpg"
        ],
        "board_order_modified_at": "Thu, 05 Dec 2024 09:23:28 +0000",
        "id": "820499694552108308",
        "image_cover_hd_url": "https://i.pinimg.com/474x/11/55/7f/11557f86649d79438ebf31697a7f60c2.jpg",
        "images": {
          "236x": [
            {
              "url": "https://i.pinimg.com/236x/3c/f7/89/3cf7892399d9c8f50e5162e1650364a7.jpg",
              "width": 236,
              "height": 472,
              "dominant_color": "#744126"
            },
            {
              "url": "https://i.pinimg.com/236x/4a/40/65/4a406526978f8cc85648850390431a55.jpg",
              "width": 236,
              "height": 354,
              "dominant_color": "#9A7E55"
            }
          ]
        },
        "type": "board",
        "section_count": 0,
        "image_cover_url": "https://i.pinimg.com/200x150/11/55/7f/11557f86649d79438ebf31697a7f60c2.jpg",
        "pin_count": 354,
        "collaborating_users": [],
        "name": "Dinner",
        "is_collaborative": false,
        "url": "/melizasorrentino341/dinner/"
      },
      "grid_title": "Italian Pot Roast (Stracotto) and Oven-Baked Gorgonzola Polenta",
      "created_at": "Thu, 24 Oct 2024 06:01:21 +0000",
      "pinner": {
        "node_id": "VXNlcjo4MjA0OTk3NjMyNzAyNzg3OTE=",
        "image_small_url": "https://i.pinimg.com/30x30_RS/1a/52/fe/1a52feeded52b06e699dcc782f3ae3df.jpg",
        "username": "melizasorrentino341",
        "is_verified_merchant": false,
        "image_large_url": "https://i.pinimg.com/140x140_RS/1a/52/fe/1a52feeded52b06e699dcc782f3ae3df.jpg",
        "id": "820499763270278791",
        "is_ads_only_profile": false,
        "verified_identity": {},
        "follower_count": 8,
        "image_medium_url": "https://i.pinimg.com/75x75_RS/1a/52/fe/1a52feeded52b06e699dcc782f3ae3df.jpg",
        "full_name": "Meliza Sorrentino"
      }
    }
  ],
  "cursor": "Y2JVSG81V2sxcmNHRlpWM1J5VFVad1ZsWlVWbFJXTVVZMldWVlZNVlV4U1hsVldIQlhVbXhhVkZadE1WSmtNREZaVW14T1YxSllRbEpXVjNSWFVtMVJlRlZ1Vm1wU1ZGWlBWRlZvVTJWV1pISlhhM1JYVm10V05sVldVbE5YUjBWNFUydDBZVll6VGpSV2JGcHJaRWRXUms1Vk5XbFNNMDR6Vm1wR1lXRXhTbkpOVm1Sb1RUSjRWbFpyV21GaFJscHhVbTVrYWxac1JqTldWekV3WVZaS1ZXSkdXbFpOVmtwSVZrY3hSMlJHYkRaU2JGWm9ZVE5DVVZkV1VrZGpiVlpYVjJ4V1ZtRjZiRlJWYlhoYVpXeGFSVkZ0ZEZaaGVsWkhWRlpvVTFZeFdr…"
}

Common to every endpoint

Any route can answer these: a missing or wrong key, no credits left, the platform not answering, or a failure on our side. None of them costs credits.

GET /v1/cosmos/profile?handle=design

{
  "success": false,
  "message": "Invalid API key"
}

04Notes

Results are pins only; each has a string `title`. A page holds roughly 16 to 25 pins. Pass the answer's `cursor` back as `cursor` for the next page; it is null when there are no more results. A search that finds nothing returns 200 with an empty `pins` list and costs 0 credits.

05Errors & credits

Every error has success: false, a real HTTP status and costs no credits.

  • 400missing_parameter

    A required parameter is missing or invalid.

  • 403private_account

    The account is private or age-restricted.

  • 404not_found

    No such account.

  • 503upstream_error

    The platform did not answer; retry shortly.