OpenAny
Get API keyAPI Key
APIDataScrapers

youtube logo
YouTube Channel Details API

Get YouTube Channel Details via REST or OpenAny MCP—with pay-per-use pricing, no subscription, and no cookies required. Compare 3 implementations (LiteScrape, ScrapeCreators and TikHub), pass parameters such as channel_id, tab, and retrieve structured data including title, returned banner field, returned channel id field, description, and returned handle field for content research and account lookup, and integration reference.

Selected price
$0.00015 / callPublished pricing
Sellers / APIs
3 / 3
Requests · 30d
0Selected implementation · last 30 days
Success rate · 30d
—No requests in this period
USE THIS API

YouTube Channel Details API

Prepare your request, then continue with your agent.

Selected price

$0.00015 / call

Provider
API
Pricing
Connect your agent
On this page

Overview

Overview
YouTube Channel Details API

YouTube Channel API

Retrieve a YouTube channel's profile, videos, Shorts, playlists and posts. Provide JSON payload in body. Read the response using the field paths below, preserving identifiers and the declared value types when mapping results.

Quick Facts

Fact Value
Access OpenAny REST
Authentication OpenAny API key in the Authorization header
Core inputs query: timeout; body: body
Selected implementation litescrape · YouTube Channel
Billing Follow the selected implementation pricing, billing unit, quantity and charge rules

What You Can Build

  • Content research and account lookup: Keep source records connected to their content and account identifiers.
  • Integration reference: Use the selected request format and keep source identifiers with the returned result.

Documented Response Fields

Field Meaning
pagination.next_page_token Returned next page token field
channel_results.title Title
channel_results.banner Returned banner field
channel_results.channel_id Returned channel id field
channel_results.description Description
channel_results.handle Returned handle field
channel_results.keywords Returned keywords field
channel_results.link Returned link

Quick Start

  1. Set OPENANY_API_KEY to your OpenAny API key.
  2. Review the JSON body and supported fields shown in the request template.
  3. Check the HTTP response and business result before reading optional fields.
bash
curl \
  'https://api.openany.si/v1/agent-apis/litescrape/api/youtube/channel' \
  -X POST \
  -H "Authorization: Bearer $OPENANY_API_KEY" \
  -H 'Content-Type: application/json' \
  --data-raw '{
  "channel_id": "veritasium",
  "tab": "videos"
}'

Request and Response Examples

The response is a published documentation reference; its values may be historical. The request is an independent calling template. Use current returned identifiers and optional fields for your target resource.

Published YouTube Channel API implementation contract.

Pricing and Billing

The pricing area reflects the selected API implementation. Review its billing unit and any request-dependent rules before calling; a source service's public availability does not determine OpenAny billing.

Frequently Asked Questions

View FAQ

Related APIs

Playground

Run sends a real API request. Charges follow the published API contract.

Request parameters
body*object

body

Get a YouTube channel's profile, videos, Shorts, playlists and posts.
Total request execution budget in seconds, greater than 0 and at most 90. Supply in the query string for GET or POST. page_timeout cannot extend this budget.

Sample response

Run a request to see the actual response. Published samples are in Examples.

Response result

Sellers

SellerPricingRequests · 30dPerformanceAccess
Current
YouTube Channel · POST · View API reference
$0.00015 / call0
—successP50—
YouTube — Channel Details · GET · View API reference
$0.00188 / call—Select to load statistics
—successP50—
Get channel information · GET · View API reference
$0.001 / call—Select to load statistics
—successP50—
Selected implementation traffic · 11/3/2026 – 12/3/2026 (UTC)
Selected pricing · litescrapeUSD / call
Unit price
$0.00015

Statistics use persisted gateway logs from the last 30 days up to now, including today.
Success rate = successful requests / all requests;
P50 = median latency of successful requests.
Prices reflect the published API contract. Contract revision: 4. Price update time: not supplied.

calls

Total $0.015

API

Method
POST
Endpoint
https://api.openany.si/v1/agent-apis/litescrape/api/youtube/channel
Content type
application/json
Authentication
Authorization: Bearer $OPENANY_API_KEY
View request and response examples

Input parameters

Fields in this listing; additional options and input encoding can vary by provider.

ParameterLocationTypeRequiredDescription
timeoutURL query parametersquerynumberNo

Total request execution budget in seconds, greater than 0 and at most 90. Supply in the query string for GET or POST. page_timeout cannot extend this budget.

maximum: 90

aboutJSON request bodybodyboolean | nullNo

Include additional public channel details, such as country, join date, total views and links. Defaults to false. Omit with next_page_token. Channel profile data is returned on the first page. about=true includes additional public details. Continuation pages return content only.

channel_idJSON request bodybodystring | nullNo

