DataForSEO — Serp / Youtube / Video Info / Live / Advanced
Retrieve serp Youtube Video Info Live Advanced with the DataForSEO API. Review the selected endpoint’s request fields before calling. Use it to audit or monitor a site’s search visibility. Use the data to compare content across accounts or review audience feedback by video.
- Selected price
- $0.006 / callPublished pricing
- Sellers / implementations
- 1 / 1
- Requests · 30d
- —Loading...
- Success rate · 30d
- —Loading...
| Seller | Pricing | Requests · 30d | Performance | Access |
|---|---|---|---|---|
DataForSEOCurrent DataForSEO — Serp / Youtube / Video Info / Live / Advanced · POST | $0.006 / call | — | —successP50— |
Run sends a real API request. Charges follow the published API contract.
Response structure
costnumberstatus_codeintegerstatus_messagestringtasksobject[]costnumberdataobjectapistringdevicestringfunctionstringlanguage_codestringlocation_codeintegerosstringsestringse_typestringvideo_idstring
idstringpathstring[]resultobject[]check_urlstringdatetimestringitem_typesstring[]itemsobject[]categorystringchannel_idstringchannel_logostringchannel_namestringchannel_urlstringcomments_countintegerdescriptionstringduration_timestringduration_time_secondsintegeris_livebooleankeywordsstring[]likes_countintegerpublication_datestringrank_absoluteintegerrank_groupintegerstreaming_qualityobject[]bitrateintegerfpsintegerheightintegerlabelstringmime_typestringtypestringwidthinteger
subtitlesnullthumbnail_urlstringtimestampstringtitlestringtypestringurlstringvideo_idstringviews_countinteger
items_countintegerlanguage_codestringlocation_codeintegerse_domainstringspellnullvideo_idstring
result_countintegerstatus_codeintegerstatus_messagestringtimestring
tasks_countintegertasks_errorintegertimestringversionstring
// Inferred from response examples. Fields are optional and other fields may be returned.
export type ApiResponse = {
cost?: number;
status_code?: number;
status_message?: string;
tasks?: Array<{
cost?: number;
data?: {
api?: string;
device?: string;
function?: string;
language_code?: string;
location_code?: number;
os?: string;
se?: string;
se_type?: string;
video_id?: string;
};
id?: string;
path?: Array<string>;
result?: Array<{
check_url?: string;
datetime?: string;
item_types?: Array<string>;
items?: Array<{
category?: string;
channel_id?: string;
channel_logo?: string;
channel_name?: string;
channel_url?: string;
comments_count?: number;
description?: string;
duration_time?: string;
duration_time_seconds?: number;
is_live?: boolean;
keywords?: Array<string>;
likes_count?: number;
publication_date?: string;
rank_absolute?: number;
rank_group?: number;
streaming_quality?: Array<{
bitrate?: number;
fps?: number;
height?: number;
label?: string;
mime_type?: string;
type?: string;
width?: number;
}>;
subtitles?: null;
thumbnail_url?: string;
timestamp?: string;
title?: string;
type?: string;
url?: string;
video_id?: string;
views_count?: number;
}>;
items_count?: number;
language_code?: string;
location_code?: number;
se_domain?: string;
spell?: null;
video_id?: string;
}>;
result_count?: number;
status_code?: number;
status_message?: string;
time?: string;
}>;
tasks_count?: number;
tasks_error?: number;
time?: string;
version?: string;
};- Method
- POST
- Endpoint
https://api.openany.si/v1/agent-apis/dataforseo/v3/serp/youtube/video_info/live/advanced- Content type
- application/json
- Authentication
Authorization: Bearer $OPENANY_API_KEY
curl \
'https://api.openany.si/v1/agent-apis/dataforseo/v3/serp/youtube/video_info/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": "vQXvyV0zIP4"
}
]'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 Video Info provides real-time data on the video you specify in the request. You will get data from the watching page containing key video and content metrics as well as the channel where the video is published. for more info please visit 'https://docs.dataforseo.com/v3/serp/youtube/video_info/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.
Sample response
Sample response · Documented HTTP 200 Example from the provider's documentation. Field values in your results will differ.
{
"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_info",
"video_id": "vQXvyV0zIP4"
},
"id": "11251833-0696-0139-0000-bb6c7974de27",
"path": [
"v3",
"serp",
"youtube",
"video_info",
"live",
"advanced"
],
"result": [
{
"check_url": "https://www.youtube.com/watch?v=vQXvyV0zIP4",
"datetime": "2022-11-25 16:33:59 +00:00",
"item_types": [
"youtube_video_info"
],
"items": [
{
"category": "Autos & Vehicles",
"channel_id": "UCl1hby9X42xkXUiAVcJS81A",
"channel_logo": "https://i.ytimg.com/an/l1hby9X42xkXUiAVcJS81A/featured_channel.jpg?v=628bae09",
"channel_name": "BMW M",
"channel_url": "https://www.youtube.com/channel/UCl1hby9X42xkXUiAVcJS81A",
"comments_count": 4082,
"description": "The most powerful BMW production car there has ever been: the BMW M5 CS. Reduced in weight by 70 kg, it delivers ground-breaking performance figures and BMW M5 genes down to the smallest detail. A superior output of 635 hp catapults the high performance saloon from 0 to 100 km/h in an impressive 3.0 seconds.\nFuel consumption weighted combined in l/100km; 11.3-11.1 (NECD); 11.3-10.9 (WLTP)\nCO2 emmissions weighted combined in g/km: 258-253 (NEDC); 257-248 (WLTP)\nThe values of fuel consumptions, CO2 emissions and energy consumptions shown were determined according to the European Regulation (EC) 715/2007 in the version applicable at the time of type approval. The figures refer to a vehicle with basic configuration in Germany and the range shown considers optional equipment and the different size of wheels and tires available on the selected model. The values of the vehicles are already based on the new WLTP regulation and are translated back into NEDC-equivalent values in order to ensure the comparison between the vehicles. [With respect to these vehicles, for vehicle related taxes or other duties based (at least inter alia) on CO2-emissions the CO2 values may differ to the values stated here.] The CO2 efficiency specifications are determined according to Directive 1999/94/EC and the European Regulation in its current version applicable. The values shown are based on the fuel consumption, CO2 values and energy consumptions according to the NEDC cycle for the classification. Further information on official fuel consumption figures and specific CO2 emission values of new passenger cars is included in the following guideline: 'Leitfaden über den Kraftstoffverbrauch, die CO2-Emissionen und den Stromverbrauch neuer Personenkraftwagen' (Guide to the fuel economy, CO2 emissions and electric power consumption of new passenger cars), which can be obtained free of charge from all dealerships, from Deutsche Automobil Treuhand GmbH (DAT), Hellmuth-Hirth-Str. 1, 73760 Ostfildern-Scharnhausen and at https://www.dat.de/co2/.",
"duration_time": "02:09",
"duration_time_seconds": 129,
"is_live": false,
"keywords": [
"bmw m5 cs",
"bmw m5",
"2021 bmw m5 cs",
"new bmw m5 cs",
"m5 cs",
"bmw m5 cs 2020",
"bmw m5 cs 2021"
],
"likes_count": 0,
"publication_date": "Premiered Jan 26, 2021",
"rank_absolute": 1,
"rank_group": 1,
"streaming_quality": [
{
"bitrate": 2620334,
"fps": 25,
"height": 1080,
"label": "1080p",
"mime_type": "video/mp4; codecs=\"avc1.640028\"",
"type": "streaming_quality_element",
"width": 1920
},
{
"bitrate": 2106275,
"fps": 25,
"height": 1080,
"label": "1080p",
"mime_type": "video/webm; codecs=\"vp9\"",
"type": "streaming_quality_element",
"width": 1920
},
{
"bitrate": 1673044,
"fps": 25,
"height": 1080,
"label": "1080p",
"mime_type": "video/mp4; codecs=\"av01.0.08M.08\"",
"type": "streaming_quality_element",
"width": 1920
},
{
"bitrate": 475917,
"fps": 25,
"height": 720,
"label": "720p",
"mime_type": "video/mp4; codecs=\"avc1.64001F, mp4a.40.2\"",
"type": "streaming_quality_element",
"width": 1280
},
{
"bitrate": 827534,
"fps": 25,
"height": 720,
"label": "720p",
"mime_type": "video/mp4; codecs=\"avc1.4d401f\"",
"type": "streaming_quality_element",
"width": 1280
},
{
"bitrate": 832110,
"fps": 25,
"height": 720,
"label": "720p",
"mime_type": "video/webm; codecs=\"vp9\"",
"type": "streaming_quality_element",
"width": 1280
},
{
"bitrate": 997660,
"fps": 25,
"height": 720,
"label": "720p",
"mime_type": "video/mp4; codecs=\"av01.0.05M.08\"",
"type": "streaming_quality_element",
"width": 1280
},
{
"bitrate": 462416,
"fps": 25,
"height": 480,
"label": "480p",
"mime_type": "video/mp4; codecs=\"avc1.4d401e\"",
"type": "streaming_quality_element",
"width": 854
},
{
"bitrate": 520385,
"fps": 25,
"height": 480,
"label": "480p",
"mime_type": "video/webm; codecs=\"vp9\"",
"type": "streaming_quality_element",
"width": 854
},
{
"bitrate": 497108,
"fps": 25,
"height": 480,
"label": "480p",
"mime_type": "video/mp4; codecs=\"av01.0.04M.08\"",
"type": "streaming_quality_element",
"width": 854
},
{
"bitrate": 253214,
"fps": 25,
"height": 360,
"label": "360p",
"mime_type": "video/mp4; codecs=\"avc1.42001E, mp4a.40.2\"",
"type": "streaming_quality_element",
"width": 640
},
{
"bitrate": 303030,
"fps": 25,
"height": 360,
"label": "360p",
"mime_type": "video/mp4; codecs=\"avc1.4d401e\"",
"type": "streaming_quality_element",
"width": 640
},
{
"bitrate": 358547,
"fps": 25,
"height": 360,
"label": "360p",
"mime_type": "video/webm; codecs=\"vp9\"",
"type": "streaming_quality_element",
"width": 640
},
{
"bitrate": 289835,
"fps": 25,
"height": 360,
"label": "360p",
"mime_type": "video/mp4; codecs=\"av01.0.01M.08\"",
"type": "streaming_quality_element",
"width": 640
},
{
"bitrate": 171726,
"fps": 25,
"height": 240,
"label": "240p",
"mime_type": "video/mp4; codecs=\"avc1.4d4015\"",
"type": "streaming_quality_element",
"width": 426
},
{
"bitrate": 176123,
"fps": 25,
"height": 240,
"label": "240p",
"mime_type": "video/webm; codecs=\"vp9\"",
"type": "streaming_quality_element",
"width": 426
},
{
"bitrate": 149531,
"fps": 25,
"height": 240,
"label": "240p",
"mime_type": "video/mp4; codecs=\"av01.0.00M.08\"",
"type": "streaming_quality_element",
"width": 426
},
{
"bitrate": 103646,
"fps": 25,
"height": 144,
"label": "144p",
"mime_type": "video/mp4; codecs=\"avc1.4d400c\"",
"type": "streaming_quality_element",
"width": 256
},
{
"bitrate": 87601,
"fps": 25,
"height": 144,
"label": "144p",
"mime_type": "video/webm; codecs=\"vp9\"",
"type": "streaming_quality_element",
"width": 256
},
{
"bitrate": 75401,
"fps": 25,
"height": 144,
"label": "144p",
"mime_type": "video/mp4; codecs=\"av01.0.00M.08\"",
"type": "streaming_quality_element",
"width": 256
}
],
"subtitles": null,
"thumbnail_url": "https://i.ytimg.com/vi_webp/vQXvyV0zIP4/maxresdefault.webp?v=629bd562",
"timestamp": "2021-01-26 00:00:00 +00:00",
"title": "The first-ever BMW M5 CS.",
"type": "youtube_video_info",
"url": "https://www.youtube.com/watch?v=vQXvyV0zIP4",
"video_id": "vQXvyV0zIP4",
"views_count": 4647118
}
],
"items_count": 1,
"language_code": "en",
"location_code": 2840,
"se_domain": "youtube.com",
"spell": null,
"video_id": "vQXvyV0zIP4"
}
],
"result_count": 1,
"status_code": 20000,
"status_message": "Ok.",
"time": "6.0257 sec."
}
],
"tasks_count": 1,
"tasks_error": 0,
"time": "6.0873 sec.",
"version": "0.1.20220819"
}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.
View API Markdown
# DataForSEO — Serp / Youtube / Video Info / Live / Advanced
Retrieve serp Youtube Video Info Live Advanced with the DataForSEO API. Review the selected endpoint’s request fields before calling. Use it to audit or monitor a site’s search visibility. Use the data to compare content across accounts or review audience feedback by video.
## Available implementations
DataForSEO · DataForSEO — Serp / Youtube / Video Info / Live / Advanced: https://openany.si/markets/apis/capabilities/dataforseo-serp-youtube-video-info-live-advanced?offering=872f6517-1537-417d-9d1b-11c0ea4fb9f7 · $0.006 / call
## Selected API contract
Documentation: https://openany.si/markets/apis/capabilities/dataforseo-serp-youtube-video-info-live-advanced
Method: POST
Endpoint: https://api.openany.si/v1/agent-apis/dataforseo/v3/serp/youtube/video_info/live/advanced
Price: $0.006 / call
Provider: DataForSEO
Contract revision: 3
Price source: OpenAny public API contract and documented provider unit rates. Price update time: not supplied.
Use OPENANY_API_KEY from the environment. API Key calls use your shared balance.
## Prepared request
```bash
curl \
'https://api.openany.si/v1/agent-apis/dataforseo/v3/serp/youtube/video_info/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": "vQXvyV0zIP4"
}
]'
```
## API contract
```json
{
"resource_type": "api",
"name": "DataForSEO — Serp / Youtube / Video Info / Live / Advanced",
"endpoint": "https://api.openany.si/v1/agent-apis/dataforseo/v3/serp/youtube/video_info/live/advanced",
"method": "POST",
"content_type": "application/json",
"execution_mode": "sync",
"authentication": {
"type": "bearer",
"environment_variable": "OPENANY_API_KEY"
},
"inputs": [
{
"description": "Live YouTube Video Info provides real-time data on the video you specify in the request. You will get data from the watching page containing key video and content metrics as well as the channel where the video is published. for more info please visit 'https://docs.dataforseo.com/v3/serp/youtube/video_info/live/advanced/?bash'",
"json_schema": {
"example": [
{
"language_code": "en",
"location_code": 2840,
"video_id": "vQXvyV0zIP4"
}
],
"items": {
"example": [
{
"language_code": "en",
"location_code": 2840,
"video_id": "vQXvyV0zIP4"
}
],
"nullable": true,
"properties": {
"device": {
"description": "device type optional field only value: desktop",
"nullable": true,
"type": "string",
"x-required-status": "optional"
},
"language_code": {
"description": "search engine language code required field if you don't specify language_name if you use this field, you don't need to specify language_name you can receive the list of available languages of the search engine with their language_code by making a separate request to the https://api.dataforseo.com/v3/serp/youtube/languages example: en",
"nullable": true,
"type": "string",
"x-required-status": "conditional"
},
"language_name": {
"description": "full name of search engine language required field if you don't specify language_code if you use this field, you don't need to specify language_code you can receive the list of available languages of the search engine with their language_name by making a separate request to the https://api.dataforseo.com/v3/serp/youtube/languages example: English",
"nullable": true,
"type": "string",
"x-required-status": "conditional"
},
"location_code": {
"description": "search engine location code required field if you don't specify location_name if you use this field, you don't need to specify location_name you can receive the list of available locations of the search engines with their location_code by making a separate request to the https://api.dataforseo.com/v3/serp/youtube/locations example: 2840",
"nullable": true,
"type": "integer",
"x-required-status": "conditional"
},
"location_name": {
"description": "full name of search engine location required field if you don't specify location_code if you use this field, you don't need to specify location_code you can receive the list of available locations of the search engine with their location_name by making a separate request to the https://api.dataforseo.com/v3/serp/youtube/locations example: United States",
"nullable": true,
"type": "string",
"x-required-status": "conditional"
},
"os": {
"description": "device operating system optional field choose from the following values: windows, macos default value: windows",
"nullable": true,
"type": "string",
"x-required-status": "optional"
},
"tag": {
"description": "user-defined task identifier optional field the character limit is 255 you can use this parameter to identify the task and match it with the result you will find the specified tag value in the data object of the response",
"nullable": true,
"type": "string",
"x-required-status": "optional"
},
"video_id": {
"description": "ID of the video required field you can find video ID in the URL or 'youtube_video' item of YouTube Organic result example: vQXvyV0zIP4",
"type": "string",
"x-required-status": "required"
}
},
"required": [
"video_id"
],
"type": "object",
"x-required-origin": "official_required_array_plus_explicit_unconditional_required_field_prose"
},
"maxItems": 1,
"minItems": 1,
"type": "array",
"x-openany-retail-scope": "single_native_task_per_sale_execution",
"x-openapi-version": "3.0.1",
"x-schema-origin": "official_openapi_with_local_refs_rebased"
},
"location": "body",
"name": "body",
"nullable": false,
"pointer": "",
"required": true,
"type": "array"
}
],
"billing": {
"currency": "USD",
"mode": "rules",
"parameters": [],
"policy_version": 2,
"sale": {
"addons": [],
"base_price_micro_usd": "6000",
"max_cost_micro_usd": "6000",
"quantities": [
{
"id": "task_errors",
"label": "任务错误数必须为零",
"max_quantity": "0",
"measure": "value",
"pointer": "/tasks_error",
"price_micro_usd": "0",
"quantity_scale": 0,
"source": "response",
"unit": "task_error",
"unit_quantity": "1"
}
],
"rounding": "ceil",
"variants": []
}
},
"examples": [
{
"http_status": 200,
"name": "Official example · 官方历史成对样例(未运行)",
"request": {
"body": [
{
"language_code": "en",
"location_code": 2840,
"video_id": "vQXvyV0zIP4"
}
],
"headers": {},
"path": {},
"query": {}
},
"response_body": {
"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_info",
"video_id": "vQXvyV0zIP4"
},
"id": "11251833-0696-0139-0000-bb6c7974de27",
"path": [
"v3",
"serp",
"youtube",
"video_info",
"live",
"advanced"
],
"result": [
{
"check_url": "https://www.youtube.com/watch?v=vQXvyV0zIP4",
"datetime": "2022-11-25 16:33:59 +00:00",
"item_types": [
"youtube_video_info"
],
"items": [
{
"category": "Autos & Vehicles",
"channel_id": "UCl1hby9X42xkXUiAVcJS81A",
"channel_logo": "https://i.ytimg.com/an/l1hby9X42xkXUiAVcJS81A/featured_channel.jpg?v=628bae09",
"channel_name": "BMW M",
"channel_url": "https://www.youtube.com/channel/UCl1hby9X42xkXUiAVcJS81A",
"comments_count": 4082,
"description": "The most powerful BMW production car there has ever been: the BMW M5 CS. Reduced in weight by 70 kg, it delivers ground-breaking performance figures and BMW M5 genes down to the smallest detail. A superior output of 635 hp catapults the high performance saloon from 0 to 100 km/h in an impressive 3.0 seconds.\nFuel consumption weighted combined in l/100km; 11.3-11.1 (NECD); 11.3-10.9 (WLTP)\nCO2 emmissions weighted combined in g/km: 258-253 (NEDC); 257-248 (WLTP)\nThe values of fuel consumptions, CO2 emissions and energy consumptions shown were determined according to the European Regulation (EC) 715/2007 in the version applicable at the time of type approval. The figures refer to a vehicle with basic configuration in Germany and the range shown considers optional equipment and the different size of wheels and tires available on the selected model. The values of the vehicles are already based on the new WLTP regulation and are translated back into NEDC-equivalent values in order to ensure the comparison between the vehicles. [With respect to these vehicles, for vehicle related taxes or other duties based (at least inter alia) on CO2-emissions the CO2 values may differ to the values stated here.] The CO2 efficiency specifications are determined according to Directive 1999/94/EC and the European Regulation in its current version applicable. The values shown are based on the fuel consumption, CO2 values and energy consumptions according to the NEDC cycle for the classification. Further information on official fuel consumption figures and specific CO2 emission values of new passenger cars is included in the following guideline: 'Leitfaden über den Kraftstoffverbrauch, die CO2-Emissionen und den Stromverbrauch neuer Personenkraftwagen' (Guide to the fuel economy, CO2 emissions and electric power consumption of new passenger cars), which can be obtained free of charge from all dealerships, from Deutsche Automobil Treuhand GmbH (DAT), Hellmuth-Hirth-Str. 1, 73760 Ostfildern-Scharnhausen and at https://www.dat.de/co2/.",
"duration_time": "02:09",
"duration_time_seconds": 129,
"is_live": false,
"keywords": [
"bmw m5 cs",
"bmw m5",
"2021 bmw m5 cs",
"new bmw m5 cs",
"m5 cs",
"bmw m5 cs 2020",
"bmw m5 cs 2021"
],
"likes_count": 0,
"publication_date": "Premiered Jan 26, 2021",
"rank_absolute": 1,
"rank_group": 1,
"streaming_quality": [
{
"bitrate": 2620334,
"fps": 25,
"height": 1080,
"label": "1080p",
"mime_type": "video/mp4; codecs=\"avc1.640028\"",
"type": "streaming_quality_element",
"width": 1920
},
{
"bitrate": 2106275,
"fps": 25,
"height": 1080,
"label": "1080p",
"mime_type": "video/webm; codecs=\"vp9\"",
"type": "streaming_quality_element",
"width": 1920
},
{
"bitrate": 1673044,
"fps": 25,
"height": 1080,
"label": "1080p",
"mime_type": "video/mp4; codecs=\"av01.0.08M.08\"",
"type": "streaming_quality_element",
"width": 1920
},
{
"bitrate": 475917,
"fps": 25,
"height": 720,
"label": "720p",
"mime_type": "video/mp4; codecs=\"avc1.64001F, mp4a.40.2\"",
"type": "streaming_quality_element",
"width": 1280
},
{
"bitrate": 827534,
"fps": 25,
"height": 720,
"label": "720p",
"mime_type": "video/mp4; codecs=\"avc1.4d401f\"",
"type": "streaming_quality_element",
"width": 1280
},
{
"bitrate": 832110,
"fps": 25,
"height": 720,
"label": "720p",
"mime_type": "video/webm; codecs=\"vp9\"",
"type": "streaming_quality_element",
"width": 1280
},
{
"bitrate": 997660,
"fps": 25,
"height": 720,
"label": "720p",
"mime_type": "video/mp4; codecs=\"av01.0.05M.08\"",
"type": "streaming_quality_element",
"width": 1280
},
{
"bitrate": 462416,
"fps": 25,
"height": 480,
"label": "480p",
"mime_type": "video/mp4; codecs=\"avc1.4d401e\"",
"type": "streaming_quality_element",
"width": 854
},
{
"bitrate": 520385,
"fps": 25,
"height": 480,
"label": "480p",
"mime_type": "video/webm; codecs=\"vp9\"",
"type": "streaming_quality_element",
"width": 854
},
{
"bitrate": 497108,
"fps": 25,
"height": 480,
"label": "480p",
"mime_type": "video/mp4; codecs=\"av01.0.04M.08\"",
"type": "streaming_quality_element",
"width": 854
},
{
"bitrate": 253214,
"fps": 25,
"height": 360,
"label": "360p",
"mime_type": "video/mp4; codecs=\"avc1.42001E, mp4a.40.2\"",
"type": "streaming_quality_element",
"width": 640
},
{
"bitrate": 303030,
"fps": 25,
"height": 360,
"label": "360p",
"mime_type": "video/mp4; codecs=\"avc1.4d401e\"",
"type": "streaming_quality_element",
"width": 640
},
{
"bitrate": 358547,
"fps": 25,
"height": 360,
"label": "360p",
"mime_type": "video/webm; codecs=\"vp9\"",
"type": "streaming_quality_element",
"width": 640
},
{
"bitrate": 289835,
"fps": 25,
"height": 360,
"label": "360p",
"mime_type": "video/mp4; codecs=\"av01.0.01M.08\"",
"type": "streaming_quality_element",
"width": 640
},
{
"bitrate": 171726,
"fps": 25,
"height": 240,
"label": "240p",
"mime_type": "video/mp4; codecs=\"avc1.4d4015\"",
"type": "streaming_quality_element",
"width": 426
},
{
"bitrate": 176123,
"fps": 25,
"height": 240,
"label": "240p",
"mime_type": "video/webm; codecs=\"vp9\"",
"type": "streaming_quality_element",
"width": 426
},
{
"bitrate": 149531,
"fps": 25,
"height": 240,
"label": "240p",
"mime_type": "video/mp4; codecs=\"av01.0.00M.08\"",
"type": "streaming_quality_element",
"width": 426
},
{
"bitrate": 103646,
"fps": 25,
"height": 144,
"label": "144p",
"mime_type": "video/mp4; codecs=\"avc1.4d400c\"",
"type": "streaming_quality_element",
"width": 256
},
{
"bitrate": 87601,
"fps": 25,
"height": 144,
"label": "144p",
"mime_type": "video/webm; codecs=\"vp9\"",
"type": "streaming_quality_element",
"width": 256
},
{
"bitrate": 75401,
"fps": 25,
"height": 144,
"label": "144p",
"mime_type": "video/mp4; codecs=\"av01.0.00M.08\"",
"type": "streaming_quality_element",
"width": 256
}
],
"subtitles": null,
"thumbnail_url": "https://i.ytimg.com/vi_webp/vQXvyV0zIP4/maxresdefault.webp?v=629bd562",
"timestamp": "2021-01-26 00:00:00 +00:00",
"title": "The first-ever BMW M5 CS.",
"type": "youtube_video_info",
"url": "https://www.youtube.com/watch?v=vQXvyV0zIP4",
"video_id": "vQXvyV0zIP4",
"views_count": 4647118
}
],
"items_count": 1,
"language_code": "en",
"location_code": 2840,
"se_domain": "youtube.com",
"spell": null,
"video_id": "vQXvyV0zIP4"
}
],
"result_count": 1,
"status_code": 20000,
"status_message": "Ok.",
"time": "6.0257 sec."
}
],
"tasks_count": 1,
"tasks_error": 0,
"time": "6.0873 sec.",
"version": "0.1.20220819"
}
}
]
}
```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. |
Official example · 官方历史成对样例(未运行)
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 Video Info provides real-time data on the video you specify in the request. You will get data from the watching page containing key video and content metrics as well as the channel where the video is published. for more info please visit 'https://docs.dataforseo.com/v3/serp/youtube/video_info/live/advanced/?bash'
Terminal · cURLcurl \ 'https://api.openany.si/v1/agent-apis/dataforseo/v3/serp/youtube/video_info/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": "vQXvyV0zIP4" } ]'Check the response
Sample response · Documented HTTP 200
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_info", "video_id": "vQXvyV0zIP4" }, "id": "11251833-0696-0139-0000-bb6c7974de27", "path": [ "v3", "serp", "youtube", "video_info", "live", "advanced" ], "result": [ { "check_url": "https://www.youtube.com/watch?v=vQXvyV0zIP4", "datetime": "2022-11-25 16:33:59 +00:00", "item_types": [ "youtube_video_info" ], "items": [ { "category": "Autos & Vehicles", "channel_id": "UCl1hby9X42xkXUiAVcJS81A", "channel_logo": "https://i.ytimg.com/an/l1hby9X42xkXUiAVcJS81A/featured_channel.jpg?v=628bae09", "channel_name": "BMW M", "channel_url": "https://www.youtube.com/channel/UCl1hby9X42xkXUiAVcJS81A", "comments_count": 4082, "description": "The most powerful BMW production car there has ever been: the BMW M5 CS. Reduced in weight by 70 kg, it delivers ground-breaking performance figures and BMW M5 genes down to the smallest detail. A superior output of 635 hp catapults the high performance saloon from 0 to 100 km/h in an impressive 3.0 seconds.\nFuel consumption weighted combined in l/100km; 11.3-11.1 (NECD); 11.3-10.9 (WLTP)\nCO2 emmissions weighted combined in g/km: 258-253 (NEDC); 257-248 (WLTP)\nThe values of fuel consumptions, CO2 emissions and energy consumptions shown were determined according to the European Regulation (EC) 715/2007 in the version applicable at the time of type approval. The figures refer to a vehicle with basic configuration in Germany and the range shown considers optional equipment and the different size of wheels and tires available on the selected model. The values of the vehicles are already based on the new WLTP regulation and are translated back into NEDC-equivalent values in order to ensure the comparison between the vehicles. [With respect to these vehicles, for vehicle related taxes or other duties based (at least inter alia) on CO2-emissions the CO2 values may differ to the values stated here.] The CO2 efficiency specifications are determined according to Directive 1999/94/EC and the European Regulation in its current version applicable. The values shown are based on the fuel consumption, CO2 values and energy consumptions according to the NEDC cycle for the classification. Further information on official fuel consumption figures and specific CO2 emission values of new passenger cars is included in the following guideline: 'Leitfaden über den Kraftstoffverbrauch, die CO2-Emissionen und den Stromverbrauch neuer Personenkraftwagen' (Guide to the fuel economy, CO2 emissions and electric power consumption of new passenger cars), which can be obtained free of charge from all dealerships, from Deutsche Automobil Treuhand GmbH (DAT), Hellmuth-Hirth-Str. 1, 73760 Ostfildern-Scharnhausen and at https://www.dat.de/co2/.", "duration_time": "02:09", "duration_time_seconds": 129, "is_live": false, "keywords": [ "bmw m5 cs", "bmw m5", "2021 bmw m5 cs", "new bmw m5 cs", "m5 cs", "bmw m5 cs 2020", "bmw m5 cs 2021" ], "likes_count": 0, "publication_date": "Premiered Jan 26, 2021", "rank_absolute": 1, "rank_group": 1, "streaming_quality": [ { "bitrate": 2620334, "fps": 25, "height": 1080, "label": "1080p", "mime_type": "video/mp4; codecs=\"avc1.640028\"", "type": "streaming_quality_element", "width": 1920 }, { "bitrate": 2106275, "fps": 25, "height": 1080, "label": "1080p", "mime_type": "video/webm; codecs=\"vp9\"", "type": "streaming_quality_element", "width": 1920 }, { "bitrate": 1673044, "fps": 25, "height": 1080, "label": "1080p", "mime_type": "video/mp4; codecs=\"av01.0.08M.08\"", "type": "streaming_quality_element", "width": 1920 }, { "bitrate": 475917, "fps": 25, "height": 720, "label": "720p", "mime_type": "video/mp4; codecs=\"avc1.64001F, mp4a.40.2\"", "type": "streaming_quality_element", "width": 1280 }, { "bitrate": 827534, "fps": 25, "height": 720, "label": "720p", "mime_type": "video/mp4; codecs=\"avc1.4d401f\"", "type": "streaming_quality_element", "width": 1280 }, { "bitrate": 832110, "fps": 25, "height": 720, "label": "720p", "mime_type": "video/webm; codecs=\"vp9\"", "type": "streaming_quality_element", "width": 1280 }, { "bitrate": 997660, "fps": 25, "height": 720, "label": "720p", "mime_type": "video/mp4; codecs=\"av01.0.05M.08\"", "type": "streaming_quality_element", "width": 1280 }, { "bitrate": 462416, "fps": 25, "height": 480, "label": "480p", "mime_type": "video/mp4; codecs=\"avc1.4d401e\"", "type": "streaming_quality_element", "width": 854 }, { "bitrate": 520385, "fps": 25, "height": 480, "label": "480p", "mime_type": "video/webm; codecs=\"vp9\"", "type": "streaming_quality_element", "width": 854 }, { "bitrate": 497108, "fps": 25, "height": 480, "label": "480p", "mime_type": "video/mp4; codecs=\"av01.0.04M.08\"", "type": "streaming_quality_element", "width": 854 }, { "bitrate": 253214, "fps": 25, "height": 360, "label": "360p", "mime_type": "video/mp4; codecs=\"avc1.42001E, mp4a.40.2\"", "type": "streaming_quality_element", "width": 640 }, { "bitrate": 303030, "fps": 25, "height": 360, "label": "360p", "mime_type": "video/mp4; codecs=\"avc1.4d401e\"", "type": "streaming_quality_element", "width": 640 }, { "bitrate": 358547, "fps": 25, "height": 360, "label": "360p", "mime_type": "video/webm; codecs=\"vp9\"", "type": "streaming_quality_element", "width": 640 }, { "bitrate": 289835, "fps": 25, "height": 360, "label": "360p", "mime_type": "video/mp4; codecs=\"av01.0.01M.08\"", "type": "streaming_quality_element", "width": 640 }, { "bitrate": 171726, "fps": 25, "height": 240, "label": "240p", "mime_type": "video/mp4; codecs=\"avc1.4d4015\"", "type": "streaming_quality_element", "width": 426 }, { "bitrate": 176123, "fps": 25, "height": 240, "label": "240p", "mime_type": "video/webm; codecs=\"vp9\"", "type": "streaming_quality_element", "width": 426 }, { "bitrate": 149531, "fps": 25, "height": 240, "label": "240p", "mime_type": "video/mp4; codecs=\"av01.0.00M.08\"", "type": "streaming_quality_element", "width": 426 }, { "bitrate": 103646, "fps": 25, "height": 144, "label": "144p", "mime_type": "video/mp4; codecs=\"avc1.4d400c\"", "type": "streaming_quality_element", "width": 256 }, { "bitrate": 87601, "fps": 25, "height": 144, "label": "144p", "mime_type": "video/webm; codecs=\"vp9\"", "type": "streaming_quality_element", "width": 256 }, { "bitrate": 75401, "fps": 25, "height": 144, "label": "144p", "mime_type": "video/mp4; codecs=\"av01.0.00M.08\"", "type": "streaming_quality_element", "width": 256 } ], "subtitles": null, "thumbnail_url": "https://i.ytimg.com/vi_webp/vQXvyV0zIP4/maxresdefault.webp?v=629bd562", "timestamp": "2021-01-26 00:00:00 +00:00", "title": "The first-ever BMW M5 CS.", "type": "youtube_video_info", "url": "https://www.youtube.com/watch?v=vQXvyV0zIP4", "video_id": "vQXvyV0zIP4", "views_count": 4647118 } ], "items_count": 1, "language_code": "en", "location_code": 2840, "se_domain": "youtube.com", "spell": null, "video_id": "vQXvyV0zIP4" } ], "result_count": 1, "status_code": 20000, "status_message": "Ok.", "time": "6.0257 sec." } ], "tasks_count": 1, "tasks_error": 0, "time": "6.0873 sec.", "version": "0.1.20220819" }
Common questions
Do I need a separate key for every provider?
Use your OpenAny API key for standard API access. Read it from OPENANY_API_KEY in your environment and keep it out of prompts, source code and logs.
Are these providers interchangeable?
No. Each offering has its own inputs, pricing and response contract. Selecting a catalog offering does not establish automatic routing or fallback. Confirm the service contract before calling.
How is this API billed?
API-key calls use your shared balance at the selected implementation's published rate. Check the billing unit and request-specific pricing rules before making a paid call. Recorded usage determines the final charge under that contract.
Where do the price and contract come from?
The selected implementation publishes its provider, request contract, revision and billing rules through OpenAny's public API catalog. A revision number identifies a contract version, not a price update date. A price update timestamp is not supplied; do not treat a page date as one.
How do OpenAny Balance and x402 differ?
OpenAny Balance uses an API key and one shared balance. Card, USDC and x402 top-ups, card auto top-up and USDC subscriptions fund that balance; available routes appear on the Credits page. Direct x402 is a separate pay-per-request flow, available only on listings that show it and requiring an authorized payment client.
Does Playground send a paid request?
Yes. After you sign in, Run sends a real API request using an active OpenAny API key. Charges follow the published API contract and use your shared balance. Selecting an implementation, editing inputs and viewing sample responses do not send requests.
Use DataForSEO — Serp / Youtube / Video Info / Live / Advanced with your agent
Inspect endpoint contracts and confirm availability and pricing before a paid call.