# Pinterest Boards API (pinterest.boards)

- Canonical page: https://everyinfra.com/en/pinterest-api/boards
- Endpoint: POST https://api.everyinfra.com/api/v1/social with {"platform": "pinterest", "action": "boards", "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=boards

## Parameters

| name | type | required | default | description |
|---|---|---|---|---|
| username | not declared | yes | not declared | Specifies the Pinterest user handle for the profile, user_posts, and boards actions, with or without a leading @. Full profile web URLs are not accepted. |
| 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. |
| name | Name of the object itself, for account, product and business capabilities. |
| url | Link to the record on the platform. |
| description | Summary or description, usually shorter than text. |
| pin_count | platform-native meaning |
| section_count | platform-native meaning |
| follower_count | Followers. null means not disclosed, not 0. |
| cover_image_url | platform-native meaning |
| is_collaborative | platform-native meaning |
| privacy | platform-native meaning |
| owner_username | platform-native meaning |
| owner_name | platform-native meaning |
| created_at | Creation time, same format as posted_at. |
| 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": "boards",
  "params": {
    "username": "pinterest"
  }
}'
```

```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": "boards",
        "params": {
            "username": "pinterest",
        },
    },
    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 20. `id`, `billing` and `quota` differ on every call, so only their shape is shown.

```text
{
  "id": "req_…",
  "platform": "pinterest",
  "action": "boards",
  "results": [
    {
      "id": "•••",
      "name": "Gifts that embrace the art of play",
      "url": "https://www.pinterest.com/pinterest/gifts-that-embrace-the-art-of-play/",
      "description": "From the early months to beyond, embrace quality time, discovery and learning with these whimsical gift ideas.",
      "pin_count": 34,
      "section_count": 0,
      "follower_count": 4229833,
      "cover_image_url": "https://i.pinimg.com/474x/b8/41/cf/b841cfd55a52b992ded9a30a331e2322.jpg",
      "is_collaborative": false,
      "privacy": "public",
      "owner_username": "pinterest",
      "owner_name": "Pinterest",
      "created_at": "2026-09-26T09:19:41+00:00",
      "platform": "pinterest"
    },
    {
      "id": "•••",
      "name": "Festive decor ideas for your first home",
      "url": "https://www.pinterest.com/pinterest/festive-decor-ideas-for-your-first-home/",
      "description": "Celebrate new traditions and gather inspiration with these fresh ideas.",
      "pin_count": 62,
      "section_count": 0,
      "follower_count": 4229833,
      "cover_image_url": "https://i.pinimg.com/474x/ed/be/13/edbe13b7965ae2688da4352df1d7aa48.jpg",
      "is_collaborative": false,
      "privacy": "public",
      "owner_username": "pinterest",
      "owner_name": "Pinterest",
      "created_at": "2026-09-25T23:04:03+00:00",
      "platform": "pinterest"
    }
  ],
  "count": 20,
  "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
