Pinterest API docs

Pinterest API: Search — Pins by query

Discover Search data on Pinterest from a user query and connect the results to search, catalog, or research interfaces.

Use “Pins by query” when an exact object ID is not known and relevant candidates must be found first.

Method GET
Entity Search
Versions 2
What this endpoint does

What you can build with this API method

Review the result and common workflows first, then move to parameters and a working request example.

What this endpoint helps with

The response includes matching Search, public context, and pagination data when more results are available.

When to use it

Use “Pins by query” when an exact object ID is not known and relevant candidates must be found first.

Common use cases

In-product search

Add Pinterest data search to customer-facing and internal interfaces.

Catalog building

Find candidates by query and save relevant objects for later enrichment.

Market research

Collect result sets for topic, creator, and competitive analysis.

Available versions

Response version

Both versions solve the same job and accept the same parameters. Use the switch to compare the response structure and choose the version your client expects.

Response version V2

Switch versions on this page to compare response structures while keeping the same documentation URL.

What stays the same

Authentication, required parameters, and the request shape stay the same across V1 and V2. In practice, you choose the version when you build the endpoint path and when you parse the response.

What changes between versions

The main difference is the response envelope. Use V2 for new integrations and keep V1 only when you need compatibility with an existing client contract.

How to use it

How to call the method

Use the same API key header and the same query parameters for both versions. This documentation shows the shared parameter set first, then version-specific endpoint paths and code snippets.

Input parameters

Shared parameters
Parameter Required Type Example Description
query Yes str value User-entered search query.
cursor No str | None QVFB... Next-page cursor returned by the previous response. Omit it for the first page.

Version-specific request path

V2

Choose a version when you copy the exact endpoint path, example URL, and code snippet. The parameter list above stays the same.

GET /api/v2/pinterest.com/search/pins-by-query

Normalized format

Code examples

curl --request GET \
  --url "https://www.scrapestorm.net/api/v2/pinterest.com/search/pins-by-query" \
  --header "X-API-Key: 00000000-0000-4000-8000-000000000000" \
  --get --data-urlencode 'query=value' \
  # Optional parameters:
  # --data-urlencode 'cursor=QVFB...'
Response example

Live response by version

The preview keeps key fields and the first collection items so you can scan the response shape quickly. Switching versions changes the JSON format.

Response example

V2 response JSON

Verified example

This compact JSON example comes from the latest successful verification run for V2.

