# DataForSEO — Serp / Youtube / Organic / Live / Advanced

Get Serp / Youtube / Organic / Live / 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.

Documentation: https://openany.si/dataforseo/dataforseo-serp-youtube-organic-live-advanced/c96ff196-d2d9-4907-a84f-4278fd5bf4d8/
API ID: c96ff196-d2d9-4907-a84f-4278fd5bf4d8
Provider: DataForSEO
Contract revision: 4
Method: POST
Endpoint: https://api.openany.si/v1/agent-apis/dataforseo/v3/serp/youtube/organic/live/advanced
Page update time: 2026-12-03T02:50:38.433Z
Access: OpenAny REST
OpenAny MCP: availability is not supplied by this REST contract. Check get_api on the configured OpenAny MCP server before execution.
Request content type: application/json
Execution mode: sync
Authentication: Authorization: Bearer $OPENANY_API_KEY

## Billing
Price: $0.002 / call
API-key calls use your shared balance. Review the published billing rules before making a paid request.
Price source: OpenAny public API contract.
Contract update time: 2026-12-03T02:50:38.031Z. This is not a price-change timestamp.
```json
{
  "currency": "USD",
  "mode": "rules",
  "parameters": [],
  "policy_version": 2,
  "sale": {
    "addons": [],
    "base_price_micro_usd": "2000",
    "max_cost_micro_usd": "2000",
    "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": []
  }
}
```

## Usage and limits
## DataForSEO Serp / Youtube / Organic / Live / Advanced API

Retrieve serp Youtube Organic 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.

## 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 |

## Request parameters
```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "DataForSEO — Serp / Youtube / Organic / Live / Advanced request inputs",
  "$comment": "Declared input types grouped by HTTP location. Path, query and header values describe decoded inputs and are serialized as text on the wire; body is the payload. This is not an exhaustive provider contract or a schema for the raw HTTP request.",
  "type": "object",
  "properties": {
    "path": {
      "type": "object",
      "properties": {}
    },
    "query": {
      "type": "object",
      "properties": {}
    },
    "headers": {
      "type": "object",
      "properties": {}
    },
    "body": {
      "example": [
        {
          "keyword": "audi",
          "language_code": "en",
          "location_code": 2840
        }
      ],
      "items": {
        "example": [
          {
            "keyword": "audi",
            "language_code": "en",
            "location_code": 2840
          }
        ],
        "nullable": true,
        "properties": {
          "block_depth": {
            "default": 20,
            "description": "parsing depth optional field number of blocks of results in SERP default value: 20 max value: 200 Note: your account will be billed per each SERP containing up to 20 results; thus, setting a block depth above 20 may result in additional charges if the search engine returns more than 20 results; if the specified block depth is higher than the number of results in the response, the difference will be refunded automatically to your account balance",
            "maximum": 200,
            "nullable": true,
            "type": "integer",
            "x-constraints-from-official-description": [
              "default",
              "maximum"
            ],
            "x-required-status": "optional"
          },
          "device": {
            "description": "device type optional field return results for a specific device type available values: desktop, mobile",
            "nullable": true,
            "type": "string",
            "x-required-status": "optional"
          },
          "keyword": {
            "description": "keyword required field you can specify up to 700 characters in the keyword field all %## will be decoded (plus character ‘+’ will be decoded to a space character) if you need to use the “%” character for your keyword, please specify it as “%25”; if you need to use the “+” character for your keyword, please specify it as “%2B”; learn more about rules and limitations of keyword and keywords fields in DataForSEO APIs in this Help Center article",
            "type": "string",
            "x-required-status": "required"
          },
          "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 if you specify desktop in the device field, choose from the following values: windows, macos default value: windows if you specify mobile in the device field, choose from the following values: android, ios default value: android",
            "nullable": true,
            "type": "string",
            "x-required-status": "optional"
          },
          "search_param": {
            "description": "additional parameters of the search query optional field example: sp=EgIQAg%253D%253D",
            "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"
          }
        },
        "required": [
          "keyword"
        ],
        "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",
      "description": "Live SERP provides real-time data on the top 20 blocks of YouTube search engine results. These results are specific to the selected location (see the List of Locations) and language (see the List of Languages) settings. for more info please visit 'https://docs.dataforseo.com/v3/serp/youtube/organic/live/advanced/'"
    }
  },
  "required": [
    "path",
    "query",
    "headers",
    "body"
  ]
}
```

