Complete a search
YouTube Autocomplete API · 5 points per successful call
Product overview and demoAll YouTube API endpointsError codes
GET
Returns the searches YouTube suggests for a partial query, in its order.
bearerAuthheader
AuthorizationBearer <token>Your API key, sent as a bearer token. In the console on this page you can leave it empty: signed in, calls run on your own plan; otherwise they run on a shared demo key after a quick human check.
query*stringPartial search to complete.
Length
1 <= length <= 100Successful response
application/json- response
meta*data*curl -X GET 'https://api.endpointry.com/v1/youtube/autocomplete?query=lofi'Example Response
{
"meta": {
"request_id": "req_7729f93d3facf68ff83e5c50",
"as_of": "2026-11-24T12:00:00.000Z",
"cache": "MISS"
},
"data": {
"suggestions": [
{
"position": 1,
"keyword": "lofi"
},
{
"position": 2,
"keyword": "lofi coffee shop"
},
{
"position": 3,
"keyword": "lofi girl"
}
]
}
}