Channel handle (with or without @) or a UC channel ID. Required on the first page; omit with next_page_token. Required on the first page. Use a handle such as @veritasium or a UC channel ID; full URLs are not accepted.

glJSON request bodybodystring | nullNo

Two-letter country code. Defaults to US. Omit with next_page_token.

hlJSON request bodybodystring | nullNo

Interface language, such as en or pt-BR. Defaults to en. Omit with next_page_token.

next_page_tokenJSON request bodybodystring | nullNo

Opaque pagination.next_page_token from this endpoint. Send it alone to continue the channel feed with its original settings. Tokens expire after one hour. Send next_page_token alone. The token preserves the channel, selected tab or search, sorting and locale. Use POST for long tokens. Stop when pagination.next_page_token is absent.

search_queryJSON request bodybodystring | nullNo

Search within this channel for matching videos and playlists. Cannot be combined with tab or sort. Omit with next_page_token. Omit tab and sort when searching. Matching videos and playlists appear in search_results.

sortJSON request bodybodystring | nullNo

videos, shorts and streams accept latest, popular or oldest; playlists accept dd (newest playlist) or lad (last video added). Omit with podcasts, posts, search_query or next_page_token. Videos, Shorts and streams default to latest. Playlists default to dd. Sorting uses the choices offered by YouTube.

tabJSON request bodybodystring | nullNo

Channel content tab. Defaults to videos. Omit when using search_query or next_page_token. Not every channel offers every tab. A channel without the requested tab returns an empty content group with search_information.tab_available set to false.

Required markers inside a nested object or variant apply when that object or variant is used.

Response structure

Inferred from examples
  • channel_resultsobject
    • bannerstring
    • channel_idstring
    • descriptionstring
    • handlestring
    • keywordsstring
    • linkstring
    • rss_linkstring
    • subscribersinteger
    • subscribers_textstring
    • thumbnailstring
    • thumbnailsobject[]
      • heightinteger
      • urlstring
      • widthinteger
    • titlestring
    • verifiedboolean
    • video_countinteger
    • videos_textstring
  • filtersobject[]
    • selectedboolean
    • titlestring
    • valuestring
  • paginationobject
    • next_page_tokenstring
  • search_informationobject
    • pageinteger
    • results_countinteger
    • tabstring
    • tab_availableboolean
  • search_metadataobject
    • created_atstring
    • idstring
    • processed_atstring
    • statusstring
    • total_time_takennumber
    • youtube_channel_urlstring
  • search_parametersobject
    • channel_idstring
    • glstring
    • hlstring
    • tabstring
  • submit_feedback_for_this_response_herestring
  • videos_resultsobject[]
    • extracted_viewsinteger
    • linkstring
    • metadatastring[]
    • positioninteger
    • published_datestring
    • thumbnailstring
    • thumbnailsobject[]
      • heightinteger
      • urlstring
      • widthinteger
    • titlestring
    • video_idstring
    • viewsstring

Agent integration

Copy the resource contract without sharing an API key.

Download MDView API Markdown

Error handling

StatusNext step
400Check the offering and request fields.
401 / 403Verify your credentials and access permissions.
402Inspect the selected access mode and returned payment requirements.
429Respect the returned rate limit and retry guidance.
5xxInspect the error and usage record before retrying a paid operation.

Examples

Official example