## Response fields
Source: Inferred from examples; not an exhaustive provider schema.
```json
{
  "type": "object",
  "properties": {
    "cost": {
      "type": "number"
    },
    "status_code": {
      "type": "integer"
    },
    "status_message": {
      "type": "string"
    },
    "tasks": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "cost": {
            "type": "number"
          },
          "data": {
            "type": "object",
            "properties": {
              "api": {
                "type": "string"
              },
              "device": {
                "type": "string"
              },
              "function": {
                "type": "string"
              },
              "keyword": {
                "type": "string"
              },
              "language_code": {
                "type": "string"
              },
              "location_code": {
                "type": "integer"
              },
              "os": {
                "type": "string"
              },
              "se": {
                "type": "string"
              },
              "se_type": {
                "type": "string"
              }
            }
          },
          "id": {
            "type": "string"
          },
          "path": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "result": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "check_url": {
                  "type": "string"
                },
                "datetime": {
                  "type": "string"
                },
                "item_types": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                },
                "items": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "badges": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        }
                      },
                      "block_name": {
                        "type": "null"
                      },
                      "block_rank": {
                        "type": "integer"
                      },
                      "channel_id": {
                        "type": "string"
                      },
                      "channel_logo": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "channel_name": {
                        "type": "string"
                      },
                      "channel_url": {
                        "type": "string"
                      },
                      "description": {
                        "type": "string"
                      },
                      "duration_time": {
                        "type": "string"
                      },
                      "duration_time_seconds": {
                        "type": "integer"
                      },
                      "highlighted": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        }
                      },
                      "is_live": {
                        "type": "boolean"
                      },
                      "is_movie": {
                        "type": "null"
                      },
                      "is_shorts": {
                        "type": "boolean"
                      },
                      "publication_date": {
                        "type": "string"
                      },
                      "rank_absolute": {
                        "type": "integer"
                      },
                      "rank_group": {
                        "type": "integer"
                      },
                      "thumbnail_url": {
                        "type": "string"
                      },
                      "timestamp": {
                        "type": "string"
                      },
                      "title": {
                        "type": "string"
                      },
                      "type": {
                        "type": "string"
                      },
                      "url": {
                        "type": "string"
                      },
                      "video_id": {
                        "type": "string"
                      },
                      "views_count": {
                        "type": "integer"
                      },
                      "is_verified": {
                        "type": "boolean"
                      },
                      "logo": {
                        "type": "string"
                      },
                      "name": {
                        "type": "string"
                      },
                      "video_count": {
                        "type": "integer"
                      },
                      "playlist_id": {
                        "type": "string"
                      },
                      "preview_videos": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "properties": {
                            "duration_time": {
                              "type": "string"
                            },
                            "duration_time_second": {
                              "type": "integer"
                            },
                            "title": {
                              "type": "string"
                            },
                            "url": {
                              "type": "string"
                            },
                            "video_id": {
                              "type": "string"
                            }
                          }
                        }
                      },
                      "videos_count": {
                        "type": "integer"
                      }
                    }
                  }
                },
                "items_count": {
                  "type": "integer"
                },
                "keyword": {
                  "type": "string"
                },
                "language_code": {
                  "type": "string"
                },
                "location_code": {
                  "type": "integer"
                },
                "refinement_chips": {
                  "type": "null"
                },
                "se_domain": {
                  "type": "string"
                },
                "se_results_count": {
                  "type": "integer"
                },
                "spell": {
                  "type": "null"
                }
              }
            }
          },
          "result_count": {
            "type": "integer"
          },
          "status_code": {
            "type": "integer"
          },
          "status_message": {
            "type": "string"
          },
          "time": {
            "type": "string"
          }
        }
      }
    },
    "tasks_count": {
      "type": "integer"
    },
    "tasks_error": {
      "type": "integer"
    },
    "time": {
      "type": "string"
    },
    "version": {
      "type": "string"
    }
  }
}
```

