ytapi-youtube-transcript
Get the transcript, subtitles or captions of a YouTube video (plain text, Markdown, timestamped JSON, SRT or VTT, any language) through the YTAPI API. Use when the user shares a Yo…
YTAPI
@ytapi
Install
$ openclaw skills install @ytapi/ytapi-youtube-transcriptYouTube transcripts
Transcripts and subtitles for any YouTube video with captions, from YTAPI.
Setup
If YTAPI_API_KEY is not set, read references/auth-setup.md
and follow it: the user either pastes a key or you create a free account
with their email (200 credits, no card). Send the key as
Authorization: Bearer $YTAPI_API_KEY and never print it.
Get a transcript (1 credit)
curl -s "https://api.ytapi.dev/v1/transcripts?video_id=VIDEO_ID_OR_URL&format=text" \
-H "Authorization: Bearer $YTAPI_API_KEY"
| Param | Default | Values |
|---|---|---|
video_id | required | 11-character ID or a YouTube URL |
format | segments | text, markdown, segments (JSON with start/end seconds), sentences, srt, vtt, word_timestamps |
languages | * | Comma-separated codes in order of preference; * is the video's own language. en,* = English if available, else the original |
word_level | false | Word timings on auto-generated tracks (with format=word_timestamps) |
- Use
format=textormarkdownto read, summarize or quote;segmentswhen you need timestamps (link a moment ashttps://youtu.be/VIDEO_ID?t=SECONDS);srtorvttfor subtitle files. - Which languages exist, for free:
GET /v1/videos/VIDEO_ID/basic-info(available_languages, eachmanualorasr). - Long videos give long transcripts: save to a file and read it in parts.
404 language_not_found/captions_disabled: no captions in those languages, or none at all. Trylanguages=*.
Credits and errors
Only successful responses use credits; errors are free. New accounts get 200
free credits. Until a credit pack is bought, a key can make 1 request per
second and 100 per day (UTC); 429 daily_limit_exceeded means that day's
limit is used up (it resets at 00:00 UTC; any pack removes it).
402 insufficient_credits means the balance is empty: packs from $9 at
https://ytapi.dev/?utm_source=skill#pricing. 401 means the key is missing or wrong.
For video details, search, channels, playlists and batches in one skill,
install ytapi. Full reference: https://docs.ytapi.dev
Top skills in this category
ATXP
@emilioaccAccess ATXP paid API tools for web search, AI image generation, music creation, video generation, X/Twitter search, email, and agent account management. Use...
Openai Whisper Api
@steipeteTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
Wechat Article Search
@wuchubuzai2018搜索微信公众号文章技能。通过微信搜索获取文章列表,覆盖科技/AI、社会热点、财经、教育、职场等各类中文资讯;可按关键词检索并返回标题、概要、发布时间、来源公众号与链接。当用户需要查找微信公众号文章、整理参考资料或快速获取文章信息时使用此技能。
xAI / Grok
@blueberrywoodsymChat with Grok models via xAI API. Supports Grok-3, Grok-3-mini, vision, and more.
Video Subtitles
@ngutmanGenerate SRT subtitles from video/audio with translation support. Transcribes Hebrew (ivrit.ai) and English (whisper), translates between languages, burns subtitles into video. Use for creating captions, transcripts, or hardcoded subtitles for WhatsApp/social media.