데이터 API / DataForSEO / SERP
Live YouTube Subtitles Advanced
Returns one YouTube video's subtitle track on YouTube, synchronously. Returns keyword, type, se_domain, location_code, language_code, check_url, datetime, spell, refinement_chips, item_types, items_count and items. advanced is the default choice; take regular when only the ranked list matters and html only to check what the parser dropped. Wrapped in DataForSEO's envelope: data in tasks[0].result, outcome in tasks[0].status_code - a rejected request still returns HTTP 200.
파라미터
경로, 쿼리, 헤더 파라미터가 없습니다.
요청 본문
video_idstring필수ID of the video
language_codestring선택YouTube interface language code, for example en. Provide this or language_name.
location_codeinteger선택YouTube location code, for example 2840. Provide this or location_name.
location_namestring선택YouTube location name, for example United States. Provide this or location_code.
language_namestring선택YouTube interface language name, for example English. Provide this or language_code.
요청 예시
curl -X POST "https://openapi.felo.ai/v1/beta/dataforseo/serp/youtube/video_subtitles/live/advanced" \
-H "Authorization: Bearer $FELO_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"video_id": "<string>",
"language_code": "<string>",
"location_code": 0,
"location_name": "<string>",
"language_name": "<string>"
}'응답
응답 필드
versionstring선택The current version of the API
status_codeinteger선택General status code
status_messagestring선택General informational message
timestring선택Execution time, seconds
costnumber선택Total tasks cost, USD
tasksstring[]선택Array of tasks
resultstring[]선택Array of live SERP results