youtube
YouTube Suggestions
Each source declares supported modes, a JSON input schema, and an upper-bound credit estimate.
realtimeasyncbatch1 credits estimated
Request example
Send parameters inside params. The server rejects unknown fields.
youtube_suggestions
{
"params": {
"query": "<query>"
},
"source": "youtube_suggestions"
}Input JSON Schema
schema.json
{
"additionalProperties": false,
"properties": {
"query": {
"maxLength": 2000,
"minLength": 1,
"type": "string"
},
"language": {
"maxLength": 35,
"minLength": 1,
"pattern": "^[A-Za-z0-9-]+$",
"type": "string"
},
"region": {
"maxLength": 2,
"minLength": 2,
"pattern": "^[A-Za-z]{2}$",
"type": "string"
}
},
"required": [
"query"
],
"type": "object"
}