Sand AISand AI MAGI-2MAGI-2 ya está en SandBase: video en 1080p con audio nativoPruébalo ahora

Pinterest Search

Documentación de la 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.

Precio
$0.018USD / llamada
Método
POST
Respuesta
JSON
Parámetros
1 obligatorios · 2 opcionales

Entorno de pruebas

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.
SalidaEjemplo
Respuestaoutputs · 14.6 KB · 337 líneas
{
  "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": {

Ejemplos

Seleccione un ejemplo para cargar sus entradas y el resultado en el playground.

README de la 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 más

APIs relacionadas

Todas las APIs
APIPrecioRespuesta
Pinterest$0.018 por llamadaJSON
Pinterest$0.018 por llamadaJSON
Pinterest$0.018 por llamadaJSON
Pinterest$0.018 por llamadaJSON

Preguntas

FAQ

¿Cómo uso la API de Pinterest Search?

Envía una solicitud POST a https://api.sandbase.ai/v1/api/pinterest/search con tu clave API de SandBase en el encabezado Authorization (Bearer) y los parámetros como un cuerpo JSON. También puedes probarlo en el Playground de esta página sin escribir código.

¿Cuánto cuesta la API de Pinterest Search?

$0.018 por llamada, facturado desde tu saldo de SandBase. Solo se te cobra por las llamadas que haces; no hay suscripción.

¿Qué parámetros acepta la API de Pinterest Search?

Requeridos: query (string). Opcionales: cursor (string) y trim (boolean). La tabla de Parámetros y el Playground de esta página enumeran todos los campos.

¿Qué devuelve la API de Pinterest Search?

Una respuesta JSON devuelta en la misma solicitud HTTP (sincrónica). El README de esta página incluye una respuesta de ejemplo.

¿Necesito una cuenta de desarrollador o una clave API de Pinterest?

No. Pinterest Search funciona a través de SandBase, así que una sola clave API de SandBase cubre este endpoint y todas las demás APIs y modelos del catálogo. No necesitas solicitar acceso a la API de Pinterest por separado.

¿Qué entradas necesito para mi primera búsqueda en Pinterest?

Envía una query no vacía. Omite cursor en la primera solicitud; trim es opcional y no tiene valor predeterminado declarado. Elige trim true explícitamente para una respuesta compacta. El esquema seleccionado no declara count ni limit.

¿Debo obtener automáticamente los detalles de cada resultado de búsqueda?

No. Revisa el primer array de pins y elige cualquier seguimiento de forma deliberada. Los detalles de pin, las solicitudes de board y las páginas adicionales son llamadas separadas. Los resultados de búsqueda por sí solos no prueban volumen de búsqueda, popularidad ni ventas.

¿Cómo distingo entre no hay resultados y una respuesta fallida?

Exige una respuesta completada de SandBase, un objeto en outputs[0].data y un array pins. Rechaza un flag explícito de éxito distinto de true cuando esté presente. Un array vacío presente es distinto de un array ausente o de un error. No sustituyas respuestas inválidas por una lista vacía.