YouTube Live Chat Moderators API

The LiveChatModerators API from YouTube — 1 operation(s) for livechatmoderators.

GitHub OpenAPI

Operations 3

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

DELETE /youtube/v3/liveChat/moderators Remove a live chat moderator · Delete liveChatModerators #
Ask an LLM
“How do I remove a moderator from a live chat?”
“Can I take away someone's moderation privileges?”
Tell an agent destructive · confirm first
Remove moderator {id} from their live chat.
Revoke moderation for the user {id}.
POST /youtube/v3/liveChat/moderators Make a chat moderator · Insert liveChatModerators #
Ask an LLM
“How do I make someone a chat moderator for my stream?”
“Can I set a moderator's display name when inserting them?”
Tell an agent
Add a chat moderator {snippet}.
Make this user a stream moderator with the snippet {snippet}.
GET /youtube/v3/liveChat/moderators List a live chat's moderators · List liveChatModerators #
Ask an LLM
“Who are the moderators of my live chat?”
“Can I see which users moderate a live chat?”
Tell an agent
List moderators of live chat {liveChatId}.
Show up to {maxResults} moderators for chat {liveChatId}.

Documentation

📖
Documentation
https://developers.google.com/youtube/v3/docs/activities/list
📖
GettingStarted
https://developers.google.com/youtube/v3/getting-started
📖
Authentication
https://developers.google.com/youtube/v3/guides/authentication
📖
Documentation
https://developers.google.com/youtube/v3/docs/channels/list
📖
Documentation
https://developers.google.com/youtube/v3/docs/comments/list
📖
Documentation
https://developers.google.com/youtube/v3/docs/commentThreads/list
📖
Documentation
https://developers.google.com/youtube/v3/docs/playlists/list
📖
Documentation
https://developers.google.com/youtube/v3/docs/playlistItems/list
📖
Documentation
https://developers.google.com/youtube/v3/docs/search/list
📖
Documentation
https://developers.google.com/youtube/v3/docs/subscriptions/list
📖
Documentation
https://developers.google.com/youtube/v3/docs/videos/list
📖
Documentation
https://developers.google.com/youtube/v3/docs/captions
📖
Documentation
https://developers.google.com/youtube/v3/docs/videoCategories
📖
Documentation
https://developers.google.com/youtube/v3/docs/i18nLanguages
📖
Documentation
https://developers.google.com/youtube/v3/docs/i18nRegions
📖
Documentation
https://developers.google.com/youtube/analytics
📖
GettingStarted
https://developers.google.com/youtube/reporting/guides/authorization
📖
APIReference
https://developers.google.com/youtube/analytics/reference
📖
Authentication
https://developers.google.com/youtube/reporting/guides/authorization
📖
Documentation
https://developers.google.com/youtube/reporting
📖
APIReference
https://developers.google.com/youtube/reporting/v1/reference/rest
📖
Documentation
https://developers.google.com/youtube/reporting/v1/reports
📖
GettingStarted
https://developers.google.com/youtube/v3/live/getting-started
📖
Documentation
https://developers.google.com/youtube/v3/live/docs
📖
APIReference
https://developers.google.com/youtube/v3/live/docs

Specifications

Code Examples

Schemas & Data

Other Resources

Work with this as data

Every API 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 apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • 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.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/youtube:youtube-livechatmoderators-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

youtube-livechatmoderators-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: YouTube Data API v3 Live Chat Moderators API
  version: v3
  description: Generated from Google's published Discovery document for YouTube Data API v3 (youtube v3, revision 20261111). 3 operation(s).
  contact:
    name: Google
    url: https://developers.google.com/
  termsOfService: https://developers.google.com/terms
servers:
- url: https://youtube.googleapis.com
tags:
- name: LiveChatModerators
paths:
  /youtube/v3/liveChat/moderators:
    delete:
      operationId: youtube.liveChatModerators.delete
      summary: Delete liveChatModerators
      description: Deletes a chat moderator.
      parameters:
      - name: id
        in: query
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Successful response
        4XX:
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GoogleRpcError'
          description: 'Client error (google.rpc.Status: INVALID_ARGUMENT, PERMISSION_DENIED, NOT_FOUND ...)'
        default:
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GoogleRpcError'
          description: Error response (google.rpc.Status)
      security:
      - oauth2:
        - https://www.googleapis.com/auth/youtube
        - https://www.googleapis.com/auth/youtube.force-ssl
      - apiKey: []
      tags:
      - LiveChatModerators
    post:
      operationId: youtube.liveChatModerators.insert
      summary: Insert liveChatModerators
      description: Inserts a new resource into this collection.
      parameters:
      - name: part
        in: query
        required: true
        description: The *part* parameter serves two purposes in this operation. It identifies the properties that the write operation will set as well as the properties that the API response returns. Set the parameter value to snippet.
        schema:
          type: array
          items:
            type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/LiveChatModerator'
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LiveChatModerator'
        4XX:
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GoogleRpcError'
          description: 'Client error (google.rpc.Status: INVALID_ARGUMENT, PERMISSION_DENIED, NOT_FOUND ...)'
        default:
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GoogleRpcError'
          description: Error response (google.rpc.Status)
      security:
      - oauth2:
        - https://www.googleapis.com/auth/youtube
        - https://www.googleapis.com/auth/youtube.force-ssl
      - apiKey: []
      tags:
      - LiveChatModerators
    get:
      operationId: youtube.liveChatModerators.list
      summary: List liveChatModerators
      description: Retrieves a list of resources, possibly filtered.
      parameters:
      - name: liveChatId
        in: query
        required: true
        description: The id of the live chat for which moderators should be returned.
        schema:
          type: string
      - name: maxResults
        in: query
        required: false
        description: The *maxResults* parameter specifies the maximum number of items that should be returned in the result set.
        schema:
          maximum: 50
          minimum: 0
          type: integer
          default: '5'
          format: uint32
      - name: pageToken
        in: query
        required: false
        description: The *pageToken* parameter identifies a specific page in the result set that should be returned. In an API response, the nextPageToken and prevPageToken properties identify other pages that could be retrieved.
        schema:
          type: string
      - name: part
        in: query
        required: true
        description: The *part* parameter specifies the liveChatModerator resource parts that the API response will include. Supported values are id and snippet.
        schema:
          type: array
          items:
            type: string
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LiveChatModeratorListResponse'
        4XX:
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GoogleRpcError'
          description: 'Client error (google.rpc.Status: INVALID_ARGUMENT, PERMISSION_DENIED, NOT_FOUND ...)'
        default:
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GoogleRpcError'
          description: Error response (google.rpc.Status)
      security:
      - oauth2:
        - https://www.googleapis.com/auth/youtube
        - https://www.googleapis.com/auth/youtube.force-ssl
        - https://www.googleapis.com/auth/youtube.readonly
      - apiKey: []
      tags:
      - LiveChatModerators
