---
title: "YouTube Channel Details API"
method: GET
path: "/v1/youtube/channel-details"
tags: ["YouTube"]
---

# YouTube Channel Details API

`GET /v1/youtube/channel-details`

## Request

- Base URL: `https://api.captapi.com`
- URL: `https://api.captapi.com/v1/youtube/channel-details`
- Auth: one of:
  - HTTP bearer
  - API key in header `X-API-Key`

YouTube channel stats — ISO country, createdAt date-only, real banner or null, quote-aware SEO tags, absolute links.

Pass a channel URL, @handle, or UC… id and get clean JSON. Canonical profile core: platform, id, username, url, displayName, bio, avatar, banner, followers, postCount, verified, createdAt. Identical-value aliases (handle/name/description/thumbnailUrl/bannerUrl/subscriberCount/videoCount/joinedAt/joinedDate) are not emitted. Also: canonicalUrl (@handle when known), followersIsApproximate (true when followers came from a K/M/B shelf label — 2.15M → 2150000), viewCount (exact when About exposes it; YouTube rounds subscribers, not views), country (ISO-3166 alpha-2) + countryName, links[{text,url}] with absolute https URLs, email when published in About/description (not the CAPTCHA reveal), and tags[] from channel SEO keywords (quote-aware — multi-word tags stay one entry). Identity-card convention: banner, country, countryName, and email stay on the key set and are null when unknown — we never substitute the avatar for a missing banner. Resolver/search rows (instagram/profile-search) omit-when-absent; that is a different class. following is omitted — YouTube does not publish a following count on the channel About card. createdAt is date-only (YYYY-MM-DD); YouTube only exposes the join day. Flat 1 credit. Cache is off by default.

Docs: https://captapi.com/apis/youtube-channel-details

## Query parameters

- `url` string, required
- `cache` boolean

## Response `200`

Success. The data object for this endpoint.

- object
  - `success` unknown, required
  - `data` object, required
    - `platform` string: Platform identifier for this response (matches the endpoint's platform).
    - `id` string: Stable platform ID for the item.
    - `username` string: Bare channel handle without @. Canonical account identifier (no handle twin).
    - `url` string: Canonical URL of the item.
    - `canonicalUrl` string: Preferred public URL — https://www.youtube.com/@handle when known, else /channel/UC….
    - `displayName` string: Channel title. Canonical human-readable name (no name twin).
    - `bio` string: Channel description. Canonical profile text (no description twin).
    - `avatar` string: Channel avatar URL. Canonical profile picture (no thumbnailUrl twin).
    - `banner` string: Channel banner when YouTube exposes one. null when none — never a downsized avatar.
    - `followers` integer: Subscriber count from YouTube's rounded display text (292K → 292000). Not always exact — see followersIsApproximate.
    - `followersIsApproximate` boolean: True when followers came from a K/M/B compact shelf label (2.15M → 2150000). False when YouTube published an exact integer. Named for the field it qualifies — subscriberCount is not emitted.
    - `postCount` integer: Public video count.
    - `viewCount` integer: Lifetime channel view count when the About panel exposes it (exact integer).
    - `country` unknown
    - `countryName` unknown
    - `createdAt` string: Channel join day as YYYY-MM-DD. YouTube only exposes day granularity — this is not a fetchedAt-style timestamp. Display-formatted About labels (joinedDate) are not emitted.
    - `verified` boolean: Whether the account is verified on this platform.
    - `links` object[]
      - `text` string: Text content.
      - `url` string: Canonical URL of the item.
    - `email` unknown
    - `tags` string[]: SEO keywords from channelMetadata. Multi-word tags stay one entry (quote-aware parse).

## Other responses

- `400`: Bad request: wrong platform URL, unknown endpoint, or an invalid parameter value. Not billed.
- `401`: Missing, invalid or revoked API key. Not billed.
- `402`: Not enough credits for this request. Not billed.
- `404`: The resource does not exist or is not public. Not billed.
- `422`: A required parameter is missing or has the wrong type. Not billed.
- `429`: Rate limit reached. Wait for Retry-After seconds. Not billed.
- `502`: The platform could not be reached or returned nothing usable. Retryable, not billed. 503 and 504 use the same envelope.

---

[API](https://skmtc.dev/captapi/apis/captapi-api.md) · [All operations](https://skmtc.dev/captapi/apis/captapi-api/llms.txt) · [OpenAPI document](https://skmtc.dev/captapi/apis/captapi-api/revisions/c9b9ac5ff1bd?raw)
