Youtube · JSON Structure

Youtube Data Search Result Structure

A search result contains information about a YouTube video, channel, or playlist that matches the search query.

Type: object Properties: 4
GoogleMediaSocialStreamingVideoVideos

SearchResult is a JSON Structure definition published by Youtube, describing 4 properties. It conforms to the https://json-structure.org/draft/2020-12/schema meta-schema.

Properties

kind etag id snippet

Meta-schema: https://json-structure.org/draft/2020-12/schema

JSON Structure

Raw ↑
{
  "type": "object",
  "description": "A search result contains information about a YouTube video, channel, or playlist that matches the search query.",
  "name": "SearchResult",
  "properties": {
    "kind": {
      "type": "string",
      "description": "Identifies the API resource's type. Value is youtube#searchResult."
    },
    "etag": {
      "type": "string",
      "description": "The Etag of this resource."
    },
    "id": {
      "type": "object",
      "description": "The id object contains information that can be used to uniquely identify the resource that matches the search request.",
      "properties": {
        "kind": {
          "type": "string",
          "description": "The type of the API resource."
        },
        "videoId": {
          "type": "string",
          "description": "If the id.kind property's value is youtube#video, then this property is present."
        },
        "channelId": {
          "type": "string",
          "description": "If the id.kind property's value is youtube#channel, then this property is present."
        },
        "playlistId": {
          "type": "string",
          "description": "If the id.kind property's value is youtube#playlist, then this property is present."
        }
      }
    },
    "snippet": {
      "type": "object",
      "description": "The snippet object contains basic details about a search result, such as its title or description.",
      "properties": {
        "publishedAt": {
          "type": "datetime",
          "description": "The creation date and time of the resource that the search result identifies."
        },
        "channelId": {
          "type": "string",
          "description": "The value that YouTube uses to uniquely identify the channel that published the resource identified by the search result."
        },
        "title": {
          "type": "string",
          "description": "The title of the search result."
        },
        "description": {
          "type": "string",
          "description": "A description of the search result."
        },
        "thumbnails": {
          "type": "object",
          "description": "A map of thumbnail images associated with the search result."
        },
        "channelTitle": {
          "type": "string",
          "description": "The title of the channel that published the resource identified by the search result."
        },
        "liveBroadcastContent": {
          "type": "string",
          "description": "An indication of whether a video or channel resource has live broadcast content."
        }
      }
    }
  },
  "$schema": "https://json-structure.org/draft/2020-12/schema"
}