Sand AISand AI MAGI-2MAGI-2 agora está na SandBase: vídeo em 1080p com áudio nativoExperimente agora

Pinterest Search

Docs da API
https://api.sandbase.ai/v1/api/pinterest/search

Search Pinterest pins by keyword and get pin IDs, URLs, titles, descriptions and images, with cursor pagination.

Preço
$0.018USD / chamada
Método
POST
Resposta
JSON
Parâmetros
1 obrigatórios · 2 opcionais

Playground

Entrada
Search query for Pinterest pins.
Pagination cursor from a previous response to fetch the next page.
Set to true for a trimmed down version of the response.
SaídaExemplo
Respostaoutputs · 14.6 KB · 337 linhas
{
  "credits_charged": 1,
  "credits_remaining": 11346,
  "cursor": "Y2JVSG81V2sxcmNHRlpWM1J5VFVad1ZsWlVSbXRXTVVreVZrZHpOV0pIUlhoWFZFWlhVbTFvTTFWWGMzZGtNRFZYVm14d2JHRXpRbEpXYlhSWFVtc3hWMVZ1VW1wU1dFSnpWV3hvVTJWV1pISlhhM1JYVm10V05sVldVbE5XVmxwWFUydE9WVlpGUlhoV01GcGhWbFpTY2s5V1pGTk5iRVY0Vm10ak1XUXhWWGxTYTFwT1ZsWmFWVlpyVmt0VlJscHhVVzVLVGxac1NsaFdWM1JQWVVkR05sWnNXbGhYU0VKWVZqSjRZVk5HVm5WU2JGWnBWa1ZhYjFkV1ZsWmxSVFZ6VTJ4V1YySkZTbFJVVlZwM1pWWlplRmRzVG1sTmExcEhWREZXVjJGRk1IbGxSa1pXWVRKU1QxUldXbE5rUlRGV1QxZHNVMkpZWjNkV1ZFbDNaVVpTYzFOcmFHaFRSVXBaVm0weFUxTkdiRmhsU0dSVVVteGFNRmxyVlRWaFIwcFdUVWhvVjAxV2NIWlVhMXBTWlVaT2MxcEhSbE5TTWswMVdtdGFWMU5YU2paVmJYaFRWMGRvUmxkc1ZsZGhNV1J6…",
  "pins": [
    {
      "id": "7712307576909621",
      "node_id": "__EMPTY__",
      "title": {
        "args": [],
        "args_reformatted": [],
        "format": "Explore featured boards",
        "text": "Explore featured boards"
      },
      "url": "https://www.pinterest.com/pin/7712307576909621"
    },
    {
      "auto_alt_text": "a kitchen with white cabinets and wood flooring is shown in this image, there are lights hanging from the ceiling",
      "board": {
        "board_order_modified_at": "Tue, 04 Aug 2026 11:58:03 +0000",
        "collaborating_users": [],
        "collaborator_count": 0,
        "cover_images": {
          "236x": {
            "url": "https://i.pinimg.com/236x/40/26/df/4026df1049b860526228e96273e3b34c.jpg",
            "width": 236
          }
        },
        "id": "435441926410593228",
        "image_cover_hd_url": "https://i.pinimg.com/474x/40/26/df/4026df1049b860526228e96273e3b34c.jpg",
        "image_cover_url": "https://i.pinimg.com/200x150/40/26/df/4026df1049b860526228e96273e3b34c.jpg",
        "images": {
          "236x": [
            {
              "dominant_color": "#C9C5BA",
              "height": 351,
              "url": "https://i.pinimg.com/236x/6c/a2/d2/6ca2d2eb61a1e531097771faff9ee719.jpg",
              "width": 236
            },
            {
              "dominant_color": "#DFD3C7",
              "height": 355,
              "url": "https://i.pinimg.com/236x/d8/40/a1/d840a1477feb8bc6bc95f470f3703e72.jpg",
              "width": 236
            },
            {
              "dominant_color": "#F7F4F1",
              "height": 354,
              "url": "https://i.pinimg.com/236x/a6/fe/77/a6fe778b767a4a48864d29a41a1b377d.jpg",
              "width": 236
            },
            "… 12 more items in the full response"
          ]
        },
        "is_collaborative": false,
        "name": "Ideas for the House",
        "node_id": "Qm9hcmQ6NDM1NDQxOTI2NDEwNTkzMjI4",
        "owner": {
          "follower_count": 38,
          "full_name": "Nichole Donaldson",
          "id": "435441995129835993",
          "image_large_url": "https://s.pinimg.com/images/user/default_140.png",
          "image_medium_url": "https://s.pinimg.com/images/user/default_75.png",
          "image_small_url": "https://s.pinimg.com/images/user/default_30.png",
          "is_ads_only_profile": false,
          "is_verified_merchant": false,
          "node_id": "VXNlcjo0MzU0NDE5OTUxMjk4MzU5OTM=",
          "username": "nmbtooth",
          "verified_identity": {}
        },
        "pin_count": 338,
        "pin_thumbnail_urls": [
          "https://i.pinimg.com/150x150/6c/a2/d2/6ca2d2eb61a1e531097771faff9ee719.jpg",
          "https://i.pinimg.com/150x150/d8/40/a1/d840a1477feb8bc6bc95f470f3703e72.jpg",
          "https://i.pinimg.com/150x150/a6/fe/77/a6fe778b767a4a48864d29a41a1b377d.jpg",
          "… 2 more items in the full response"
        ],
        "section_count": 0,
        "type": "board",
        "url": "/nmbtooth/ideas-for-the-house/"
      },
      "created_at": "Sun, 30 Nov 2025 17:03:38 +0000",
      "description": "Youthful Home Colors, Saturated Paint Tones, Color Blocking Ideas, Modern Vibrant Paint, Eclectic Room Colors, Artistic Paint Guide, Bold Kitchen Colors, Vivid Entryway Paint, Soft Color Palette, Serene Interior Scheme, Pastel Paint Colors, Mint Green, Dusty Rose, Lavender Paint, Tranquil Home Design, Spa Inspired Colors, Calm Paint Palette, Cozy Pastels, Peaceful Living Space, Gentle Color Combinations, Subtle Wall Colors, Soothing Neutrals, Light Color Flow, Pastel Room Ideas, Minimalist Calm Colors, Quiet Interior Style, Pale Paint Tones, Relaxed Home Palette, Neutral Pastels, Peaceful Bedr…",
      "domain": "etsy.com",
      "grid_title": "",
      "id": "435441857742802519",
      "images": {
        "170x": {
          "height": 419,
          "url": "https://i.pinimg.com/236x/ee/a9/36/eea936a0aacafb70bda6a41f6b50fb22.jpg",
          "width": 236
        },
        "236x": {
          "height": 419,
          "url": "https://i.pinimg.com/236x/ee/a9/36/eea936a0aacafb70bda6a41f6b50fb22.jpg",
          "width": 236
        },
        "474x": {
          "height": 836,
          "url": "https://i.pinimg.com/474x/ee/a9/36/eea936a0aacafb70bda6a41f6b50fb22.jpg",
          "width": 470
        },
        "736x": {
          "height": 836,
          "url": "https://i.pinimg.com/736x/ee/a9/36/eea936a0aacafb70bda6a41f6b50fb22.jpg",
          "width": 470
        },
        "orig": {
          "height": 836,
          "url": "https://i.pinimg.com/originals/ee/a9/36/eea936a0aacafb70bda6a41f6b50fb22.jpg",
          "width": 470
        }
      },
      "is_promoted": false,
      "link": "https://www.etsy.com/listing/1744469622/mid-century-modern-home-paint-palette",
      "node_id": "UGluOjQzNTQ0MTg1Nzc0MjgwMjUxOQ==",
      "pinner": {
        "follower_count": 38,
        "full_name": "Nichole Donaldson",
        "id": "435441995129835993",
        "image_large_url": "https://s.pinimg.com/images/user/default_140.png",
        "image_medium_url": "https://s.pinimg.com/images/user/default_75.png",
        "image_small_url": "https://s.pinimg.com/images/user/default_30.png",
        "is_ads_only_profile": false,
        "is_verified_merchant": false,
        "node_id": "VXNlcjo0MzU0NDE5OTUxMjk4MzU5OTM=",
        "username": "nmbtooth",
        "verified_identity": {}
      },
      "seo_alt_text": "a kitchen with white cabinets and wood flooring is shown in this image, there are lights hanging from the ceiling",
      "title": "",
      "url": "https://www.pinterest.com/pin/435441857742802519"
    },
    {
      "auto_alt_text": "a kitchen with white cabinets and marble counter tops next to an island in front of a window",
      "board": {
        "board_order_modified_at": "Wed, 29 Jul 2026 04:31:34 +0000",
        "collaborating_users": [],
        "collaborator_count": 0,
        "cover_images": {
          "236x": {
            "url": "https://i.pinimg.com/236x/c8/f2/b4/c8f2b442bda7ceb60ae0840ac9b66f33.jpg",
            "width": 236
          }
        },
        "id": "1085719491358486627",
        "image_cover_hd_url": "https://i.pinimg.com/474x/c8/f2/b4/c8f2b442bda7ceb60ae0840ac9b66f33.jpg",
        "image_cover_url": "https://i.pinimg.com/200x150/c8/f2/b4/c8f2b442bda7ceb60ae0840ac9b66f33.jpg",
        "images": {
          "236x": [
            {
              "dominant_color": "#AB9174",
              "height": 354,
              "url": "https://i.pinimg.com/236x/2a/27/14/2a2714bc052a2e3f562b36bcaffd62c8.jpg",
              "width": 236
            },
            {
              "dominant_color": "#7A5C3C",
              "height": 354,
              "url": "https://i.pinimg.com/236x/77/83/ab/7783ab529fe20c4990b27426b12a83ed.jpg",
              "width": 236
            },
            {
              "dominant_color": "#5B3716",
              "height": 354,
              "url": "https://i.pinimg.com/236x/94/55/a8/9455a8998071aeb28740cbf9305ddcab.jpg",
              "width": 236
            },
            "… 12 more items in the full response"
          ]
        },
        "is_collaborative": false,
        "name": "Luxury Kitchen Design 2026 | Marble Island & Warm",
        "node_id": "Qm9hcmQ6MTA4NTcxOTQ5MTM1ODQ4NjYyNw==",
        "owner": {
          "follower_count": 13,
          "full_name": "Decor Vibe",
          "id": "1085719560076101399",
          "image_large_url": "https://i.pinimg.com/140x140_RS/6c/59/b8/6c59b834029fc8ab590d66dd69d5651c.jpg",
          "image_medium_url": "https://i.pinimg.com/75x75_RS/6c/59/b8/6c59b834029fc8ab590d66dd69d5651c.jpg",
          "image_small_url": "https://i.pinimg.com/30x30_RS/6c/59/b8/6c59b834029fc8ab590d66dd69d5651c.jpg",
          "is_ads_only_profile": false,
          "is_verified_merchant": false,
          "node_id": "VXNlcjoxMDg1NzE5NTYwMDc2MTAxMzk5",
          "username": "DecorVibes_57",
          "verified_identity": {}
        },
        "pin_count": 26,
        "pin_thumbnail_urls": [
          "https://i.pinimg.com/150x150/43/ba/35/43ba359a52a7812fff1f572281363c84.jpg",
          "https://i.pinimg.com/150x150/2e/41/d7/2e41d742c1ad7ef18d6d121c3596ba9c.jpg",
          "https://i.pinimg.com/150x150/0d/88/89/0d88895e076ef3356a30e38b3e2fb9b3.jpg",
          "… 2 more items in the full response"
        ],
        "section_count": 0,
        "type": "board",
        "url": "/DecorVibes_57/luxury-kitchen-design-2026-marble-island-warm/"
      },
      "created_at": "Thu, 16 Jul 2026 07:34:24 +0000",
      "description": "#Contemporar a timeless home with this minimalist white and oak kitchen featuring a luxurious marble waterfall island, warm LED lighting, modern pendant lights, handleless cabinets, and elegant gold accents. This Scandinavian-inspired kitchen blends clean lines, soft neutral tones, and functional storage to achieve the perfect quiet luxury aesthetic. Save this pin for modern kitchen inspiration, new home ideas, apartment decor, and contemporary interior design trends. #KitchenDesign #ModernKitchen #MinimalistKitchen #WhiteKitchen #LuxuryKitchen #KitchenInspiration #KitchenDecor #KitchenIdeas #…",
      "domain": "Uploaded by user",
      "grid_title": "Minimalist White & Wood Kitchen Design Ideas 2026 | Luxury Modern Kitchen with Marble Island & Warm",
      "id": "1085719422753799926",
      "images": {
        "170x": {
          "height": 354,
          "url": "https://i.pinimg.com/236x/2a/27/14/2a2714bc052a2e3f562b36bcaffd62c8.jpg",
          "width": 236
        },
        "236x": {
          "height": 354,
          "url": "https://i.pinimg.com/236x/2a/27/14/2a2714bc052a2e3f562b36bcaffd62c8.jpg",
          "width": 236
        },
        "474x": {
          "height": 711,
          "url": "https://i.pinimg.com/474x/2a/27/14/2a2714bc052a2e3f562b36bcaffd62c8.jpg",
          "width": 474
        },
        "736x": {
          "height": 1104,
          "url": "https://i.pinimg.com/736x/2a/27/14/2a2714bc052a2e3f562b36bcaffd62c8.jpg",
          "width": 736
        },
        "orig": {
          "height": 1536,
          "url": "https://i.pinimg.com/originals/2a/27/14/2a2714bc052a2e3f562b36bcaffd62c8.png",
          "width": 1024
        }
      },
      "is_promoted": false,
      "node_id": "UGluOjEwODU3MTk0MjI3NTM3OTk5MjY=",
      "pinner": {
        "follower_count": 13,
        "full_name": "Decor Vibe",
        "id": "1085719560076101399",
        "image_large_url": "https://i.pinimg.com/140x140_RS/6c/59/b8/6c59b834029fc8ab590d66dd69d5651c.jpg",
        "image_medium_url": "https://i.pinimg.com/75x75_RS/6c/59/b8/6c59b834029fc8ab590d66dd69d5651c.jpg",
        "image_small_url": "https://i.pinimg.com/30x30_RS/6c/59/b8/6c59b834029fc8ab590d66dd69d5651c.jpg",
        "is_ads_only_profile": false,
        "is_verified_merchant": false,
        "node_id": "VXNlcjoxMDg1NzE5NTYwMDc2MTAxMzk5",
        "username": "DecorVibes_57",
        "verified_identity": {}
      },
      "seo_alt_text": "a kitchen with white cabinets and marble counter tops next to an island in front of a window",
      "story_pin_data": {
        "has_affiliate_products": false,
        "has_product_pins": false,
        "id": "3682775557497058432",
        "metadata": {
          "canvas_aspect_ratio": 0.6666667,
          "compatible_version": "0.16.0",
          "is_compatible": false,
          "is_editable": false,
          "is_promotable": true,
          "pin_image_signature": "2a2714bc052a2e3f562b36bcaffd62c8",
          "pin_title": "Minimalist White & Wood Kitchen Design Ideas 2026 | Luxury Modern Kitchen with Marble Island & Warm",
          "root_pin_id": "1085719422753799926",
          "root_user_id": "1085719560076101399",
          "version": "0.16.0"
        },
        "node_id": "U3RvcnlQaW5EYXRhOjM2ODI3NzU1NTc0OTcwNTg0MzI=",
        "page_count": 1,
        "pages": [
          {
            "blocks": [
              {
                "block_style": {
                  "corner_radius": 0,
                  "height": 100,
                  "rotation": 0,
                  "width": 100,
                  "x_coord": 0,
                  "y_coord": 0
                },
                "block_type": 2,
                "image_signature": "2a2714bc052a2e3f562b36bcaffd62c8",
                "text": "",
                "tracking_id": "3677430908951946496",
                "type": "story_pin_image_block"
              }
            ],
            "id": "1472918326",
            "image_signature": "2a2714bc052a2e3f562b36bcaffd62c8",
            "image_signature_adjusted": "2a2714bc052a2e3f562b36bcaffd62c8",
            "layout": 0,
            "music_attributions": [],
            "should_mute": false,
            "style": {
              "background_color": "#CDC3B9"
            },
            "type": "storypinpage"
          }
        ],
        "pages_preview": [
          {
            "blocks": [
              {
                "block_style": {

Exemplos

Selecione um exemplo para carregar as entradas e o resultado no playground.

README da API

Pinterest Search API

Search Pinterest for a query and get matching pins. Set trim for a compact response.

Use cases

  • Research visual trends for a product category.
  • Find inspiration and competitor creatives.
  • Collect pins for mood boards.

Request

curl -X POST "https://api.sandbase.ai/v1/api/pinterest/search" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"query": "home office ideas", "trim": true}'

Parameters

NameTypeRequiredDescription
querystringYesSearch query for Pinterest pins.
trimbooleanNoSet to true for a trimmed down version of the response.
cursorstringNoPagination cursor from a previous response to fetch the next page.

Example response

Real response for the request above, trimmed to the main fields. User names and long IDs are masked.

{
  "cursor": "<next cursor>",
  "pins": [
    {
      "id": "4887421732865150",
      "url": "https://www.pinterest.com/pin/4887421732865150",
      "images": {
        "url": "https://i.pinimg.com/…"
      }
    }
  ]
}

Notes

  • Paginate with the cursor from the previous response.

Pricing

Flat price per call. Failed calls are not charged.

Search one page of Pinterest pins

Use a nonempty query describing the visual topic, such as home office ideas. Search is independent of Board Pins: a keyword is not a board URL. The current schema has optional cursor and trim fields without declared defaults. Omit cursor for this first request; trim true is an explicit choice for a compact response, not an assumed server default. There is no declared count or limit parameter to invent.

Review the returned pins for relevance. Search results are a dated sample, not search-volume data, proof of a trend or a market-wide ranking. Do not automatically open every pin, download its images or choose a board from a result. Missing titles and counts remain unknown.

Already chose a public board? Use Board Pins in a separate request. The reference describes cursor for later pages, but this guide stops at the first page and does not replay a sample token or promise exhaustive coverage.

Give your agent a bounded visual-research task

Already have a SandBase key? Keep SANDBASE_API_KEY in your local environment and use the API tab for Bearer authentication and POST /v1/api/. Already connected your agent? Give it the exact endpoint and one keyword or board URL. Starting a project? Share the setup Skill, Markdown quickstart and your question. Ask for one request and a saved response before expanding the task.

Read outputs[0].data only from a completed SandBase response and require its pins field to be an array. If a success flag is present, require true; the search sample omits it, so do not require an absent flag. The reference payload is a pins/cursor object, not another platform's code/data wrapper. A missing array or an upstream error is not an empty result; a present empty array is a valid distinct outcome. Image shapes and descriptive fields vary across trimmed references. Inspect what is present rather than inventing a title, image size or engagement count.

Pricing checked on 2026-11-08: both endpoints list $0.018 per call; this inspection did not list free-quota eligibility. Check current pricing before execution. Search, board, pin-detail and later-page requests are separate calls. This update made no business query and does not verify continuation. See the Pinterest Python first-request tutorial for bounded examples and separately dated historical evidence.

Explorar mais

APIs relacionadas

Todas as APIs
APIPreçoResposta
Pinterest$0.018 por chamadaJSON
Pinterest$0.018 por chamadaJSON
Pinterest$0.018 por chamadaJSON
Pinterest$0.018 por chamadaJSON

Perguntas

FAQ

Como eu uso a API Pinterest Search?

Envie uma solicitação POST para https://api.sandbase.ai/v1/api/pinterest/search com sua chave de API da SandBase no cabeçalho Authorization (Bearer) e os parâmetros no corpo JSON. Você também pode testar no Playground desta página sem escrever código.

Quanto custa a API Pinterest Search?

$0.018 por chamada, cobrado do seu saldo SandBase. Você paga apenas pelas chamadas que fizer; não há assinatura.

Quais parâmetros a API Pinterest Search aceita?

Obrigatórios: query (string). Opcionais: cursor (string) e trim (boolean). A tabela de Parâmetros e o Playground nesta página listam todos os campos.

O que a API Pinterest Search retorna?

Uma resposta JSON retornada na mesma solicitação HTTP (síncrona). O README desta página inclui um exemplo de resposta.

Preciso de uma conta de desenvolvedor Pinterest ou de uma chave de API?

Não. Pinterest Search funciona via SandBase, então uma única chave de API da SandBase cobre este endpoint e todas as outras APIs e modelos do catálogo. Você não precisa solicitar acesso à API do Pinterest separadamente.

Quais entradas preciso para minha primeira busca no Pinterest?

Envie uma query não vazia. Omita cursor na primeira solicitação; trim é opcional e não tem valor padrão declarado. Escolha trim true explicitamente para uma resposta compacta. O schema selecionado não declara count nem limit.

Devo buscar automaticamente os detalhes de todos os resultados da busca?

Não. Revise o primeiro array de pins e escolha qualquer próxima etapa deliberadamente. Os detalhes do pin, as solicitações do board e páginas adicionais são chamadas separadas. Os resultados da busca, por si só, não comprovam volume de busca, popularidade nem vendas.

Como distingui nenhum resultado de uma resposta com falha?

Exija uma resposta concluída do SandBase, um objeto em outputs[0].data e um array pins. Rejeite um flag de sucesso explicitamente diferente de true quando estiver presente. Um array vazio presente é diferente de um array ausente ou de um erro. Não substitua respostas inválidas por uma lista vazia.