Pinterest
GET /v1/pinterest/search

Pinterest Search API

Keyword pin search — offset cursor, search window 40, flat 2 credits.

2 credits per request
TL;DR
Keyword pin search — offset cursor, search window 40, flat 2 credits. The Pinterest Search API (Pinterest) is a single authenticated GET request to /v1/pinterest/search that responds with clean JSON and costs 2 credits. Pass cache=true for a free 24h cache hit; default is always fresh. Start with 100 free credits — no credit card.

What is the Pinterest Search API?

Search public Pinterest pins by keyword, as a logged-out visitor sees them on Pinterest. Each result carries id, url, title, description, link, domain, image + imageOriginal + images{}, createdAt, reactionCount, board{name,url} and author{username,displayName,followers}. Search rows have no saves count — logged-out search doesn't publish one. Saves, repin and share counts, the video flag and the original pinner are only in pin-details. Each result's id and url use the opaque id Pinterest shows logged-out visitors (e1_…), not the numeric pin id, so search ids can't be passed to /v1/pinterest/pin-details. Cursor pagination via nextCursor + hasMore; a null nextCursor means the end of the search window (max 40). Envelope: requested / listingHits / truncatedReason=search-window. No results is a 200 with an empty list at 0 credits. When Pinterest doesn't answer, the call is 503, retryable, 0 credits. Flat 2 credits.

What you get

  • nextCursor + hasMore (search window 40)
  • requested / listingHits / truncatedReason=search-window
  • empty search: 200 + empty list, 0 credits

Try it

Open in Playground

Fill in the parameters below and copy a ready-to-run request, or open the live Playground to run it against your account (no API key paste).

Parameters

Sign in to run live
curl "https://api.captapi.com/v1/pinterest/search?q=living%20room%20decor" \
  -H "Authorization: Bearer capt_live_..."
# or: -H "x-api-key: capt_live_..."

Edit the parameters and the code updates instantly. Switch languages and hit copy.

Example response

