# Pinterest Search API (pinterest.search)

- Canonical page: https://everyinfra.com/en/pinterest-api/search
- Endpoint: POST https://api.everyinfra.com/api/v1/social with {"platform": "pinterest", "action": "search", "params": {...}}
- Price: $0.001389 per call ($1.39 per 1,000 requests); failed calls and empty results are not charged
- Returns: list, default 20, max 50 per call
- Mode: sync; add "mode": "async" for slow tasks

## Health

- Live health (24h percent, hourly and daily trends): https://api.everyinfra.com/api/v1/social/availability?platform=pinterest&action=search

## Parameters

| name | type | required | default | description |
|---|---|---|---|---|
| keyword | not declared | yes | not declared | Specifies search terms or inspiration topics for the search action. Returned result entity structures depend on the selected content_type. |
| content_type | enum: all_pins_visual_posts / videos_video_pins | no | not declared | Filters search results by pin type: all_pins_visual_posts for all pins (not only image pins) or videos_video_pins for video pins only. Search returns pins only, not boards or creators. |
| limit | integer (1–50) | no | 20 | The most rows to return in this call, an integer from 1 to 50. The default applies when you leave it out, and a call can return fewer rows. Larger values return 422 before any charge. |

## Response fields (items in `results`)

| field | meaning |
|---|---|
| id | The record's unique ID on the platform. Unique only within one platform; IDs can repeat across platforms. |
| url | Link to the record on the platform. |
| title | Title. null when the platform has no titles (for example text-only posts). |
| text | Body text with HTML removed, returned in full and never cut short (on a few platforms the list results themselves carry only an excerpt; the platform's field notes say so). |
| image_url | Image link. Capabilities with several images may return an image_urls array. |
| reaction_count | platform-native meaning |
| source_domain | platform-native meaning |
| dominant_color | platform-native meaning |
| posted_at | Publish time in ISO 8601, UTC (for example 2026-08-07T12:34:56+00:00). Non-standard strings from the platform are passed through as is, so parse defensively. null means the platform does not disclose it. |
| author_username | Author's username (@handle), usually usable in URLs. |
| author_name | Author's display name. |
| author_follower_count | Author's follower count. null means not disclosed. |
| board_name | platform-native meaning |
| platform | Source platform identifier, the same as platform in the request (for example xiaohongshu, tiktok). |

## Example

```bash
curl -X POST 'https://api.everyinfra.com/api/v1/social' \
  -H "Authorization: Bearer $EVERYINFRA_API_KEY" \
  -H 'Content-Type: application/json' \
  --data-raw '{
  "platform": "pinterest",
  "action": "search",
  "params": {
    "keyword": "small balcony garden"
  }
}'
```

```python
import os
import requests

response = requests.post(
    "https://api.everyinfra.com/api/v1/social",
    headers={"Authorization": f"Bearer {os.environ['EVERYINFRA_API_KEY']}"},
    json={
        "platform": "pinterest",
        "action": "search",
        "params": {
            "keyword": "small balcony garden",
        },
    },
    timeout=120,
)
print(response.status_code)
print(response.json())
```

## Response example

Real response to the example request above, captured 2026-09-26T08:56:04Z. `results` and `count` are real with personal information (names, handles, avatars, profile links, contact details) removed; the list keeps the first 2 of 19. `id`, `billing` and `quota` differ on every call, so only their shape is shown.

```text
{
  "id": "req_…",
  "platform": "pinterest",
  "action": "search",
  "results": [
    {
      "id": "AZCEn6gJW6WmfANVWBfKNzZyMdukkN8LXQC2wCDzyJ-TSwvrKAEpdicrWCGZa13vjXB9mX_5ZMCOaoHOKbHGAys",
      "url": "https://www.pinterest.com/pin/AZCEn6gJW6WmfANVWBfKNzZyMdukkN8LXQC2wCDzyJ-TSwvrKAEpdicrWCGZa13vjXB9mX_5ZMCOaoHOKbHGAys/",
      "title": "Albergo Villa Cristina",
      "text": "Bei einem Aufenthalt im Albergo Villa Cristina kannst du dich auf eine Terrasse, einen Garten und einen Friseursalon freuen. Allen Gästen steht kostenloses WLAN in den Zimmern zur Verfügung. Ebenso wird dein Aufenthalt durch einen Textilreinigungsservice und eine Bar bereichert.",
      "image_url": "https://i.pinimg.com/736x/98/dd/48/98dd48792fdd03f4dc7c78daa6298a2f.jpg",
      "source_domain": "expedia.de",
      "dominant_color": "#494b3d",
      "posted_at": "2026-08-26T11:34:34+00:00",
      "author_username": "•••",
      "author_name": "•••",
      "author_follower_count": 67097,
      "board_name": "Hotels",
      "platform": "pinterest"
    },
    {
      "id": "AXNGx7QQOfcPd0u8HtCj1KEsTf7bOCdITrT644VKab5YezQbjPSmyCi4PqorYMUIIBKxCExIUMDP-az0fUCpCHk",
      "url": "https://www.pinterest.com/pin/AXNGx7QQOfcPd0u8HtCj1KEsTf7bOCdITrT644VKab5YezQbjPSmyCi4PqorYMUIIBKxCExIUMDP-az0fUCpCHk/",
      "title": "2 BTK TERRACE RETREAT BY Lavanya",
      "text": "2 BTK TERRACE RETREAT BY Lavanya  bietet Annehmlichkeiten wie eine Terrasse und eine Wäscherei. Kostenloses WLAN in den öffentlichen Bereichen sorgt dafür, dass du auch vor Ort stets in Verbindung bleiben kannst.",
      "image_url": "https://i.pinimg.com/736x/22/b0/51/22b051539eef2a5908c005ac6b3a178d.jpg",
      "source_domain": "expedia.de",
      "dominant_color": "#ccb08d",
      "posted_at": "2026-07-13T07:16:34+00:00",
      "author_username": "•••",
      "author_name": "•••",
      "author_follower_count": 67097,
      "board_name": "Hotels",
      "platform": "pinterest"
    }
  ],
  "count": 19,
  "billing": {
    "charged": …,
    "charged_usd": …,
    "balance_after_usd": …,
    …
  },
  "quota": { … }
}
```

## Also

- Capability catalog (no key): https://api.everyinfra.com/api/v1/social/catalog?platform=pinterest
- OpenAPI: https://everyinfra.com/openapi.json · Agents guide: https://everyinfra.com/agents.md
