Skip to main content
GET
Reference example

Request contract

  • Method and path: GET /apis/v1/serpapi/youtube-search-videos
  • Availability: enabled
  • Request URL template: https://api.aisa.one/apis/v1/serpapi/youtube-search-videos
  • async: query; required
  • engine: query; required
  • gl: query; optional
  • hl: query; optional
  • output: query; required
  • search_query: query; required
  • sp: query; optional
  • zero_trace: query; required
  • Runtime facts: 1d8d2010628130bd331b470b564dd1cd5784989899ccf3e384a8de02a69e0558
Complete OpenAPI definition Effective request and pricing declaration (including authentication and referenced schemas):

Cost and request rules

Usage-based billing; Default request estimate: $0.015 USD (not a fixed price). Declared unit rate: $0.000001 USD per provider_credit. Account-specific pricing and final settlement may differ. Published reference values are not an account-specific quote or a settled charge. For endpoints supporting X-AISA-Cost-Mode: quote, obtain a free quote for your exact request before execution; reconcile the settled cost with response metadata and Usage Logs. USD amounts use 1,000,000 integer micro-USD per dollar.
  • Default request reference estimate (USD): 0.015
  • Declared unit rate (USD): 1e-06
  • Billing unit: provider_credit
  • Cost contract: response_units
  • Published reference multiplier: 1.0
  • Settlement evidence source: response_header

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

async
enum<boolean>
required
Available options:
false
engine
enum<string>
required
Available options:
youtube
Minimum string length: 1
gl
string

country code, e.g. us

Example:

"us"

hl
string

interface language code, e.g. en

Example:

"en"

output
enum<string>
required
Available options:
json
Minimum string length: 1
search_query
string
required

THE QUERY PARAM IS search_query, NOT q — sending q to this engine returns nothing

Example:

"coffee"

sp
string

YouTube's encoded filter/pagination token — carries sort order, upload date and result-type filters

zero_trace
enum<boolean>
required
Available options:
false

Response

Successful response