# Odysee 标签内容 API (odysee.tag)

- Canonical page: [https://everyinfra.com/odysee-api/tag](https://everyinfra.com/odysee-api/tag?utm_medium=ai_doc&utm_campaign=page_md)
- Endpoint: POST https://api.everyinfra.com/api/v1/social with {"platform": "odysee", "action": "tag", "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 200 per call
- Mode: sync; add "mode": "async" for slow tasks

Odysee 标签内容接口按标签 `tag` 列出带这个标签的内容，每行带标题 `title`、简介 `description`、所属频道 `channel_name` 和 `channel_url`、缩略图 `thumbnail_url`、时长 `duration_seconds`、浏览数、点赞数和发布时间。它回答「这个话题标签下有哪些内容、是谁发的」，适合发现一个话题下的频道、监测标签下的新内容，或者给选题找参考。

`tag` 可以带或不带开头的 #，只匹配标签，不是任意关键词的全文搜索。`sort` 取 `newest` 按发布时间，取 `popular` 按内容获得的支持金额相关指标排。

## Health

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

## Parameters

| name | type | required | default | description |
|---|---|---|---|---|
| tag | not declared | yes | not declared | Odysee 内容标签，可带或不带开头的 #；按标签列出内容，不是任意全文关键词。 |
| sort | enum: newest / popular | no | not declared | 标签内容排序：newest 按发布时间，popular 按内容支持金额相关指标；popular 不等于播放量或点赞量最高。 |
| limit | integer (1–200) | no | 20 | 这次调用最多返回的条数，整数，1–200；不传按默认值，实际返回可能少于这个数。超过上限会在扣费前返回 422。 |

## Response fields (items in `results`)

| field | meaning |
|---|---|
| id | 该记录在原平台上的唯一标识。仅在同一平台内唯一，跨平台可能重复。 |
| title | 标题。平台无标题概念时（如纯文本帖）为 null。 |
| description | 简介或描述，通常比 text 短。 |
| channel_name | 频道名。 |
| channel_id | 频道 ID。 |
| channel_url | 频道链接。 |
| url | 该记录在原平台上的可访问链接。 |
| thumbnail_url | 缩略图链接，分辨率低于 image_url。 |
| duration_seconds | 时长，单位秒。非视频/音频内容为 null。 |
| duration_sec | platform-native meaning |
| view_count | 浏览/播放数。null 表示不公开，不等于 0。 |
| like_count | 点赞数。null 表示该平台或该接口不公开此数据，不等于 0。 |
| published_at | 发布时间。 |
| media_type | 媒体类型。 |
| languages | 内容语言。 |
| tags | 标签数组。无标签时为空数组，不是 null。 |
| platform | 数据来源平台标识，与请求里的 platform 一致（如 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": "odysee",
  "action": "tag",
  "params": {
    "tag": "science"
  }
}'
```

```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": "odysee",
        "action": "tag",
        "params": {
            "tag": "science",
        },
    },
    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": "odysee",
  "action": "tag",
  "results": [
    {
      "id": "13a396a405a6710ccc17aa53bb8e8d8d10747cb1",
      "title": "特競 里維艾克曼 L4 阿奶海 越 26.75 L",
      "channel_name": "@•••",
      "channel_url": "https://odysee.com/@•••",
      "url": "https://odysee.com/@•••/特競-里維艾克曼-L4-阿奶海-越-26.75-L",
      "thumbnail_url": "https://thumbs.odycdn.com/91c9b091210424150f7df74372e4dc93.webp",
      "published_at": "2038-01-19T03:14:07+00:00",
      "media_type": "video/mp4",
      "languages": [
        "zh-Hant"
      ],
      "tags": [
        "science"
      ],
      "platform": "odysee"
    },
    {
      "id": "2703a2a861632e5aaadbbd59f568214bd50addb9",
      "title": "Synthetisches Tagebuch #2 Erstes Gespräch mit unserer Freundin",
      "description": "Wir schreiben erstmal über Text-Chat mit Nicht Sicher im synthetischen Tagebuch.\n\nAffiliate-Links:\n1000 Dreamcoins:\n.ai/refer/CDRLGR\n\nMusik: „Fesseln der Freiheit“ von Richard Pier\n\nOur Dream AI\nVersion: \nPLAYLIST: \nHerstellerangaben:\nOffizielle Seite: \nEntwickler: MWM \nRelease: …",
      "channel_name": "@•••",
      "channel_url": "https://odysee.com/@•••",
      "url": "https://odysee.com/@•••/Synthetisches-Tagebuch--2-Erstes-Gespräch-mit-unserer-Freundin",
      "thumbnail_url": "https://thumbs.odycdn.com/07b7ab8aa554f47f1c6ba21e071599b7.webp",
      "published_at": "2038-01-19T03:14:07+00:00",
      "media_type": "video/mp4",
      "languages": [
        "de"
      ],
      "tags": [
        "gaming",
        "science",
        "free speech"
      ],
      "platform": "odysee"
    }
  ],
  "count": 20,
  "billing": {
    "charged": …,
    "charged_usd": …,
    "balance_after_usd": …,
    …
  },
  "quota": { … }
}
```

## FAQ

### `popular` 排的是播放量吗？

不是。`popular` 依据的是和内容支持金额相关的指标，排在前面的不一定播放量或点赞量最高。要按热度挑内容，先取回来，再用 `view_count` 或 `like_count` 自己排；这两项为 null 表示不公开，不等于 0。

### `tag` 能填任意关键词吗？

不能。`tag` 是 Odysee 的内容标签，这个接口按标签列内容，不做全文搜索，带不带开头的 # 都可以。结果里的 `tags` 是每条内容自己的标签数组，没有标签时是空数组，不是 null。

### 找到内容之后，怎么顺着看频道？

每行的 `channel_name`、`channel_id` 和 `channel_url` 标出发布这条内容的频道。想读这个频道发布的内容，交给用户内容那一页，它按频道名读取，可以写 name、@name，也可以写含 @name 的频道链接。

## Also

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