Google Videos
Search Google Videos via API and retrieve structured video results with metadata.
Credit cost: 1 credit per call
Autorização
ApiKeyAuth x-api-key<token>
Your API key. Include it in the x-api-key header for every request.
In: header
Parâmetros de consulta
query*string
The search query you want to run on Google Videos.
location?string
Human-readable location to originate the search from. Note: location and uule cannot be used together.
uule?string
Google encoded location parameter. Note: uule and location cannot be used together.
gl?string
Country to use for the search (two-letter country code).
hl?string
Language to use for the search (two-letter language code).
page*number
Page number for pagination (1 = first page).
Default
"1"num?number
Maximum number of results per page (e.g. 10).
Default
"10"Corpo da resposta
application/json
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/v1/google/videos?query=string&page=1"{ "organic_results": [ { "date": "3 days ago", "link": "https://www.youtube.com/watch?v=aPrC0eXns9w", "title": "Why Paris Is Extending One Of Its Metro Lines...", "domain": "www.youtube.com", "source": "YouTube", "channel": "The Tim Traveller", "snippet": "Paris is about to open its first urban cable car line.", "duration": "4:19", "position": 2, "video_id": "aPrC0eXns9w" } ], "search_parameters": { "q": "paris", "gl": "us", "hl": "en", "page": 1, "engine": "google_videos" }}{ "error": "Bad Request"}{ "error": "Invalid API Key"}{ "error": "Payment required"}{ "error": "Rate limit exceeded for the API key: quota monthly"}{ "error": "Internal Error"}