components:
  schemas:
    LiveChatModerator:
      properties:
        snippet:
          $ref: '#/components/schemas/LiveChatModeratorSnippet'
          description: The snippet object contains basic details about the moderator.
        id:
          description: The ID that YouTube assigns to uniquely identify the moderator.
          type: string
        kind:
          default: youtube#liveChatModerator
          type: string
          description: 'Identifies what kind of resource this is. Value: the fixed string "youtube#liveChatModerator".'
        etag:
          description: Etag of this resource.
          type: string
      description: A *liveChatModerator* resource represents a moderator for a YouTube live chat. A chat moderator has the ability to ban/unban users from a chat, remove message, etc.
      type: object
    PageInfo:
      description: Paging details for lists of resources, including total number of items available and number of resources returned in a single page.
      properties:
        resultsPerPage:
          format: int32
          description: The number of results included in the API response.
          type: integer
        totalResults:
          description: The total number of results in the result set.
          type: integer
          format: int32
      type: object
    GoogleRpcError:
      type: object
      description: The error envelope every Google API returns.
      properties:
        error:
          type: object
          properties:
            code:
              type: integer
            message:
              type: string
            status:
              type: string
            details:
              type: array
              items:
                type: object
    LiveChatModeratorSnippet:
      type: object
      properties:
        liveChatId:
          description: The ID of the live chat this moderator can act on.
          type: string
        moderatorDetails:
          $ref: '#/components/schemas/ChannelProfileDetails'
          description: Details about the moderator.
    TokenPagination:
      properties: {}
      description: Stub token pagination template to suppress results.
      type: object
    ChannelProfileDetails:
      properties:
        channelId:
          description: The YouTube channel ID.
          type: string
        displayName:
          description: The channel's display name.
          type: string
        channelUrl:
          description: The channel's URL.
          type: string
        profileImageUrl:
          type: string
          description: The channels's avatar URL.
      type: object
    LiveChatModeratorListResponse:
      type: object
      properties:
        pageInfo:
          $ref: '#/components/schemas/PageInfo'
          description: General pagination information.
        eventId:
          description: Serialized EventId of the request which produced this response.
          type: string
          deprecated: true
        prevPageToken:
          description: The token that can be used as the value of the pageToken parameter to retrieve the previous page in the result set.
          type: string
        kind:
          description: 'Identifies what kind of resource this is. Value: the fixed string "youtube#liveChatModeratorListResponse".'
          default: youtube#liveChatModeratorListResponse
          type: string
        tokenPagination:
          $ref: '#/components/schemas/TokenPagination'
        visitorId:
          description: The visitorId identifies the visitor.
          type: string
          deprecated: true
        nextPageToken:
          type: string
          description: The token that can be used as the value of the pageToken parameter to retrieve the next page in the result set.
        etag:
          type: string
          description: Etag of this resource.
        items:
          type: array
          description: A list of moderators that match the request criteria.
          items:
            $ref: '#/components/schemas/LiveChatModerator'
  securitySchemes:
    apiKey:
      type: apiKey
      in: query
      name: key
      description: API key; accepted by methods that do not need user data.
    oauth2:
      type: oauth2
      flows:
        authorizationCode:
          authorizationUrl: https://accounts.google.com/o/oauth2/auth
          tokenUrl: https://oauth2.googleapis.com/token
          scopes:
            https://www.googleapis.com/auth/youtube: Manage your YouTube account
            https://www.googleapis.com/auth/youtubepartner: View and manage your assets and associated content on YouTube
            https://www.googleapis.com/auth/youtube.channel-memberships.creator: See a list of your current active channel members, their current level, and when they became a member
            https://www.googleapis.com/auth/youtubepartner-channel-audit: View private information of your YouTube channel relevant during the audit process with a YouTube partner
            https://www.googleapis.com/auth/youtube.force-ssl: See, edit, and permanently delete your YouTube videos, ratings, comments and captions
            https://www.googleapis.com/auth/youtube.readonly: View your YouTube account
            https://www.googleapis.com/auth/youtube.upload: Manage your YouTube videos
externalDocs:
  url: https://developers.google.com/youtube/
x-provenance:
  method: harvested
  publisher: Google
  source: https://youtube.googleapis.com/$discovery/rest?version=v3
  note: converted by discovery-to-openapi.py from Google's Discovery document (revision 20261111)