# Youku API

Retrieve Youku program cards, series information and creator profiles, or request supported video transcripts.

Provide a valid public video URL for a transcript. Full-length videos for members only are not supported.

- Request: POST https://api.everyinfra.com/api/v1/social with `{"platform": "youku", "action": "<action>", "params": {...}}`
- Canonical page: [https://everyinfra.com/en/youku-api](https://everyinfra.com/en/youku-api?utm_medium=ai_doc&utm_campaign=page_md)
- Each capability uses the price recorded in the public catalog. The response includes the amount charged. Authentication failures, invalid parameters, failed calls, and empty results are not charged.

## Actions

### search — Search
Find shows, series and videos on Youku for a keyword, up to 150 per call. Get category, release date, completion status, corner badge and thumbnail. Comments are not searched. Nothing is played or checked for regional availability.
- Sync delivery · Price: $1.39 per 1,000 requests (every 30 rows count as one call)
- Catalog values: defaultLimit=30, maxLimit=150. For some actions a limit controls pages or per-parent expansion, so it is not always the final row count.
- Parameters:
  - `keyword` (required): The search term for querying shows, series, or videos on Youku using the search action. This parameter does not search video comments.
- Returns fields: id, url, title, subtitle, category, source_name, release_date, is_completed, corner_tag, thumbnail_url, platform
- Capability page: [https://everyinfra.com/en/youku-api/search](https://everyinfra.com/en/youku-api/search?utm_medium=ai_doc&utm_campaign=page_md) (Markdown: https://everyinfra.com/en/youku-api/search.md)

### video — Video details
Look up a Youku video or show by ID. Get its title, show name, episode counts, duration, VIP flag, comment and like counts and author. Pass a show ID or video ID from search results or an id_ page link, not an author UID. Comments and playback are not included.
- Sync delivery · Price: $1.39 per 1,000 requests
- Parameters:
  - `id` (required): The show ID (showId) or video ID (vid) required by the video action, extractable from search results or video page URLs matching id_...html. Encoded UGC IDs differ from series hashes; prefer UGC IDs. This parameter is not an author UID.
- Returns fields: id, show_id, url, title, show_name, subtitle, category, video_type, duration_seconds, duration_sec, episode_total, episode_last, is_completed, comment_count, like_count, is_vip, allow_comment, posted_at, show_release_time, thumbnail_url, tags, author_id, author_name, author_avatar_url, author_follower_count, author_url, platform
- Capability page: [https://everyinfra.com/en/youku-api/video](https://everyinfra.com/en/youku-api/video?utm_medium=ai_doc&utm_campaign=page_md) (Markdown: https://everyinfra.com/en/youku-api/video.md)

### profile — Profiles
Check a Youku creator from the encoded creator ID. Get name, bio, gender, location, follower and like counts and verification note. Use the encoded UID from video author data, not a username, show ID or channel URL. Private analytics are not exposed.
- Sync delivery · Price: $1.39 per 1,000 requests
- Parameters:
  - `user_id` (required): The encoded creator UID required by the profile action, retrieved from video author metadata. Do not provide a username, show ID, or full channel homepage URL.
- Returns fields: user_id, numeric_id, name, url, bio, avatar_url, gender, like_count, follower_count, is_verified, verified_desc, location, platform
- Capability page: [https://everyinfra.com/en/youku-api/profile](https://everyinfra.com/en/youku-api/profile?utm_medium=ai_doc&utm_campaign=page_md) (Markdown: https://everyinfra.com/en/youku-api/profile.md)

### transcript — Transcript
Extract the transcript text of a Youku video, with language, duration, author and a translated version when one is returned. Processing is asynchronous, members-only videos are not supported, and not every video has a transcript.
- Async delivery · Price: $2.78 per 1,000 requests
- Parameters:
  - `url` (required): The public video URL required by the transcript action. Processing is asynchronous and must complete before returning results; member-restricted content is not supported. While the video action can extract identifiers from id_...html links, public actions still require this explicit URL.
- Returns fields: title, text, language, translated_text, translated_language, duration_seconds, duration_sec, author_name, author_id, author_url, thumbnail_url, tags, platform
- Capability page: [https://everyinfra.com/en/youku-api/transcript](https://everyinfra.com/en/youku-api/transcript?utm_medium=ai_doc&utm_campaign=page_md) (Markdown: https://everyinfra.com/en/youku-api/transcript.md)

## Youku API questions

### What can I retrieve with the Youku API?

Set `platform` to `youku`. The current catalog lists search, video details, profiles, and transcript. These action names identify different Youku objects or views; they are not interchangeable search modes.

### Which input starts the Youku `search` request?

The search term for querying shows, series, or videos on Youku using the search action. This parameter does not search video comments. Send it as `keyword` inside `params`.

### Which fields can Youku `search` return?

Its declared schema includes `title`, `subtitle`, `category`, and `source_name`. A declared field can still be absent from an individual record, and every other action has its own field list.

### Does every Youku action return immediately?

Actions labeled asynchronous return a job ID you poll. Every other action can also run asynchronously: add `"mode": "async"` to the request body to receive a job ID immediately, useful for slow tasks or large limits. The current catalog contains sync delivery and async delivery.

## Also

- Machine catalog (no key): https://everyinfra.com/openapi.json · GET /api/v1/social/catalog?platform=youku
- API guide for AI clients: https://everyinfra.com/llms.txt · agents guide: https://everyinfra.com/agents.md
