# Pinterest Topic info API (pinterest.topic_info)

- Canonical page: [https://everyinfra.com/en/pinterest-api/topic_info](https://everyinfra.com/en/pinterest-api/topic_info?utm_medium=ai_doc&utm_campaign=page_md)
- Endpoint: POST https://api.everyinfra.com/api/v1/social with {"platform": "pinterest", "action": "topic_info", "params": {...}}
- Price: $0.000792 per call ($0.79 per 1,000 requests); failed calls and empty results are not charged
- Returns: single object
- 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=topic_info

## Parameters

| name | type | required | default | description |
|---|---|---|---|---|
| topic_id | not declared | yes | not declared | A numeric topic ID, or a topic page link https://www.pinterest.com/ideas/<name>/<ID>/. IDs come from `topic_categories`, the `topic_ids` of `trend_reports`, and the related topic lists in `topic_info`. |

## 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. |
| follower_count | Followers. null means not disclosed, not 0. |
| search_count | Search volume on Pinterest as the platform reports it. Pinterest does not publish how it is measured, so use it only to compare topics. |
| is_keyword_page | Whether this is a keyword page (a topic page Pinterest builds from a search term). |
| related_topics | Related topics, each with `id`, `name` and `url`; an `id` works with `topic_info`. |
| subtopics | Narrower topics, each with `id`, `name` and `url`. |
| trending_topics | Trending keyword pages under this topic, each with `id`, `name` and `url`. |
| trending_searches | Trending searches for this topic. |
| related_boards | Related boards, each with `id`, `name`, `url`, `pin_count` and `cover_url`. |
| breadcrumbs | The topic's parent path, each step with `id`, `name` and `url`. |
| updated_at | When the topic page was last updated. |
| collected_at | Time this record was collected (ISO 8601, UTC). |
| 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": "topic_info",
  "params": {
    "topic_id": "918530398158"
  }
}'
```

```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": "topic_info",
        "params": {
            "topic_id": "918530398158",
        },
    },
    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": "topic_info",
  "results": {
    "id": …,
    "name": …,
    "url": …,
    "description": …,
    "follower_count": …,
    "search_count": …,
    "is_keyword_page": …,
    "related_topics": …,
    "subtopics": …,
    "trending_topics": …,
    "trending_searches": …,
    "related_boards": …,
    "breadcrumbs": …,
    "updated_at": …,
    "collected_at": …,
    "platform": …
  },
  "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
