YouTube Channels List

1 credits/call
ae_youtube_channels_list

Find YouTube channel details by username, handle, or ID.

SocialVideoEntertainment
1 credits/call

Pricing

1 credits/call
ConditionCharge
Each call1 credits/call

Parameters

Optional parameters use the platform defaults when omitted.

ParameterTypeRequiredDescriptionDefault
hlstringNoStands for "host language". Specifies the localization language of the metadata to be filled into snippet.localized. The field is filled with the default metadata if there is no localization in the specified language. The parameter value must be a language code included in the list returned by the i18nLanguages.list method (e.g. en_US, es_MX).—
idstringNoReturn the channels with the specified IDs.—
minebooleanNoReturn the ids of channels owned by the authenticated user.—
partstringYesThe *part* parameter specifies a comma-separated list of one or more channel resource properties that the API response will include. If the parameter identifies a property that contains child properties, the child properties will be included in the response. For example, in a channel resource, the contentDetails property contains other properties, such as the uploads properties. As such, if you set *part=contentDetails*, the API response will also contain all of those nested properties.—
forHandlestringNoReturn the channel associated with a YouTube handle.—
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.—
categoryIdstringNoReturn the channels within the specified guide category ID.—
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. Official documentation lists 0 to 50. Direct API tests with a single channel id accepted 0 through 200; that lookup does not establish the maximum page size for multi-channel results.—
forUsernamestringNoReturn the channel associated with a YouTube username.—
managedByMebooleanNoReturn the channels managed by the authenticated user.—
mySubscribersbooleanNoReturn the channels subscribed to the authenticated user—
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.—

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_channels_list' \
  --header "X-Api-Key: $AGENTEARTH_API_KEY" \
  --header 'Content-Type: application/json' \
  --data-raw '{
  "params": {
    "id": "UC5q43sWUAWEw4PlpqqQ_j-Q",
    "part": "snippet,statistics"
  }
}'
Response exampleresponse.json
JSONPartial content
{
  "etag": "IppOg-uOjYP1U6k84gPjHB7U7ro",
  "items": [
    {
      "etag": "CoLiUrgpfo4MUPZKFF79N4-PYMs",
      "id": "UC5q43sWUAWEw4PlpqqQ_j-Q",
      "kind": "youtube#channel",
      "snippet": {
        "customUrl": "@acat-meow",
        "defaultLanguage": "en",
        "description": "In the quiet of the night, listening to some music to soothe the soul is pretty nice! Meow~",
        "localized": {
          "description": "In the quiet of the night, listening to some music to soothe the soul is pretty nice! Meow~",
          "title": "A Cat."
        },
        "publishedAt": "2025-03-17T17:50:15.969626Z",
        "title": "A Cat."
      },
      "statistics": {
        "hiddenSubscriberCount": false,
        "subscriberCount": "3790",
        "videoCount": "26",
        "viewCount": "1941166"
      }
    }
  ],
  "kind": "youtube#channelListResponse",
  "pageInfo": {
    "resultsPerPage": 5,
    "totalResults": 1
  }
}

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

Guides using this tool

See how this tool fits into real workflows