# Youku Search API (youku.search)

- Canonical page: [https://everyinfra.com/en/youku-api/search](https://everyinfra.com/en/youku-api/search?utm_medium=ai_doc&utm_campaign=page_md)
- Endpoint: POST https://api.everyinfra.com/api/v1/social with {"platform": "youku", "action": "search", "params": {...}}
- Price: $0.001389 per call ($1.39 per 1,000 requests); failed calls and empty results are not charged
- Returns: list, default 30, max 150 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=youku&action=search

## Parameters

| name | type | required | default | description |
|---|---|---|---|---|
| keyword | not declared | yes | not declared | The search term for querying shows, series, or videos on Youku using the search action. This parameter does not search video comments. |
| limit | integer (1–150) | no | 30 | The most rows to return in this call, an integer from 1 to 150. The default applies when you leave it out, and a call can return fewer rows. Larger values return 422 before any charge. |

## 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. |
| url | Link to the record on the platform. |
| title | Title. null when the platform has no titles (for example text-only posts). |
| subtitle | platform-native meaning |
| category | Category name in the platform's own taxonomy, not normalized across platforms. |
| source_name | platform-native meaning |
| release_date | platform-native meaning |
| is_completed | platform-native meaning |
| corner_tag | platform-native meaning |
| thumbnail_url | Thumbnail link, lower resolution than image_url. |
| 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": "youku",
  "action": "search",
  "params": {
    "keyword": "纪录片"
  }
}'
```

```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": "youku",
        "action": "search",
        "params": {
            "keyword": "纪录片",
        },
    },
    timeout=120,
)
print(response.status_code)
print(response.json())
```

## Response example

Real response to the example request above, captured 2026-10-24T18:28:34Z. `results` and `count` are real with personal information (names, handles, avatars, profile links, contact details) removed; the list keeps the first 2 of 25. `id`, `billing` and `quota` differ on every call, so only their shape is shown.

```text
{
  "id": "req_…",
  "platform": "youku",
  "action": "search",
  "results": [
    {
      "id": "fecffe95fda24518b7aa",
      "url": "https://v.youku.com/v_show/id_fecffe95fda24518b7aa.html",
      "title": "一路前行 第三季",
      "subtitle": "新老嘉宾助力环保",
      "category": "纪录片",
      "source_name": "优酷",
      "release_date": "2026",
      "is_completed": false,
      "corner_tag": "首播",
      "thumbnail_url": "https://m.ykimg.com/050C00006AD98F171FF128140C50D963",
      "platform": "youku"
    },
    {
      "id": "e5019e8e0b4e11e1a046",
      "url": "https://v.youku.com/v_show/id_e5019e8e0b4e11e1a046.html",
      "title": "地球脉动 第一季",
      "subtitle": "地球壮丽美景",
      "category": "纪录片",
      "source_name": "优酷",
      "release_date": "2006",
      "is_completed": true,
      "corner_tag": "VIP",
      "thumbnail_url": "https://m.ykimg.com/050C000062F9F6BC13F7FF0950BD2E69",
      "platform": "youku"
    }
  ],
  "count": 25,
  "billing": {
    "charged": …,
    "charged_usd": …,
    "balance_after_usd": …,
    …
  },
  "quota": { … }
}
```

## Also

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