Youtube · Schema
Subscription
A subscription resource contains information about a YouTube user's subscription to a channel.
GoogleMediaSocialStreamingVideoVideos
Properties
| Name | Type | Description |
|---|---|---|
| kind | string | Identifies the API resource's type. Value is youtube#subscription. |
| etag | string | The Etag of this resource. |
| id | string | The ID that YouTube uses to uniquely identify the subscription. |
| snippet | object | The snippet object contains basic details about the subscription. |
JSON Schema
{
"type": "object",
"description": "A subscription resource contains information about a YouTube user's subscription to a channel.",
"properties": {
"kind": {
"type": "string",
"description": "Identifies the API resource's type. Value is youtube#subscription.",
"example": "youtube#video"
},
"etag": {
"type": "string",
"description": "The Etag of this resource.",
"example": "XI7nbFXulYBIpL0ayR_gDh3eu1k"
},
"id": {
"type": "string",
"description": "The ID that YouTube uses to uniquely identify the subscription.",
"example": "abc123def456"
},
"snippet": {
"type": "object",
"description": "The snippet object contains basic details about the subscription.",
"example": "example_value",
"properties": {
"publishedAt": {
"type": "string",
"description": "The date and time that the subscription was created.",
"format": "date-time"
},
"title": {
"type": "string",
"description": "The subscription title."
},
"description": {
"type": "string",
"description": "The subscription description."
},
"resourceId": {
"type": "object",
"description": "The resourceId object contains information about the resource to which the subscriber subscribed.",
"properties": {
"kind": {
"type": "string",
"description": "The type of the API resource."
},
"channelId": {
"type": "string",
"description": "The value that YouTube uses to uniquely identify the channel that the user subscribed to."
}
}
},
"channelId": {
"type": "string",
"description": "The ID of the channel that the subscription belongs to."
},
"thumbnails": {
"type": "object",
"description": "A map of thumbnail images associated with the subscription."
}
}
}
},
"required": [
"kind",
"etag"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "Subscription",
"x-schema-source": "openapi",
"x-source-url": "openapi/youtube-data-api-openapi.yml"
}
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/youtube-data-subscription"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.