Ir al contenido
Documentación de Endless

YouTube channel

POST
/social/youtube_channel

Look up a YouTube channel by handle, URL, or id. Returns title, description, subscriber/video/view counts, country, and links. Use for creator/brand background or audience-size questions. For the channel's uploads use youtube_channel_videos.

Authorization

bearerAuth
AuthorizationBearer <token>

JWT token from authentication

In: header

Header Parameters

Endless-Api-Version?string

Pin the caller to an API major (1). Omit to accept the current version. A major this deployment cannot serve is refused with 400 unsupported_api_version.

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/social/youtube_channel" \  -H "Content-Type: application/json" \  -d '{    "organization_id": "string",    "input": {      "channel": "string"    }  }'
{  "operation": "instagram_profile",  "result": {    "id": "string",    "url": "string",    "title": "string",    "handle": "string",    "description": "string",    "subscribers": 0,    "subscribers_text": "string",    "video_count": 0,    "view_count": 0,    "country": "string",    "joined_date": "string",    "is_live": true,    "avatar": "string",    "summary": "string"  },  "requests": 0,  "credits_charged": 0}