YouTube Get Video Transcript

32.5 credits per successful search
ae_youtube_get_video_transcript

获取 YouTube 视频中可用的字幕和文字稿

Transcript
32.5 credits per successful search

Pricing

A completed search is 32.5 credits. Failed searches are free.

32.5 credits per successful search

Parameters

Optional parameters use the platform defaults when omitted.

ParameterTypeRequiredDescriptionDefault
vstringYesParameter defines the Video ID, it can be found in the URL of the video as `youtu.be/video_id` or `youtube.com/watch?v=video_id`—
typeenum (asr)NoParameter is used to get the transcript type. E.g: `asr` for automatic speech recognition (auto-generated) transcript.—
titlestringNoParameter is used to get the specific transcript using the transcript title, e.g. `Twitch Chat - Simple`.—
language_codeenum (ab | aa | af | ak | sq | ase | am | ar | arc | hy | as | ay | az | bn | ba | eu | be | bh | bho | bi | bs | br | bg | yue | yue-HK | ca | ceb | chr | zh | zh-CN | zh-HK | zh-Hans | zh-SG | zh-TW | zh-Hant | cho | co | hr | cs | da | dv | nl | nl-BE | nl-NL | dz | en | en-CA | en-IE | en-GB | en-US | eo | et | ee | fo | fj | fil | fi | fr | gaa | fr-BE | fr-CA | fr-FR | fr-CH | gl | lg | ka | de | de-AT | de-DE | de-CH | el | kl | gn | gu | ht | hak | hak-TW | ha | haw | iw | hi | hmn | hi-Latn | hu | is | ig | id | ia | ie | iu | ik | ga | it | ja | jv | kn | ks | kk | kha | km | rw | tlh | ko | kri | ku | ky | lo | la | lv | ln | lt | lua | luo | lb | mk | mg | ms | ml | mt | gv | mi | mr | mas | nan | nan-TW | mo | mn | mfe | my | na | nv | ne | new | nso | no | ny | oc | or | om | os | pam | ps | fa | fa-AF | fa-IR | pl | pt | pt-BR | pt-PT | pa | qu | ro | rm | rn | ru | ru-Latn | sm | sg | sa | gd | sr | crs | sr-Cyrl | sr-Latn | sh | sdp | sn | sd | si | sk | sl | so | st | es | es-419 | es-MX | es-ES | su | sw | ss | sv | tl | tg | ta | tt | te | th | bo | ti | to | ts | tn | tum | tr | tk | tw | uk | ur | ug | uz | ve | vi | war | vo | cy | fy | wo | xh | yi | yo | zu | und)NoNo parameter description.—

Invocation example

Parameter template

Generated from the parameter configuration. Replace the sample values before use.

POST/agent-api/v1/tool/executeX-Api-Key
Request coderequest.sh
curl --request POST \
  --url 'https://agentearth.ai/agent-api/v1/tool/execute?tool_name=ae_youtube_get_video_transcript' \
  --header "X-Api-Key: $AGENTEARTH_API_KEY" \
  --header 'Content-Type: application/json' \
  --data-raw '{
  "params": {
    "v": "xxx"
  }
}'

No response example available yet.