YouTube Get Channel URL
Find a YouTube channel's handle and links using its channel ID. Input: Required channel_id string, such as UCeu6U67OzJhV1KwBansH3Dg. Enter the channel ID, not an @username or channel URL. The documented result includes: - channel_id: Channel identifier. - handle: Channel username, such as CozyCraftYT. - title: Channel name. - channel_url: Standard channel link in /channel/ format. - vanity_url: User-friendly channel link in /@username format. Use this when you already have a channel ID and want to identify the channel or display a user-friendly link.
Pricing
| 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_id | string | Yes | 频道ID/Channel ID (格式如:UCeu6U67OzJhV1KwBansH3Dg) | — |
Invocation example
Parameter templateGenerated from the parameter configuration. Replace the sample values before use.
/agent-api/v1/tool/executeX-Api-Keycurl --request POST \
--url 'https://agentearth.ai/agent-api/v1/tool/execute?tool_name=ae_youtube_get_channel_url' \
--header "X-Api-Key: $AGENTEARTH_API_KEY" \
--header 'Content-Type: application/json' \
--data-raw '{
"params": {
"channel_id": "xxx"
}
}'No response example available yet.