{
  "success": true,
  "data": {
    "requested": 200,
    "totalReturned": 2,
    "listingHits": 40,
    "hasMore": false,
    "nextCursor": null,
    "results": [
      {
        "platform": "pinterest",
        "id": "e1_AfqPShxcd8FI1Mzk_H6iLpBKJtreSMD_6BzVlc4ovgbxb_MiiQmvVw",
        "url": "https://www.pinterest.com/pin/e1_AfqPShxcd8FI1Mzk_H6iLpBKJtreSMD_6BzVlc4ovgbxb_MiiQmvVw/",
        "title": "Sage Green Living Room Inspiration with Warm, Layered Textures",
        "description": "There's something so inviting about a living room built around warm, earthy tones. Sage green walls, a floating media console, and a sunken wood shelving nook create depth, while a jute rug, knit throw, and rust-toned pillows add softness and texture. A beautifully layered space worth saving for inspiration.",
        "seoAltText": "Living room with sage green accent wall, wood built-in shelf, round wood coffee table, and sectional sofa with knit throw.",
        "domain": "Uploaded by user",
        "image": "https://i.pinimg.com/736x/f1/b3/01/f1b30118a60baca76da9baa452d10d82.jpg",
        "images": {
          "170x": {
            "url": "https://i.pinimg.com/236x/f1/b3/01/f1b30118a60baca76da9baa452d10d82.jpg",
            "width": 236,
            "height": 354
          },
          "236x": {
            "url": "https://i.pinimg.com/236x/f1/b3/01/f1b30118a60baca76da9baa452d10d82.jpg",
            "width": 236,
            "height": 354
          },
          "474x": {
            "url": "https://i.pinimg.com/474x/f1/b3/01/f1b30118a60baca76da9baa452d10d82.jpg",
            "width": 474,
            "height": 711
          },
          "736x": {
            "url": "https://i.pinimg.com/736x/f1/b3/01/f1b30118a60baca76da9baa452d10d82.jpg",
            "width": 736,
            "height": 1104
          },
          "orig": {
            "url": "https://i.pinimg.com/originals/f1/b3/01/f1b30118a60baca76da9baa452d10d82.png",
            "width": 1024,
            "height": 1536
          }
        },
        "dominantColor": "#735a3e",
        "reactionCount": 109,
        "createdAt": "2026-10-01T22:05:34Z",
        "board": {
          "name": "Living Room",
          "url": "https://www.pinterest.com/aryaspaces/living-room/",
          "pinCount": 31,
          "collaborative": false
        },
        "author": {
          "id": "1111052307980091292",
          "username": "aryaspaces",
          "displayName": "Arya Spaces | Home Décor & Organization",
          "followers": 22,
          "avatar": "https://i.pinimg.com/30x30_RS/77/09/be/7709be34f4f774a96ac0fe2ecf4e8506.jpg",
          "avatarMedium": "https://i.pinimg.com/75x75_RS/77/09/be/7709be34f4f774a96ac0fe2ecf4e8506.jpg",
          "avatarLarge": "https://i.pinimg.com/140x140_RS/77/09/be/7709be34f4f774a96ac0fe2ecf4e8506.jpg",
          "isVerifiedMerchant": false
        },
        "imageOriginal": "https://i.pinimg.com/originals/f1/b3/01/f1b30118a60baca76da9baa452d10d82.png",
        "link": null,
        "richPinType": null
      },
      {
        "platform": "pinterest",
        "id": "e1_AfqPShwaTkPtRbl_y7gih9_iOTVOMHb7_t2_K470HNTikTWOx00b",
        "url": "https://www.pinterest.com/pin/e1_AfqPShwaTkPtRbl_y7gih9_iOTVOMHb7_t2_K470HNTikTWOx00b/",
        "title": "Bright Living Room: Cozy, Light-Filled Space",
        "description": "Discover a stylish living room with abundant natural light and spacious windows. Explore cozy furniture layouts, premium textures, and airy design ideas to elevate your home",
        "seoAltText": "a living room filled with furniture and lots of windows",
        "domain": "Uploaded by user",
        "image": "https://i.pinimg.com/736x/01/ef/c8/01efc833665d9f08b5a7527d5037e002.jpg",
        "images": {
          "170x": {
            "url": "https://i.pinimg.com/236x/01/ef/c8/01efc833665d9f08b5a7527d5037e002.jpg",
            "width": 236,
            "height": 348
          },
          "236x": {
            "url": "https://i.pinimg.com/236x/01/ef/c8/01efc833665d9f08b5a7527d5037e002.jpg",
            "width": 236,
            "height": 348
          },
          "474x": {
            "url": "https://i.pinimg.com/474x/01/ef/c8/01efc833665d9f08b5a7527d5037e002.jpg",
            "width": 474,
            "height": 699
          },
          "736x": {
            "url": "https://i.pinimg.com/736x/01/ef/c8/01efc833665d9f08b5a7527d5037e002.jpg",
            "width": 736,
            "height": 1085
          },
          "orig": {
            "url": "https://i.pinimg.com/originals/01/ef/c8/01efc833665d9f08b5a7527d5037e002.jpg",
            "width": 1206,
            "height": 1779
          }
        },
        "dominantColor": "#79583c",
        "reactionCount": 9,
        "createdAt": "2026-10-08T21:35:33Z",
        "board": {
          "name": "Living room",
          "url": "https://www.pinterest.com/avislegros346/living-room/",
          "pinCount": 602,
          "collaborative": false
        },
        "author": {
          "id": "919367848839946069",
          "username": "avislegros346",
          "displayName": "Avis Legros",
          "followers": 73,
          "avatar": "https://i.pinimg.com/30x30_RS/0a/2f/80/0a2f8011271fc0134625e77546bb6f11.jpg",
          "avatarMedium": "https://i.pinimg.com/75x75_RS/0a/2f/80/0a2f8011271fc0134625e77546bb6f11.jpg",
          "avatarLarge": "https://i.pinimg.com/140x140_RS/0a/2f/80/0a2f8011271fc0134625e77546bb6f11.jpg",
          "isVerifiedMerchant": false
        },
        "imageOriginal": "https://i.pinimg.com/originals/01/ef/c8/01efc833665d9f08b5a7527d5037e002.jpg",
        "link": null,
        "richPinType": null
      }
    ],
    "truncatedReason": "search-window",
    "query": "living room decor"
  }
}

Billing metadata is returned in response headers: X-Captapi-Credits (credits charged), X-Captapi-Cache (hit or miss), and X-Captapi-Request-Id (include it when contacting support). Where the response has a source field, it names the path that served the data: native, extended, cache or asr. Failed requests (4xx/5xx) are never charged. See the full list of error codes in the error reference.