## Request example
Scenario: Official example · 官方历史成对样例（未运行） (HTTP assumed)
```bash
curl \
  'https://api.openany.si/v1/agent-apis/dataforseo/v3/serp/youtube/organic/live/advanced' \
  -X POST \
  -H "Authorization: Bearer $OPENANY_API_KEY" \
  -H 'Content-Type: application/json' \
  --data-raw '[
  {
    "keyword": "audi",
    "language_code": "en",
    "location_code": 2840
  }
]'
```

## Response example
Example from the provider's documentation. Field values in your results will differ.
Sample response · Configured HTTP 200; actual status is unverified.
```json
{
  "cost": 0.002,
  "status_code": 20000,
  "status_message": "Ok.",
  "tasks": [
    {
      "cost": 0.002,
      "data": {
        "api": "serp",
        "device": "desktop",
        "function": "live",
        "keyword": "audi",
        "language_code": "en",
        "location_code": 2840,
        "os": "windows",
        "se": "youtube",
        "se_type": "organic"
      },
      "id": "12301655-1535-0139-0000-3376a75a8576",
      "path": [
        "v3",
        "serp",
        "youtube",
        "organic",
        "live",
        "advanced"
      ],
      "result": [
        {
          "check_url": "https://www.youtube.com/results?search_query=audi",
          "datetime": "2022-12-30 14:55:27 +00:00",
          "item_types": [
            "youtube_video",
            "youtube_channel",
            "youtube_playlist"
          ],
          "items": [
            {
              "badges": [
                "New",
                "4K"
              ],
              "block_name": null,
              "block_rank": 1,
              "channel_id": "UC2MrtVb1dT4FhcbOlW736kA",
              "channel_logo": "https://yt3.ggpht.com/R90alWqdmbF6Z_Hj6qZ3KaI7HDRMfFIfrdOgwLyXCii6GUuiW1YJs-2JDyRiDKoc8R-_X0nGPdQ=s68-c-k-c0x00ffffff-no-rj",
              "channel_name": "Redline Reviews",
              "channel_url": "https://www.youtube.com/@theredline",
              "description": "When you need an # Audi vehicle with 3-rows of seating, the #AudiQ7 is the only vehicle in the lineup that can fit that bill. For 2023 ...",
              "duration_time": "23:26",
              "duration_time_seconds": 1406,
              "highlighted": [
                "Audi"
              ],
              "is_live": false,
              "is_movie": null,
              "is_shorts": false,
              "publication_date": "43 minutes ago",
              "rank_absolute": 1,
              "rank_group": 1,
              "thumbnail_url": "https://i.ytimg.com/vi/lrPvFuz8Leg/hq720.jpg?sqp=-oaymwEcCNAFEJQDSFXyq4qpAw4IARUAAIhCGAFwAcABBg==&rs=AOn4CLC4RyEK7ntuK_hkLAMXOdFmcZNz6w",
              "timestamp": "2022-12-30 14:12:23 +00:00",
              "title": "The 2023 Audi Q7 55 TFSI Is An Ultra Quiet & Comfortable Luxury 3-Row SUV",
              "type": "youtube_video",
              "url": "https://www.youtube.com/watch?v=lrPvFuz8Leg",
              "video_id": "lrPvFuz8Leg",
              "views_count": 1004
            },
            {
              "block_name": null,
              "block_rank": 1,
              "channel_id": "UCO5ujNeWRIwP4DbCZqZWcLw",
              "description": "The official Audi YouTube Channel. From the beginning, advanced technology has been at the very heart of the Audi DNA.",
              "highlighted": [
                "Audi",
                "Audi"
              ],
              "is_verified": true,
              "logo": "https://yt3.googleusercontent.com/ytc/AMLnZu_iyn_apm6S6bi0P-nBUNil4mgAum9opQJGWeea=s176-c-k-c0x00ffffff-no-rj-mo",
              "name": "Audi",
              "rank_absolute": 9,
              "rank_group": 1,
              "type": "youtube_channel",
              "url": "https://www.youtube.com/@Audi",
              "video_count": 0
            },
            {
              "block_name": null,
              "block_rank": 3,
              "channel_id": "UCxaux2CGJvqAkGn5ohSQxdA",
              "channel_logo": null,
              "channel_name": "Tech Editing info Master",
              "channel_url": "https://www.youtube.com/channel/UCxaux2CGJvqAkGn5ohSQxdA",
              "playlist_id": "PLeeA6TGUlbkZBi7TYks-CbPnFMsjjB5Be",
              "preview_videos": [
                {
                  "duration_time": "10:08",
                  "duration_time_second": 608,
                  "title": "McQueen Car Assembly Surprise Soccer Ball | Street Vehicle with Learn Colors for Kids",
                  "url": "https://www.youtube.com/watch?v=i2mV0LApDTA&list=PLeeA6TGUlbkZBi7TYks-CbPnFMsjjB5Be",
                  "video_id": "i2mV0LApDTA"
                },
                {
                  "duration_time": "2:01",
                  "duration_time_second": 121,
                  "title": "Learn Colors with Dump truck & Soccer Balls | Learning Videos for Children | Cartoons for Kids",
                  "url": "https://www.youtube.com/watch?v=-tAQGxcRaaI&list=PLeeA6TGUlbkZBi7TYks-CbPnFMsjjB5Be",
                  "video_id": "-tAQGxcRaaI"
                }
              ],
              "rank_absolute": 3,
              "rank_group": 2,
              "thumbnail_url": "https://i.ytimg.com/vi/i2mV0LApDTA/hqdefault.jpg?sqp=-oaymwEXCNACELwBSFryq4qpAwkIARUAAIhCGAE=&rs=AOn4CLAbEK6cprhXavg6sjhL92EleU9O9w",
              "title": "McQueen Car Assembly Surprise Soccer Ball | Street Vehicle with Learn Colors for Kids",
              "type": "youtube_playlist",
              "url": "https://www.youtube.com/playlist?list=PLeeA6TGUlbkZBi7TYks-CbPnFMsjjB5Be",
              "videos_count": 81
            }
          ],
          "items_count": 65,
          "keyword": "audi",
          "language_code": "en",
          "location_code": 2840,
          "refinement_chips": null,
          "se_domain": "youtube.com",
          "se_results_count": 32629053,
          "spell": null
        }
      ],
      "result_count": 1,
      "status_code": 20000,
      "status_message": "Ok.",
      "time": "11.0339 sec."
    }
  ],
  "tasks_count": 1,
  "tasks_error": 0,
  "time": "11.0835 sec.",
  "version": "0.1.20221214"
}
```

