YouTube Get Channel ID
2.07 credits/call
ae_youtube_get_channel_id
Look up a YouTube channel ID by channel name. Input: - channel_name (required string): The channel name, for example "LinusTechTips". Returns: - A response containing the channel ID lookup data. The exact structure of the response data is not specified; do not assume the response is a plain ID string. Example input: {"channel_name":"LinusTechTips"}
2.07 credits/call
Pricing
2.07 credits/call
| Condition | Charge |
|---|---|
| Each call | 2.07 credits/call |
2.07 credits/call Charges are per query. A successful query is billed even if it returns no results.
Parameters
Optional parameters use the platform defaults when omitted.
| Parameter | Type | Required | Description | Default |
|---|---|---|---|---|
channel_name | string | Yes | 频道名称/Channel name | — |
Invocation example
Copy the request and explore its response example.
POST
/agent-api/v1/tool/executeX-Api-KeyRequest coderequest.sh
curl --request POST \
--url 'https://agentearth.ai/agent-api/v1/tool/execute?tool_name=ae_youtube_get_channel_id' \
--header "X-Api-Key: $AGENTEARTH_API_KEY" \
--header 'Content-Type: application/json' \
--data-raw '{
"params": {
"channel_name": "Maestri House"
}
}'Response exampleresponse.json
{
"code": 200,
"data": {
"detail": "1 validation error for ChannelId\nchannel_id\n Input should be a valid string [type=string_type, input_value=None, input_type=NoneType]\n For further information visit https://errors.pydantic.dev/2.14/v/string_type"
},
"docs": "https://api.tikhub.io/#/YouTube-Web-API/get_channel_id_api_v1_youtube_web_get_channel_id_get",
"message": "Request successful. This request will incur a charge.",
"message_zh": "请求成功,本次请求将被计费。",
"params": {
"channel_name": "Maestri House"
}
}This example shows part of the response. Copied content is valid JSON.

