# Douyin Hashtag detail API (douyin.hashtag_detail)

- Canonical page: [https://everyinfra.com/en/douyin-api/hashtag_detail](https://everyinfra.com/en/douyin-api/hashtag_detail?utm_medium=ai_doc&utm_campaign=page_md)
- Endpoint: POST https://api.everyinfra.com/api/v1/social with {"platform": "douyin", "action": "hashtag_detail", "params": {...}}
- Price: $0.01556 per call ($15.56 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=douyin&action=hashtag_detail

## Parameters

| name | type | required | default | description |
|---|---|---|---|---|
| hashtag_id | not declared | yes | not declared | The numeric ID of a Douyin hashtag for `hashtag_detail`, such as `1767586897793101`, taken from the `hashtag_id` of a `hashtag_search` row. A hashtag name or `#name` is rejected before any charge. |

## Response fields (items in `results`)

| field | meaning |
|---|---|
| hashtag_id | Hashtag ID (a digit string); pass it as `hashtag_id` to hashtag_detail. |
| hashtag_name | Hashtag name, without the #. |
| total_view_count | All-time views of the hashtag since it was created (hashtag_detail), as counted by the platform. |
| participant_count | Users who have joined the hashtag, all-time (hashtag_detail). |
| created_at | Creation time, same format as posted_at. |
| url | Link to the record on the platform. |
| 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": "douyin",
  "action": "hashtag_detail",
  "params": {
    "hashtag_id": "1767586897793101"
  }
}'
```

```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": "douyin",
        "action": "hashtag_detail",
        "params": {
            "hashtag_id": "1767586897793101",
        },
    },
    timeout=120,
)
print(response.status_code)
print(response.json())
```

## Response example

Real response to the example request above, captured 2026-11-07T14:47:42Z. `results` and `count` are real with personal information (names, handles, avatars, profile links, contact details) removed. `id`, `billing` and `quota` differ on every call, so only their shape is shown.

```text
{
  "id": "req_…",
  "platform": "douyin",
  "action": "hashtag_detail",
  "results": {
    "hashtag_id": "1767586897793101",
    "hashtag_name": "美食",
    "total_view_count": 895250240978,
    "participant_count": 66198080,
    "created_at": "2023-06-02T10:37:18+00:00",
    "url": "https://www.iesdouyin.com/share/challenge/1767586897793101/?u_code=0&from_ssr=1",
    "platform": "douyin"
  },
  "billing": {
    "charged": …,
    "charged_usd": …,
    "balance_after_usd": …,
    …
  },
  "quota": { … }
}
```

## Also

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