GroundsocialDocs

API · YouTube

POST /youtube/channels/batch

Up to 25 YouTube channels by id in one call.

RequestPOST /v1/youtube/channels/batch
Operation idyoutube.channel.batch
Cost5 credits, refunded if the call fails
AuthAPI key: Authorization: Bearer <key> or x-api-key.

Up to 25 YouTube channels by id in one call.

Request body

FieldTypeRequiredDescription
idsstring[]yes1 to 25 channel ids (UC…).

Responses

StatusMeaningSchema
200The channels, and the ids that did not resolve.YouTubeChannelList
400Invalid input. Nothing was charged.Error
401Missing or invalid API key.Error
402Not enough credits, a spend cap was reached, or payment is required.Error
403The target is private, or the account is suspended.Error
404The video, channel, playlist or post does not exist, was removed, or has nothing there.Error
429Too many requests. Wait for Retry-After seconds.Error
503YouTube is temporarily unavailable. Retryable; nothing was charged.Error

YouTubeChannelList fields

FieldTypeDescription
kind"youtube#channelListResponse"
itemsYouTubeChannel[]
pageInfoobject
missingobject[]Requested ids that did not resolve, and why.

Errors use one shape everywhere; see Errors for every code and what to do.