Response structure

A successful call returns success and a data object with the following fields:

Top-level fields

  • requestedlimit you asked for.
  • totalReturnedNumber of items returned in this response.
  • listingHitsPins in this search window (may be limit+1 when probing hasMore).
  • hasMoretrue when nextCursor is set. Pass that value as cursor for the next page.
  • nextCursorNumeric offset cursor (e.g. 25). Null means the end of the search window (max 40).
  • truncatedReasonsearch-window when the search window is exhausted or you are at the 40 cap.
  • queryThe search query you sent.

Results

Each item in results contains:

  • platformPlatform identifier for this response (matches the endpoint's platform).
  • idId of this results item.
  • urlPin URL built from the opaque id; it opens the pin on pinterest.com.
  • titleTitle of this results item.
  • descriptionDescription of this results item.
  • seoAltTextSeo alt text.
  • domainDomain. Example: "Uploaded by user".
  • imageImage URL.
  • imagesAttached image URL list for this item.
  • dominantColorDominant color. Example: "#735a3e".
  • reactionCountTotal reactions on the pin, summed across reaction types.
  • createdAtCreation date (ISO 8601).
  • boardObject with name, url, pinCount, collaborative.
  • authorAuthor name or handle.
  • imageOriginalImage original URL.
  • linkOutbound link on the pin (product/article URL). There is no destinationUrl twin.
  • richPinTypeRich pin type.

Timings

Deprecated: timings will be removed from response bodies on 2026-12-17. Read the Server-Timing response header instead (total;dur=<ms>). Until then the timings object contains:

  • totalMsTotal ms. Example: 4426.

Parameters

NameTypeRequiredDescription
qstringYesKeywords or search query (min 2 characters).
limitintegerNoMax items to return (default 25, max 200). Flat 2 credits per call.
cursorstringNoPagination cursor. Leave empty for the first page; then pass the nextCursor value returned in the previous response (numeric offset, e.g. 25). A null nextCursor means the end of the search window (max 40).
cachebooleanNoSet true to serve from the 24h response cache (0 credits on hit). Default false — always fetch fresh.

Authentication: send your key as Authorization: Bearer capt_live_.... A typical call costs 2 credits. Pass cache=true for a free 24h cache hit; default is always fresh.

Using an AI agent? This endpoint is the MCP tool pinterest_search via @captapi/mcp. Set it up →

How it works

  1. 1. Sign up — get 100 free credits, no card required.
  2. 2. Create a key from your dashboard.
  3. 3. Send one request to /v1/pinterest/search and parse the JSON response.

Use cases

Trend Discovery

Find trending content by keyword or hashtag.

Content Sourcing

Build feeds and playlists programmatically.

Monitoring

Track topics, brands, and competitors.

Research

Sample large sets of content for analysis.

Frequently asked questions

What does the Pinterest Search API do?+

The Pinterest Search API lets you search and return matching results from a public Pinterest query using one GET request to /v1/pinterest/search. It returns clean JSON — no OAuth or infrastructure setup required.

How many credits does the Pinterest Search API cost?+

Each successful call costs 2 credits. Pass cache=true to serve from the 24h cache (0 credits on hit); default is always fresh. Selected profile endpoints also accept cacheMaxAge=1d|3d|7d|14d|30d. Failed or empty results are never charged.

Do I need a Pinterest API key or OAuth?+

No. A single Captapi key works across every platform Captapi supports — YouTube, TikTok, Instagram, Facebook, Twitter/X, Reddit, Threads, Bluesky, Pinterest, LinkedIn, Rumble, Spotify, Kwai, and more. We handle access, rate limits, retries, and authentication for you.

Is the Pinterest Search API suitable for production use?+

Yes. It is a stable REST endpoint with predictable JSON and automatic retries. Pass cache=true to serve from the 24h cache (0 credits on hit); default is always fresh. Selected profile endpoints also accept cacheMaxAge=1d|3d|7d|14d|30d. Use it for analytics, monitoring, and content automation.

More Pinterest APIs

Ready to use the Pinterest Search API?

Sign up, grab your key, and make your first call in 60 seconds.

Pinterest Search API — Captapi