YouTube Music Search

32.5 credits per successful search
ae_youtube_music_search

按关键词搜索 YouTube Music 音乐内容

AudioEntertainment
32.5 credits per successful search

Pricing

A completed search is 32.5 credits. Failed searches are free.

32.5 credits per successful search

Parameters

Optional parameters use the platform defaults when omitted.

ParameterTypeRequiredDescriptionDefault
qstringYesParameter defines the search query. You can use anything that you would use in a regular YouTube Music search: a song, an artist, an album, a playlist, a podcast, etc. Either a `q` or a `next_page_token` parameter is required.—
glenum (ae | am | ar | at | au | az | ba | bd | be | bg | bh | bo | br | by | ca | ch | cl | co | cr | cy | cz | de | dk | do | dz | ec | ee | eg | es | fi | fr | gb | ge | gh | gr | gt | hk | hn | hr | hu | id | ie | il | in | iq | is | it | jm | jo | jp | ke | kh | kr | kw | kz | la | lb | li | lk | lt | lu | lv | ly | ma | md | me | mk | mt | mx | my | ng | ni | nl | no | np | nz | om | pa | pe | pg | ph | pk | pl | pr | pt | py | qa | ro | rs | ru | sa | se | sg | si | sk | sn | sv | th | tn | tr | tw | tz | ua | ug | uk | us | uy | ve | vn | ye | za | zw)NoParameter defines the country to use for the YouTube Music search. It's a two-letter country code. (e.g., `us` for the United States, `uk` for United Kingdom, or `fr` for France)—
hlenum (af | am | ar | az | be | bg | bn | bs | ca | cs | da | de | el | en | es | es-419 | et | eu | fa | fi | fr | gl | gu | he | hi | hr | hu | hy | id | is | it | iw | ja | ka | kk | km | kn | ko | ky | lo | lt | lv | mk | ml | mn | mo | mr | ms | my | ne | nl | no | or | pa | pl | pt | pt-br | pt-pt | ro | ru | sh | si | sk | sl | sq | sr | sv | sw | ta | te | th | tl | tr | uk | ur | uz | vi | zh-cn | zh-tw | zu)NoParameter defines the language to use for the YouTube Music search. It's a two or three-letter language code. (e.g., `en` for English, `es` for Spanish, or `fr` for French), optionally followed by a two-letter or three-digit region code (e.g., `pt-br` for Brazilian Portuguese, or `es-419` for Latin American Spanish).—
filterenum (songs | videos | albums | artists | community_playlists | featured_playlists | podcasts | episodes | profiles)NoNo parameter description.—
next_page_tokenstringNoNo parameter description.—

Invocation example

Parameter template

Generated from the parameter configuration. Replace the sample values before use.

POST/agent-api/v1/tool/executeX-Api-Key
Request coderequest.sh
curl --request POST \
  --url 'https://agentearth.ai/agent-api/v1/tool/execute?tool_name=ae_youtube_music_search' \
  --header "X-Api-Key: $AGENTEARTH_API_KEY" \
  --header 'Content-Type: application/json' \
  --data-raw '{
  "params": {
    "q": "xxx"
  }
}'

No response example available yet.