Sand AISand AI MAGI-2MAGI-2 अब SandBase पर है: 1080p वीडियो, नेटीव ऑडियो के साथअभी आज़माएँ

YouTube Channel URL Lookup

API दस्तावेज़
https://api.sandbase.ai/v1/api/youtube/web/channel-url

Returns the standard channel URL and vanity handle URL for a specified YouTube channel. Takes a unique channel ID as input to resolve public web addresses.

मूल्य
$0.001USD / कॉल
मेथड
POST
प्रतिक्रिया
JSON
पैरामीटर
1 आवश्यक · 0 वैकल्पिक

प्लेग्राउंड

इनपुट
Channel ID (e.g., UCeu6U67OzJhV1KwBansH3Dg)
आउटपुटउदाहरण
प्रतिक्रियाoutputs · 218 B · 9 पंक्तियाँ
[
  {
    "data": {
      "channel_id": "UCeu6U67OzJhV1KwBansH3Dg",
      "channel_url": "https://www.youtube.com/channel/UCeu6U67OzJhV1KwBansH3Dg",
      "vanity_url": "http://www.youtube.com/@CozyCraftYT"
    }
  }
]

उदाहरण

प्लेग्राउंड में इसके इनपुट और परिणाम लोड करने के लिए कोई उदाहरण चुनें।

API README

YouTube Channel URL Lookup API

Returns the standard channel URL and the vanity handle URL for a YouTube channel. It needs one input, the channel ID in the channel_id parameter.

Use cases

  • Turn a stored channel ID into a clickable YouTube channel link.
  • Find the @handle URL of a creator when your database only holds the channel ID.
  • Check that the channel IDs in a creator list resolve to public web addresses.
  • Add both link formats to a profile page or export for a channel.

Request

curl -X POST "https://api.sandbase.ai/v1/api/youtube/web/channel-url" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"channel_id": "UCeu6U67OzJhV1KwBansH3Dg"}'

The result is returned in outputs[0].data.

Parameters

NameTypeRequiredDescription
channel_idstringYesChannel ID (e.g., UCeu6U67OzJhV1KwBansH3Dg)

Example response

Real response for the request above, trimmed: lists keep their first item and long strings are cut.

{
  "channel_id": "UCeu6U67OzJhV1KwBansH3Dg",
  "channel_url": "https://www.youtube.com/channel/UCeu6U67OzJhV1KwBansH3Dg",
  "vanity_url": "http://www.youtube.com/@CozyCraftYT"
}

Response fields

FieldMeaning
channel_idThe channel ID you sent in the request, echoed back. It starts with UC.
channel_urlThe channel page URL built from the channel ID, in the form https://www.youtube.com/channel/<channel_id>.
vanity_urlThe channel page URL that uses the creator's @handle, for example http://www.youtube.com/@CozyCraftYT. This value uses http rather than https.

Notes

Pricing

$0.001 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.

और जानें

संबंधित APIs

सभी APIs
APIकीमतप्रतिक्रिया
YouTube$0.001 प्रति कॉलJSON
YouTube$0.001 प्रति कॉलJSON
YouTube$0.001 प्रति कॉलJSON
YouTube$0.001 प्रति कॉलJSON
YouTube$0.001 प्रति कॉलJSON
YouTube$0.001 प्रति कॉलJSON

गाइड्स:Best YouTube API in 2026: Pricing Compared

प्रश्न

FAQ

YouTube Channel URL Lookup API का उपयोग कैसे करें?

https://api.sandbase.ai/v1/api/youtube/web/channel-url पर Authorization header (Bearer) में अपनी SandBase API key और parameters को JSON body के रूप में भेजें। आप इस पेज के Playground में बिना code लिखे भी इसे आज़मा सकते हैं।

YouTube Channel URL Lookup API की लागत कितनी है?

$0.001 प्रति call, आपकी SandBase balance से बिल किया जाएगा। आपसे केवल आपके किए गए calls के लिए शुल्क लिया जाता है; कोई subscription नहीं है।

YouTube Channel URL Lookup API कौन-से parameters स्वीकार करती है?

आवश्यक: channel_id (string)। Parameters table और इस पेज का Playground हर field सूचीबद्ध करते हैं।

YouTube Channel URL Lookup API क्या लौटाती है?

एक JSON response जो उसी HTTP request में लौटाया जाता है (synchronous)। इस पेज का README एक sample response शामिल करता है।

क्या मुझे एक YouTube developer account या API key चाहिए?

नहीं। YouTube Channel URL Lookup SandBase के माध्यम से चलता है, इसलिए एक SandBase API key इस endpoint और catalog के हर अन्य API और model को कवर करती है। आपको अलग से YouTube API access के लिए आवेदन करने की आवश्यकता नहीं है।