{
  "success": true,
  "status": "ok",
  "pagination": {
    "cursor": "QVFB...",
    "has_more": true
  },
  "search_context": {
    "query": "home decor"
  },
  "data": {
    "pins": {
      "count": 7,
      "items": [
        {
          "url": "https://www.pinterest.com/pin/225039312627881892/",
          "pin_id": "225039312627881892",
          "aggregated_pin_id": "5263188580060150572",
          "title": "Cozy Reading Nook",
          "description": "Neva Round Daybed in Recycled Faux Fur color: Pampas Grass Featured on Instagram @ladyofbookshire",
          "emails": [],
          "hashtags": [],
          "link": "https://sixpenny.com/products/neva-round-daybed-slipcover-only?currency=USD&variant=40241699946540&utm_medium=cpc&utm_source=google&utm_campaign=Google+Shopping&gclid=EAIaIQobCh…",
          "domain": "sixpenny.com",
          "created_at": "2022-11-05T14:37:02+00:00",
          "reaction_count": 1616,
          "comment_count": null,
          "board": {
            "url": "https://www.pinterest.com/erinturnage/reading-room-inspo/",
            "board_id": "225039381319533959",
            "name": "Reading Room Inspo",
            "pin_count": 4,
            "collaborator_count": 0,
            "section_count": 0,
            "is_collaborative": false,
            "modified_at": "2023-02-10T03:09:22+00:00",
            "owner": {
              "url": "https://www.pinterest.com/erinturnage/",
              "user_id": "225039450038600465",
              "username": "erinturnage",
              "display_name": "Erin Turnage",
              "follower_count": 87,
              "verified": null,
              "avatar_url": "https://example.com/image.jpg"
            },
            "thumbnail_url": "https://example.com/image.jpg"
          },
          "pinner": {
            "url": "https://www.pinterest.com/erinturnage/",
            "user_id": "225039450038600465",
            "username": "erinturnage",
            "display_name": "Erin Turnage",
            "follower_count": 87,
            "verified": null,
            "avatar_url": "https://example.com/image.jpg"
          },
          "tags": [
            "Home Living Room",
            "Dream House Decor",
            {
              "_more_items": 7
            }
          ],
          "dominant_color": "#6c5942",
          "thumbnail_url": "https://example.com/image.jpg",
          "images": [
            {
              "url": "https://i.pinimg.com/236x/2c/24/91/2c24917f5d44c73a48b10de4692f3467.jpg",
              "width": 236,
              "height": 445
            },
            {
              "url": "https://i.pinimg.com/474x/2c/24/91/2c24917f5d44c73a48b10de4692f3467.jpg",
              "width": 474,
              "height": 895
            },
            {
              "_more_items": 2
            }
          ]
        },
        {
          "url": "https://www.pinterest.com/pin/696439529923803956/",
          "pin_id": "696439529923803956",
          "aggregated_pin_id": "3159035064123023616",
          "title": "🌸 Finally—a fluffy rug that doesn't shed everywhere",
          "description": "Your Room Deserves This Kind of Soft You know that feeling when you walk into a room and it just feels... right? Warm. Put-together. Like someone actually thought about it.  Tha…",
          "emails": [],
          "hashtags": [],
          "link": "https://clarendale.co/products/velura%E2%84%A2-gradient-plush-rug-for-cozy-rooms?utm_campaign=626757503084&utm_ad_group=2680088796241&utm_ad=687300955419&utm_source=pinterest&pp=1",
          "domain": "clarendale.co",
          "created_at": "2026-07-06T00:25:51+00:00",
          "reaction_count": 4178,
          "comment_count": null,
          "board": {
            "url": "https://www.pinterest.com/Io_Gabriiiell_A/deco/",
            "board_id": "696439598566996202",
            "name": "DECO",
            "pin_count": 58,
            "collaborator_count": 0,
            "section_count": 0,
            "is_collaborative": false,
            "modified_at": "2026-07-16T02:20:40+00:00",
            "owner": {
              "url": "https://www.pinterest.com/Io_Gabriiiell_A/",
              "user_id": "696439667284860054",
              "username": "Io_Gabriiiell_A",
              "display_name": "IO Gabriiiell ∆",
              "follower_count": 10,
              "verified": null,
              "avatar_url": "https://example.com/image.jpg"
            },
            "thumbnail_url": "https://example.com/image.jpg"
          },
          "pinner": {
            "url": "https://www.pinterest.com/Io_Gabriiiell_A/",
            "user_id": "696439667284860054",
            "username": "Io_Gabriiiell_A",
            "display_name": "IO Gabriiiell ∆",
            "follower_count": 10,
            "verified": null,
            "avatar_url": "https://example.com/image.jpg"
          },
          "tags": [
            "Rug Color",
            "Thick Rug",
            {
              "_more_items": 7
            }
          ],
          "dominant_color": "#796557",
          "thumbnail_url": "https://example.com/image.jpg",
          "images": [
            {
              "url": "https://i.pinimg.com/236x/3c/b7/b0/3cb7b0c54787ae270cb3178ddc5bebcd.jpg",
              "width": 236,
              "height": 354
            },
            {
              "url": "https://i.pinimg.com/474x/3c/b7/b0/3cb7b0c54787ae270cb3178ddc5bebcd.jpg",
              "width": 474,
              "height": 711
            },
            {
              "_more_items": 2
            }
          ]
        },
        {
          "_more_items": 5
        }
      ]
    }
  }
}
What to do next

Continue the evaluation

Use this documentation as the first decision point, then move into pricing, platform coverage, and integration rules before you connect the endpoint for recurring use.

Open the Pinterest platform page

Compare adjacent entities, API method groups, and related docs before implementation.

Open platform page

Compare API method pricing

Check where this API method sits inside the public price table before you scale usage.

View pricing

Review integration rules

Use the starter docs to confirm authentication, versioning, retries, and mock vs live behavior.

Open docs
FAQ

Questions teams ask before implementation

Use these answers to decide whether this API method fits your workflow, versioning choice, and rollout plan.

What data does this Pinterest API method return?

The method performs “Pins by query” for Search. The compact response example below shows the exact field structure.

Should I choose V1 or V2?

Choose V2 for new integrations because it provides a normalized structure. Use V1 only for compatibility with clients that already consume the platform-native format.

What do I need for the first request?

Create an API key, send it in the request header, and provide the required parameters from the table. The code samples already contain the correct path and request structure.