logo
YouTubeYouTube Channel Videos

YouTube Channel Videos

List videos from a YouTube channel.

Pricing: 2 credits per call

curl -X POST "https://v3-api.texau.com/api/v1/youtube_channel_videos" \
  -H "Content-Type: application/json" \
  -H "x-api-key: YOUR_API_KEY" \
  -d '{
  "url": "https://www.youtube.com/@Google",
  "max_results": 42,
  "cache": true
}'
{
  "data": {
    "videos": [
      {
        "video_id": "example_string",
        "title": "example_string",
        "view_count": 10,
        "duration": "example_string",
        "publish_date": "example_string",
        "thumbnail": "example_string"
      }
    ],
    "channel_name": "John Doe",
    "total_fetched": 42
  },
  "meta": {
    "cache_hit": true,
    "execution_time_ms": 42
  }
}
POST
/youtube_channel_videos
POST
API Key (header: x-api-key)
x-api-keystring
Required

Your TexAu API key. Contact TexAu to obtain one.

Your TexAu API key. Contact TexAu to obtain one.
Content-Typestring
Required

The media type of the request body

Options: application/json
urlstring
Required

YouTube channel URL

max_resultsinteger

Maximum number of videos to return

Request Preview
Response

Response will appear here after sending the request

Authentication

header
x-api-keystring
Required

API Key for authentication. Your TexAu API key. Contact TexAu to obtain one.

Body

application/json
urlstring
Required

YouTube channel URL

max_resultsinteger

Maximum number of videos to return

Responses

dataobject
metaobject