# Pinterest Board search API (pinterest.board_search)

- Canonical page: [https://everyinfra.com/en/pinterest-api/board_search](https://everyinfra.com/en/pinterest-api/board_search?utm_medium=ai_doc&utm_campaign=page_md)
- Endpoint: POST https://api.everyinfra.com/api/v1/social with {"platform": "pinterest", "action": "board_search", "params": {...}}
- Price: $0.024 per call ($24 per 1,000 requests); failed calls and empty results are not charged
- Returns: list, one page of up to 50 per call; the number of rows varies from page to page and a short page is not the end (limit is ignored; pass the top-level next_page_token from the response as page_token for the next page; no next_page_token means the end)
- Pagination: pass next_page_token back as page_token for the next page, other params unchanged; one call per page, tokens last 24 hours
- 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=board_search

## Parameters

| name | type | required | default | description |
|---|---|---|---|---|
| keyword | not declared | yes | not declared | Words to search Pinterest boards for, up to 100 characters. |
| page_token | not declared | no | not declared | Page token. Leave it out for the first page, then pass back the previous response's `next_page_token` unchanged, with the other parameters the same as on the first page. Each page counts as one call. |

## 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 | Number of Pins. |
| section_count | Number of sections in the board. |
| cover_image_url | Cover image. |
| is_collaborative | Whether the board is collaborative (several people can contribute). |
| owner_username | Username of the owner. |
| owner_name | Display name of the owner. |
| platform | Source platform identifier, the same as platform in the request (for example xiaohongshu, tiktok). |
| rank | Position in this response, from 1 (search, user_posts, boards, board_pins). |
| owner_id | ID of the board owner. |
| owner_avatar_url | Avatar of the board owner. |
| owner_url | Link to the board owner's profile. |
| collaborator_count | Number of collaborators on the board. |
| collected_at | Time this record was collected (ISO 8601, UTC). |

## 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": "board_search",
  "params": {
    "keyword": "home decor"
  }
}'
```

```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": "board_search",
        "params": {
            "keyword": "home decor",
        },
    },
    timeout=120,
)
print(response.status_code)
print(response.json())
```

## Response example

No real sample for these example parameters yet: structure only, every value is a placeholder (…).

```text
{
  "id": "req_…",
  "platform": "pinterest",
  "action": "board_search",
  "results": [
    {
      "id": …,
      "name": …,
      "url": …,
      "description": …,
      "pin_count": …,
      "section_count": …,
      "cover_image_url": …,
      "is_collaborative": …,
      "owner_username": …,
      "owner_name": …,
      "platform": …,
      "rank": …,
      "owner_id": …,
      "owner_avatar_url": …,
      "owner_url": …,
      "collaborator_count": …,
      "collected_at": …
    }
  ],
  "next_page_token": …,
  "pagination": { … },
  "count": …,
  "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
