YouTube Search List

1 credits/call
ae_youtube_search_list

Search for YouTube videos, channels, and playlists by keywords, topics, or location.

VideoSocialEntertainment
1 credits/call

Pricing

1 credits/call
ConditionCharge
Each call1 credits/call

Parameters

Optional parameters use the platform defaults when omitted.

ParameterTypeRequiredDescriptionDefault
qstringNoTextual search terms to match.—
partenum (snippet)YesThe *part* parameter specifies a comma-separated list of one or more search resource properties that the API response will include. Set the parameter value to snippet.—
typestringNoRestrict results to a particular set of resource types from One Platform.—
orderenum (searchSortUnspecified | date | rating | viewCount | relevance | title | videoCount)NoSort order of the results.—
forMinebooleanNoSearch for the private videos of the authenticated user.—
topicIdstringNoRestrict results to a particular topic.—
locationstringNoFilter on location of the video—
channelIdstringNoFilter on resources belonging to this channelId.—
eventTypeenum (none | upcoming | live | completed)NoFilter on the livestream status of the videos.—
pageTokenstringNoOptional opaque pagination token. Omit on the first request. To fetch the next page, copy nextPageToken exactly from the previous response into pageToken and call this same endpoint again, keeping the playlist/channel/video identifiers, filters, part and other query settings unchanged. Use prevPageToken to go back when provided. Do not invent tokens or use a token from another query. Stop when nextPageToken is absent; no nextPageToken means no further page is advertised, even if a page contains fewer items than maxResults.—
videoTypeenum (videoTypeUnspecified | any | movie | episode)NoFilter on videos of a specific type.—
maxResultsintegerNoMaximum number of items requested per page, not a limit on the total query results. Use nextPageToken as pageToken to retrieve subsequent pages when available. Direct API tests accepted values above 50 but capped the effective page size at 50; requesting more does not increase page size. Zero is accepted and can return an empty page.—
regionCodestringNoDisplay the content as seen by viewers in this country.—
safeSearchenum (safeSearchSettingUnspecified | none | moderate | strict)NoIndicates whether the search results should include restricted content as well as standard content.—
channelTypeenum (channelTypeUnspecified | any | show)NoAdd a filter on the channel search.—
forDeveloperbooleanNoRestrict the search to only retrieve videos uploaded using the project id of the authenticated user.—
videoCaptionenum (videoCaptionUnspecified | any | closedCaption | none)NoFilter on the presence of captions on the videos.—
videoLicenseenum (any | youtube | creativeCommon)NoFilter on the license of the videos.—
videoDurationenum (videoDurationUnspecified | any | short | medium | long)NoFilter on the duration of the videos.—
locationRadiusstringNoFilter on distance from the location (specified above).—
publishedAfterstringNoFilter on resources published after this date.—
videoDimensionenum (any | 2d | 3d)NoFilter on 3d videos.—
forContentOwnerbooleanNoSearch owned by a content owner.—
publishedBeforestringNoFilter on resources published before this date.—
videoCategoryIdstringNoFilter on videos in a specific category.—
videoDefinitionenum (any | standard | high)NoFilter on the definition of the videos.—
videoEmbeddableenum (videoEmbeddableUnspecified | any | true)NoFilter on embeddable videos.—
videoSyndicatedenum (videoSyndicatedUnspecified | any | true)NoFilter on syndicated videos.—
relevanceLanguagestringNoReturn results relevant to this language.—
onBehalfOfContentOwnerstringNo*Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwner* parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication credentials for each individual channel. The CMS account that the user authenticates with must be linked to the specified YouTube content owner.—
videoPaidProductPlacementenum (videoPaidProductPlacementUnspecified | any | true)NoFilter by paid product placement status. Options: videoPaidProductPlacementUnspecified, any, true.—

Invocation example

Copy the request and explore its response example.

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_search_list' \
  --header "X-Api-Key: $AGENTEARTH_API_KEY" \
  --header 'Content-Type: application/json' \
  --data-raw '{
  "params": {
    "maxResults": 50,
    "order": "date",
    "part": "snippet",
    "publishedAfter": "2026-11-04T16:00:00Z",
    "publishedBefore": "2026-11-12T03:03:26.565Z",
    "q": "Huawei glasses",
    "type": "video"
  }
}'
Response exampleresponse.json
JSONPartial content
{
  "etag": "Z_vlPJLLIQMWe3e5UYo0E3zR-WA",
  "items": [
    {
      "etag": "HuAJ-U7bH-QPeHE--MWYJljBySs",
      "id": {
        "kind": "youtube#video",
        "videoId": "G7h1xLFwiPM"
      },
      "kind": "youtube#searchResult",
      "snippet": {
        "channelId": "UCoZQStUZBYPDytmcyhhRsTA",
        "channelTitle": "1 วัน 1000 เรื่องราว",
        "description": "รีวิวแว่นตาเสียงอัจฉริยะ (Smart Audio Glasses) ศูนย์ไทยแท้ 2 รุ่นเด่นที่รองรับการตัดเลนส์สายตาจริง ได้แก่ OWNDAYS × HUAWEI Eyewear ...",
        "liveBroadcastContent": "none",
        "publishTime": "2026-11-11T05:12:00Z",
        "title": "แว่น AI EP.6 OWNDAYS vs Xiaomi แว่นเสียงตัดเลนส์"
      }
    }
  ],
  "kind": "youtube#searchListResponse",
  "pageInfo": {
    "resultsPerPage": 2,
    "totalResults": 54
  },
  "regionCode": "SG"
}

This example shows part of the response. Copied content is valid JSON.