## Error handling
400: Check the request fields.
401 / 403: Verify credentials and access permissions.
402: Inspect payment requirements and balance.
429: Respect returned retry guidance.
5xx: Inspect the error and usage record before retrying a paid operation.

## Common questions
### Which inputs identify this request?
Provide JSON payload in body (array). Keep identifiers and URLs in the formats documented for this implementation.

### How should I structure the JSON body?
Send the body according to its root JSON schema. Do not add a second body wrapper around the documented properties, and preserve the declared types of nested values.

### How should I map the returned fields?
Use the documented response paths with their returned types. Keep null, empty collections, false and zero distinct, and retain the identifiers needed to match results to the request.

### Can I reuse request parameters from another endpoint?
Use the selected implementation schema. Similar operation names, providers or versions do not establish identical input locations, types or response fields.

### Which API key should I use?
Use your OpenAny API key as Bearer authentication on the documented OpenAny route.

### Where can I check the current request price?
Check the pricing area for the selected API implementation. Follow its billing unit, quantity and any request-dependent rules before sending the request.

## Available implementations
- DataForSEO: https://openany.si/dataforseo/dataforseo-serp-youtube-organic-live-advanced/c96ff196-d2d9-4907-a84f-4278fd5bf4d8/

Integration guide: https://openany.si/docs/
Agent setup: https://openany.si/SKILL.md
