Skip to main content
GET
/
v1
/
youtube
/
get_search_suggestions
cURL
curl --request GET \
  --url 'https://api.keyapi.ai/v1/youtube/get_search_suggestions?keyword=Rick+Astley&language=en&region=US' \
  --header 'Authorization: Bearer <YOUR_API_KEY>'
{
  "code": 0,
  "message": "success",
  "data": {
    "keyword": "Rick Astley",
    "suggestions": [
      "rick astley never gonna give you up",
      "rick astley",
      "rick astley together forever",
      "rick astley pink pony club",
      "rick astley foo fighters",
      "rick astley never gonna give you up lyrics",
      "rick astley interview",
      "rick astley cry for help",
      "rick astley songs",
      "rick astley never gonna give you up live",
      "rick astley take me to your heart",
      "rick astley she wants to dance with me",
      "rick astley it would take a strong strong man",
      "rick astley whenever you need somebody"
    ],
    "total_count": 14
  },
  "requestId": "aca97c0b-6216-4ba0-b502-df42fb0da1d7"
}
πŸͺ™3 creditsper request

Copy for AI

πŸ€– Why Code When AI Can Do It For You?

Stop writing code like it’s 1970! Let AI do the heavy lifting - click the sparkles to copy a perfectly formatted prompt for ChatGPT, Claude, or your favorite AI assistant.

Authorizations

Authorization
string
header
required

API key for authentication. Format: sk_live_xxxxxxxxxxxxx Get your API key from the Dashboard.

Query Parameters

keyword
string
required

Search keyword

Example:

"Rick Astley"

language
string
default:en

Language code (optional, default: en) Options: en: English zh-cn: Simplified Chinese ja: Japanese ko: Korean

region
string
default:US

Region code (optional, default: US) US: United States SG: Singapore CN: China JP: Japan KR: South Korea

Response

The response is of type object.