DataForSEO YouTube Subtitles Advanced API
Get DataForSEO YouTube Subtitles Advanced data via REST or OpenAny MCP—with pay-per-use pricing, no subscription, and no cookies required. Powered by DataForSEO, configure supported query parameters and filters, and retrieve structured data including returned cost field, returned status code field, returned status message field, business payload, and identifier for content research and account lookup, and integration reference.
- Selected price
- $0.006 / callPublished pricing
- Sellers / APIs
- 1 / 1
- Requests · 30d
- 0Selected implementation · last 30 days
- Success rate · 30d
- —No requests in this period
DataForSEO YouTube Subtitles Advanced API
Prepare your request, then continue with your agent.
Pricing
$0.006 / call
Calculated from input parameters and actual returned quantities. Estimate the maximum cost before calling.
- Provider
- API
- Pricing
On this page
Overview
DataForSEO YouTube Subtitles Advanced API
Retrieve serp Youtube Video Subtitles Live Advanced with the DataForSEO API. Provide JSON payload in body. Read the response using the field paths below, preserving identifiers and the declared value types when mapping results.
Quick Facts
| Fact | Value |
|---|---|
| Access | OpenAny REST |
| Authentication | OpenAny API key in the Authorization header |
| Core inputs | body: body |
| Selected implementation | dataforseo · DataForSEO — Serp / Youtube / Video Subtitles / Live / Advanced |
| Billing | Follow the selected implementation pricing, billing unit, quantity and charge rules |
What You Can Build
- Content research and account lookup: Keep source records connected to their content and account identifiers.
- Integration reference: Use the selected request format and keep source identifiers with the returned result.
Documented Response Fields
| Field | Meaning |
|---|---|
cost |
Returned cost field |
status_code |
Returned status code field |
status_message |
Returned status message field |
tasks[].data |
Business payload |
tasks[].id |
Identifier |
tasks[].result |
Returned result |
tasks[].cost |
Returned cost field |
tasks[].path |
Returned path field |
Quick Start
- Set OPENANY_API_KEY to your OpenAny API key.
- Review the JSON body and supported fields shown in the request template.
- Check the HTTP response and business result before reading optional fields.
curl \
'https://api.openany.si/v1/agent-apis/dataforseo/v3/serp/youtube/video_subtitles/live/advanced' \
-X POST \
-H "Authorization: Bearer $OPENANY_API_KEY" \
-H 'Content-Type: application/json' \
--data-raw '[
{
"language_code": "en",
"location_code": 2840,
"video_id": "Y8Wu4rSNJms"
}
]'
Request and Response Examples
The response is a published documentation reference; its values may be historical. The request is an independent calling template. Use current returned identifiers and optional fields for your target resource.
Published DataForSEO YouTube Subtitles Advanced API implementation contract.
Pricing and Billing
The pricing area reflects the selected API implementation. Review its billing unit and any request-dependent rules before calling; a source service's public availability does not determine OpenAny billing.
Frequently Asked Questions
Related APIs
Playground
Run sends a real API request. Charges follow the published API contract.
Sellers
| Seller | Pricing | Requests · 30d | Performance | Access |
|---|---|---|---|---|
DataForSEOCurrent DataForSEO — Serp / Youtube / Video Subtitles / Live / Advanced · POST · View API reference | $0.006 / call | 0 | —successP50— |
- Pricing
- $0.006
Calculated from input parameters and actual returned quantities. Estimate the maximum cost before calling.
Statistics use persisted gateway logs from the last 30 days up to now, including today.
Success rate = successful requests / all requests;
P50 = median latency of successful requests.
Prices reflect the published API contract. Contract revision: 4. Price update time: not supplied.
API
- Method
- POST
- Endpoint
https://api.openany.si/v1/agent-apis/dataforseo/v3/serp/youtube/video_subtitles/live/advanced- Content type
- application/json
- Authentication
Authorization: Bearer $OPENANY_API_KEY
Input parameters
Fields in this listing; additional options and input encoding can vary by provider.
| Parameter | Location | Type | Required | Description |
|---|---|---|---|---|
body | JSON request bodybody | array | Yes | Live YouTube Subtitles provides real-time data on subtitles in the video you specify in the request. You will get data from the watching page containing subtitled text, its language, and duration in the video. for more info please visit https://docs.dataforseo.com/v3/serp/youtube/video_subtitles/live/advanced/?bash minItems: 1 · maxItems: 1 Nested fields and variants
Nested fields and variants
|
Required markers inside a nested object or variant apply when that object or variant is used.
Response structure
costnumberstatus_codeintegerstatus_messagestringtasksobject[]costnumberdataobjectapistringdevicestringfunctionstringlanguage_codestringlocation_codeintegerosstringsestringse_typestringsubtitles_languagestringsubtitles_translate_languagestringvideo_idstring
idstringpathstring[]resultobject[]categorynullcheck_urlstringdatetimestringitem_typesstring[]itemsobject[]duration_timenumberend_timenumberrank_absoluteintegerrank_groupintegerstart_timenumbertextstringtypestring
items_countintegerlanguage_codestringlocation_codeintegerorigin_languagestringrefinement_chipsnullse_domainstringspellnullsubtitles_countintegertitlestringtranslate_languagestringunsupported_languagebooleanvideo_idstring
result_countintegerstatus_codeintegerstatus_messagestringtimestring
tasks_countintegertasks_errorintegertimestringversionstring
Composite rule pricing
Calculated from input parameters and actual returned quantities. Estimate the maximum cost before calling.
Base fee: $0.006000. One matching variant replaces the base fee. Matching add-ons and quantity charges are added.
| Fee item | Price | Metering source | When | Quantity limit |
|---|---|---|---|---|
| 任务错误数必须为零 | $0.000000 / billing unit | Response · /tasks_error · Numeric value | Always | 0 billing unit · Decimal places: 0 |
Each quantity charge is rounded before summing: ceil. Requests exceeding this cost limit are rejected; it is not a price cap: $0.006000.
Response quantities settle after the response. Before execution, the maximum quantity determines the reservation; unused reservation is released. Missing or invalid quantities are not treated as zero.
Pricing parameters and defaults
[]
Agent integration
Copy the resource contract without sharing an API key.
Error handling
| Status | Next step |
|---|---|
400 | Check the offering and request fields. |
401 / 403 | Verify your credentials and access permissions. |
402 | Inspect the selected access mode and returned payment requirements. |
429 | Respect the returned rate limit and retry guidance. |
5xx | Inspect the error and usage record before retrying a paid operation. |
Examples
Official example · 官方历史成对样例(未运行) (HTTP assumed)
Example from the provider's documentation. Field values in your results will differ.
Prepare your environment
Use a terminal with cURL installed.
Use an OpenAny API key with shared-balance access. Confirm availability and price before running; a call may charge your balance.
Set the key in your terminal using the hidden prompt below. Keep its value out of source files and logs.
Terminal · macOS / Linuxprintf 'OpenAny API key: ' read -r -s OPENANY_API_KEY export OPENANY_API_KEY printf '\n'Run the request
Paste the complete command below into your terminal.
Values to replace before running 1
Review these request fields before running. Keep the published provider and request method unchanged.
body- Live YouTube Subtitles provides real-time data on subtitles in the video you specify in the request. You will get data from the watching page containing subtitled text, its language, and duration in the video. for more info please visit 'https://docs.dataforseo.com/v3/serp/youtube/video_subtitles/live/advanced/?bash'
Terminal · cURLcurl \ 'https://api.openany.si/v1/agent-apis/dataforseo/v3/serp/youtube/video_subtitles/live/advanced' \ -X POST \ -H "Authorization: Bearer $OPENANY_API_KEY" \ -H 'Content-Type: application/json' \ --data-raw '[ { "language_code": "en", "location_code": 2840, "video_id": "Y8Wu4rSNJms" } ]'Check the response
Sample response · Configured HTTP 200; actual status is unverified.
Sample response{ "cost": 0.006, "status_code": 20000, "status_message": "Ok.", "tasks": [ { "cost": 0.006, "data": { "api": "serp", "device": "desktop", "function": "live", "language_code": "en", "location_code": 2840, "os": "windows", "se": "youtube", "se_type": "video_subtitles", "subtitles_language": "en", "subtitles_translate_language": "it", "video_id": "Y8Wu4rSNJms" }, "id": "11151919-4426-0139-0000-0d5843758631", "path": [ "v3", "serp", "youtube", "video_subtitles", "live", "advanced" ], "result": [ { "category": null, "check_url": "https://www.youtube.com/watch?v=Y8Wu4rSNJms", "datetime": "2022-11-15 17:19:04 +00:00", "item_types": [ "youtube_subtitles" ], "items": [ { "duration_time": 4.88, "end_time": 6, "rank_absolute": 1, "rank_group": 1, "start_time": 1.12, "text": "elettrizza la tua efficienza di guida", "type": "youtube_subtitles" }, { "duration_time": 4.801, "end_time": 8.48, "rank_absolute": 2, "rank_group": 2, "start_time": 3.679, "text": "la trazione ibrida plug-in nelle BMW con", "type": "youtube_subtitles" }, { "duration_time": 4.719, "end_time": 10.72, "rank_absolute": 3, "rank_group": 3, "start_time": 6, "text": "sistema operativo 8 ti offre il", "type": "youtube_subtitles" }, { "duration_time": 4.88, "end_time": 13.36, "rank_absolute": 4, "rank_group": 4, "start_time": 8.48, "text": "controllo individuale per passare dalla trazione completamente elettrica alla", "type": "youtube_subtitles" }, { "duration_time": 4.88, "end_time": 15.6, "rank_absolute": 5, "rank_group": 5, "start_time": 10.719, "text": "trazione combinata del motore", "type": "youtube_subtitles" }, { "duration_time": 4.32, "end_time": 17.68, "rank_absolute": 6, "rank_group": 6, "start_time": 13.36, "text": "premi il pulsante delle impostazioni di guida nella", "type": "youtube_subtitles" }, { "duration_time": 4.161, "end_time": 19.76, "rank_absolute": 7, "rank_group": 7, "start_time": 15.599, "text": "console centrale", "type": "youtube_subtitles" }, { "duration_time": 5.359, "end_time": 23.04, "rank_absolute": 8, "rank_group": 8, "start_time": 17.68, "text": "sotto la trasmissione e il telaio puoi", "type": "youtube_subtitles" }, { "duration_time": 5.279, "end_time": 25.04, "rank_absolute": 9, "rank_group": 9, "start_time": 19.76, "text": "attivare rapidamente la trazione elettrica modalità in", "type": "youtube_subtitles" }, { "duration_time": 4.16, "end_time": 27.2, "rank_absolute": 10, "rank_group": 10, "start_time": 23.039, "text": "alternativa apri le", "type": "youtube_subtitles" }, { "duration_time": 4.4, "end_time": 29.44, "rank_absolute": 11, "rank_group": 11, "start_time": 25.039, "text": "impostazioni di trasmissione e telaio dove puoi anche", "type": "youtube_subtitles" }, { "duration_time": 3.92, "end_time": 31.12, "rank_absolute": 12, "rank_group": 12, "start_time": 27.199, "text": "avviare o arrestare la modalità di guida elettrica,", "type": "youtube_subtitles" }, { "duration_time": 3.921, "end_time": 33.36, "rank_absolute": 13, "rank_group": 13, "start_time": 29.439, "text": "nonché attivare l'elettrico", "type": "youtube_subtitles" }, { "duration_time": 4.641, "end_time": 35.76, "rank_absolute": 14, "rank_group": 14, "start_time": 31.119, "text": "automaticamente impostando in elettrico", "type": "youtube_subtitles" }, { "duration_time": 4.4, "end_time": 37.76, "rank_absolute": 15, "rank_group": 15, "start_time": 33.36, "text": "automaticamente la tua bmw si avvierà in", "type": "youtube_subtitles" }, { "duration_time": 4.88, "end_time": 40.64, "rank_absolute": 16, "rank_group": 16, "start_time": 35.76, "text": "modalità elettrica se la carica della batteria è", "type": "youtube_subtitles" }, { "duration_time": 5.28, "end_time": 43.04, "rank_absolute": 17, "rank_group": 17, "start_time": 37.76, "text": "abbastanza alta generalmente la tua bmw regola", "type": "youtube_subtitles" }, { "duration_time": 4.64, "end_time": 45.28, "rank_absolute": 18, "rank_group": 18, "start_time": 40.64, "text": "la spina -nella guida ibrida in modo intelligente", "type": "youtube_subtitles" }, { "duration_time": 4.64, "end_time": 47.68, "rank_absolute": 19, "rank_group": 19, "start_time": 43.04, "text": "fintanto che non guidi in modo troppo sportivo o", "type": "youtube_subtitles" }, { "duration_time": 4.48, "end_time": 49.76, "rank_absolute": 20, "rank_group": 20, "start_time": 45.28, "text": "troppo veloce e la batteria è sufficientemente", "type": "youtube_subtitles" }, { "duration_time": 4.399, "end_time": 52.08, "rank_absolute": 21, "rank_group": 21, "start_time": 47.68, "text": "carica la tua bmw rimarrà in", "type": "youtube_subtitles" }, { "duration_time": 4.88, "end_time": 54.64, "rank_absolute": 22, "rank_group": 22, "start_time": 49.76, "text": "modalità elettrica nelle", "type": "youtube_subtitles" }, { "duration_time": 4.8, "end_time": 56.88, "rank_absolute": 23, "rank_group": 23, "start_time": 52.079, "text": "impostazioni di trasmissione e telaio puoi anche attivare", "type": "youtube_subtitles" }, { "duration_time": 3.68, "end_time": 58.32, "rank_absolute": 24, "rank_group": 24, "start_time": 54.64, "text": "mantenere la carica della batteria per risparmiare la", "type": "youtube_subtitles" }, { "duration_time": 3.441, "end_time": 60.32, "rank_absolute": 25, "rank_group": 25, "start_time": 56.879, "text": "corrente stato di carica della", "type": "youtube_subtitles" }, { "duration_time": 3.84, "end_time": 62.16, "rank_absolute": 26, "rank_group": 26, "start_time": 58.32, "text": "batteria ad alta tensione per un punto successivo del", "type": "youtube_subtitles" }, { "duration_time": 3.919, "end_time": 64.24, "rank_absolute": 27, "rank_group": 27, "start_time": 60.32, "text": "viaggio", "type": "youtube_subtitles" }, { "duration_time": 6.2, "end_time": 68.36, "rank_absolute": 28, "rank_group": 28, "start_time": 62.16, "text": "con continua a guardare la nostra serie di istruzioni per", "type": "youtube_subtitles" }, { "duration_time": 4.121, "end_time": 68.36, "rank_absolute": 29, "rank_group": 29, "start_time": 64.239, "text": "ottenere il massimo dalla tua bmw", "type": "youtube_subtitles" }, { "duration_time": 5.789, "end_time": 75.12, "rank_absolute": 30, "rank_group": 30, "start_time": 69.33, "text": "[Musica].", "type": "youtube_subtitles" }, { "duration_time": 2.079, "end_time": 75.12, "rank_absolute": 31, "rank_group": 31, "start_time": 73.04, "text": "", "type": "youtube_subtitles" } ], "items_count": 31, "language_code": "en", "location_code": 2840, "origin_language": "en", "refinement_chips": null, "se_domain": "youtube.com", "spell": null, "subtitles_count": 31, "title": "How to set up BMW eDrive Modes in the New Generation of BMW Plug-In Hybrids", "translate_language": "it", "unsupported_language": false, "video_id": "Y8Wu4rSNJms" } ], "result_count": 1, "status_code": 20000, "status_message": "Ok.", "time": "2.0523 sec." } ], "tasks_count": 1, "tasks_error": 0, "time": "2.4625 sec.", "version": "0.1.20220819" }