Example from the provider's documentation. Field values in your results will differ.

  1. Prepare your environment

    Use a terminal with cURL installed.

    Use an OpenAny API key with shared-balance access. Confirm availability and price before running; a call may charge your balance.

    Set the key in your terminal using the hidden prompt below. Keep its value out of source files and logs.

    Terminal · macOS / Linux
    printf 'OpenAny API key: '
    read -r -s OPENANY_API_KEY
    export OPENANY_API_KEY
    printf '\n'
  2. Run the request

    Paste the complete command below into your terminal.

    Values to replace before running 2

    Review these request fields before running. Keep the published provider and request method unchanged.

    timeout
    Total request execution budget in seconds, greater than 0 and at most 90. Supply in the query string for GET or POST. page_timeout cannot extend this budget.
    body
    Get a YouTube channel's profile, videos, Shorts, playlists and posts.
    Terminal · cURL
    curl \
      'https://api.openany.si/v1/agent-apis/litescrape/api/youtube/channel' \
      -X POST \
      -H "Authorization: Bearer $OPENANY_API_KEY" \
      -H 'Content-Type: application/json' \
      --data-raw '{
      "channel_id": "veritasium",
      "tab": "videos"
    }'
  3. Check the response

    Sample response · Documented HTTP 200

    Sample response
    {
      "channel_results": {
        "banner": "https://yt3.googleusercontent.com/sDCGwJYqtOxT-odxPiErdlwfq3jlzXh0TsYFXtSSD6rld0Be51ZUNcoE17di2u1OiCjQunbcqA=w2560-fcrop64=1,00005a57ffffa5a8-k-c0xffffffff-no-nd-rj",
        "channel_id": "UCHnyfMqiRRG1u-2MsSQLbXA",
        "description": "An element of truth - videos about science, education, and anything else we find interesting.",
        "handle": "@veritasium",
        "keywords": "\"science videos\" science \"science education\" \"science literacy\" veritasium misconceptions physics education astronomy chemistry biology teaching learning math",
        "link": "https://www.youtube.com/channel/UCHnyfMqiRRG1u-2MsSQLbXA",
        "rss_link": "https://www.youtube.com/feeds/videos.xml?channel_id=UCHnyfMqiRRG1u-2MsSQLbXA",
        "subscribers": 21300000,
        "subscribers_text": "21.3M subscribers",
        "thumbnail": "https://yt3.googleusercontent.com/7vCbvtCqtjQ3YLgsJt7Y952MQV1sBvhllSCSxHP8_sVZdcPCBrITfhkN2RdyCuwPnsByq-1GoA=s900-c-k-c0x00ffffff-no-rj",
        "thumbnails": [
          {
            "height": 900,
            "url": "https://yt3.googleusercontent.com/7vCbvtCqtjQ3YLgsJt7Y952MQV1sBvhllSCSxHP8_sVZdcPCBrITfhkN2RdyCuwPnsByq-1GoA=s900-c-k-c0x00ffffff-no-rj",
            "width": 900
          }
        ],
        "title": "Veritasium",
        "verified": true,
        "video_count": 539,
        "videos_text": "539 videos"
      },
      "filters": [
        {
          "selected": true,
          "title": "Latest",
          "value": "latest"
        },
        {
          "selected": false,
          "title": "Popular",
          "value": "popular"
        },
        {
          "selected": false,
          "title": "Oldest",
          "value": "oldest"
        }
      ],
      "pagination": {
        "next_page_token": "<opaque next-page token>"
      },
      "search_information": {
        "page": 1,
        "results_count": 1,
        "tab": "videos",
        "tab_available": true
      },
      "search_metadata": {
        "created_at": "2026-10-09T00:00:00+00:00",
        "id": "example-youtube-channel",
        "processed_at": "2026-10-09T00:00:01+00:00",
        "status": "Success",
        "total_time_taken": 1.0,
        "youtube_channel_url": "https://www.youtube.com/@veritasium/videos?hl=en&gl=US"
      },
      "search_parameters": {
        "channel_id": "veritasium",
        "gl": "US",
        "hl": "en",
        "tab": "videos"
      },
      "submit_feedback_for_this_response_here": "https://ecll-litescrape-v3--site-api-web.modal.run/api/feedback/example-not-a-valid-token",
      "videos_results": [
        {
          "extracted_views": 1200000,
          "link": "https://www.youtube.com/watch?v=ONAuUyml0yI",
          "metadata": [
            "1.2M",
            "9d ago"
          ],
          "position": 1,
          "published_date": "9d ago",
          "thumbnail": "https://i.ytimg.com/vi/ONAuUyml0yI/hqdefault.jpg?sqp=-oaymwEcCOADEI4CSFXyq4qpAw4IARUAAIhCGAFwAcABBg%3D%3D&rs=AOn4CLCcdxxWzBr1Y2HQgBBsE-7U-LD7pw",
          "thumbnails": [
            {
              "height": 270,
              "url": "https://i.ytimg.com/vi/ONAuUyml0yI/hqdefault.jpg?sqp=-oaymwEcCOADEI4CSFXyq4qpAw4IARUAAIhCGAFwAcABBg%3D%3D&rs=AOn4CLCcdxxWzBr1Y2HQgBBsE-7U-LD7pw",
              "width": 480
            }
          ],
          "title": "We're trying something new...",
          "video_id": "ONAuUyml0yI",
          "views": "1.2M"
        }
      ]
    }

Common questions

Which inputs identify this request?

Provide JSON payload in body (object). Keep identifiers and URLs in the formats documented for this implementation.

What type does timeout use?

timeout uses the JSON type number in query. Preserve that type; strings, numbers, booleans and arrays are not interchangeable.

How should I structure the JSON body?

Send the body according to its root JSON schema. Do not add a second body wrapper around the documented properties, and preserve the declared types of nested values.

How should I map the returned fields?

Use the documented response paths with their returned types. Keep null, empty collections, false and zero distinct, and retain the identifiers needed to match results to the request.

Which API key should I use?

Use your OpenAny API key as Bearer authentication on the documented OpenAny route.

Where can I check the current request price?

Check the pricing area for the selected API implementation. Follow its billing unit, quantity and any request-dependent rules before sending the request.

Use YouTube Channel Details API with your agent

Inspect endpoint contracts and confirm availability and pricing before a paid call.