# Odysee 热榜 API (odysee.trending)

- Canonical page: [https://everyinfra.com/odysee-api/trending](https://everyinfra.com/odysee-api/trending?utm_medium=ai_doc&utm_campaign=page_md)
- Endpoint: POST https://api.everyinfra.com/api/v1/social with {"platform": "odysee", "action": "trending", "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=odysee&action=trending

## Parameters

| name | type | required | default | description |
|---|---|---|---|---|
| limit | integer (1–50) | no | 20 | 这次调用最多返回的条数，整数，1–50；不传按默认值，实际返回可能少于这个数。超过上限会在扣费前返回 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": "trending",
  "params": {}
}'
```

```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": "trending",
        "params": {},
    },
    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": "trending",
  "results": [
    {
      "id": "02ac1ee63979e9c7a06e3c370ffede4403fb8015",
      "title": "BLEACH. Capítol 79. La decisió, de morir de la Yoshino.",
      "description": "En Renji i l'Ichigo passaran tota la nit barallant-se mentre la Yoshino s'escapa tramant alguna cosa... Però no comptarà amb la presència d'en Kariya. A més, coneixerem un nou tipus d'insecte, els bitto.",
      "channel_name": "@•••",
      "channel_id": "1d95839d87a85ceb284c14b60c83cffa5b37dd3a",
      "url": "https://odysee.com/@•••/BLEACH.-Capítol-79.-La-decisió-de-morir-de-la-Yoshino:02ac1ee639",
      "thumbnail_url": "https://thumbs.odycdn.com/7c824de50ec1938563f7e95adb515f1c.webp",
      "duration_seconds": 1475,
      "view_count": 0,
      "published_at": "2026-10-01T19:02:00+00:00",
      "platform": "odysee"
    },
    {
      "id": "354beeec5da2088090d294affaaf04b459bebc5a",
      "title": "GT PSP- Specialtatin' My Weirdest Race Yet",
      "description": "short but sheet",
      "channel_name": "@•••",
      "channel_id": "968abcaf8050ed54e1e81d056b579040858dd19e",
      "url": "https://odysee.com/@•••/gt-psp-specialtatin-my-weirdest-race-yet:3",
      "thumbnail_url": "https://thumbs.odycdn.com/b95b9d21204fae1ab74154796e5e9b17.webp",
      "duration_seconds": 217,
      "view_count": 18540,
      "published_at": "2026-09-26T06:24:18+00:00",
      "tags": [
        "gaming",
        "weird",
        "nissan"
      ],
      "platform": "odysee"
    }
  ],
  "count": 20,
  "billing": {
    "charged": …,
    "charged_usd": …,
    "balance_after_usd": …,
    …
  },
  "quota": { … }
}
```

## 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
