Google Blogger Comments API
The Comments API from Google Blogger — 6 operation(s) for comments.
The Comments API from Google Blogger — 6 operation(s) for comments.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
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.curl "https://apis.io/api/v1/apis/google-blogger:google-blogger-comments-api"
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.
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.
openapi: 3.1.0
info:
title: Blogger API Comments API
version: v3
description: Generated from Google's published Discovery document for Blogger API (blogger v3, revision 20261110). 7 operation(s).
contact:
name: Google
url: https://developers.google.com/
termsOfService: https://developers.google.com/terms
externalDocs:
url: https://developers.google.com/blogger/docs/3.0/getting_started
servers:
- url: https://blogger.googleapis.com
paths:
/v3/blogs/{blogId}/posts/{postId}/comments/{commentId}/approve:
post:
operationId: blogger.comments.approve
summary: Approve comments
description: Marks a comment as not spam by blog id, post id and comment id.
parameters:
- name: blogId
in: path
required: true
description: Resource name segment (blogId).
schema:
type: string
- name: postId
in: path
required: true
description: Resource name segment (postId).
schema:
type: string
- name: commentId
in: path
required: true
description: Resource name segment (commentId).
schema:
type: string
responses:
'200':
description: Successful response
content:
application/json:
schema:
$ref: '#/components/schemas/Comment'
4XX:
content: &id001
application/json:
schema:
$ref: '#/components/schemas/GoogleRpcError'
description: 'Client error (google.rpc.Status: INVALID_ARGUMENT, PERMISSION_DENIED, NOT_FOUND ...)'
default:
content: *id001
description: Error response (google.rpc.Status)
security:
- oauth2:
- https://www.googleapis.com/auth/blogger
- apiKey: []
tags:
- Comments
/v3/blogs/{blogId}/comments:
get:
operationId: blogger.comments.listByBlog
summary: List by blog comments
description: Lists comments by blog.
parameters:
- name: blogId
in: path
required: true
description: Resource name segment (blogId).
schema:
type: string
- name: endDate
in: query
required: false
schema:
type: string
- name: fetchBodies
in: query
required: false
schema:
type: boolean
- name: maxResults
in: query
required: false
schema:
type: integer
format: uint32
- name: pageToken
in: query
required: false
schema:
type: string
- name: startDate
in: query
required: false
schema:
type: string
- name: status
in: query
required: false
schema:
type: array
items:
enum:
- LIVE
- EMPTIED
- PENDING
- SPAM
type: string
responses:
'200':
description: Successful response
content:
application/json:
schema:
$ref: '#/components/schemas/CommentList'
4XX:
content: &id002
application/json:
schema:
$ref: '#/components/schemas/GoogleRpcError'
description: 'Client error (google.rpc.Status: INVALID_ARGUMENT, PERMISSION_DENIED, NOT_FOUND ...)'
default:
content: *id002
description: Error response (google.rpc.Status)
security:
- oauth2:
- https://www.googleapis.com/auth/blogger
- https://www.googleapis.com/auth/blogger.readonly
- apiKey: []
tags:
- Comments
/v3/blogs/{blogId}/posts/{postId}/comments:
get:
operationId: blogger.comments.list
summary: List comments
description: Lists comments.
parameters:
- name: blogId
in: path
required: true
description: Resource name segment (blogId).
schema:
type: string
- name: postId
in: path
required: true
description: Resource name segment (postId).
schema:
type: string
- name: endDate
in: query
required: false
schema:
type: string
- name: fetchBodies
in: query
required: false
schema:
type: boolean
- name: maxResults
in: query
required: false
schema:
type: integer
format: uint32
- name: pageToken
in: query
required: false
schema:
type: string
- name: startDate
in: query
required: false
schema:
type: string
- name: status
in: query
required: false
schema:
type: string
enum:
- LIVE
- EMPTIED
- PENDING
- SPAM
- name: view
in: query
required: false
schema:
enum:
- VIEW_TYPE_UNSPECIFIED
- READER
- AUTHOR
- ADMIN
type: string
responses:
'200':
description: Successful response
content:
application/json:
schema:
$ref: '#/components/schemas/CommentList'
4XX:
content: &id003
application/json:
schema:
$ref: '#/components/schemas/GoogleRpcError'
description: 'Client error (google.rpc.Status: INVALID_ARGUMENT, PERMISSION_DENIED, NOT_FOUND ...)'
default:
content: *id003
description: Error response (google.rpc.Status)
security:
- oauth2:
- https://www.googleapis.com/auth/blogger
- https://www.googleapis.com/auth/blogger.readonly
- apiKey: []
tags:
- Comments
/v3/blogs/{blogId}/posts/{postId}/comments/{commentId}/removecontent:
post:
operationId: blogger.comments.removeContent
summary: Remove content comments
description: Removes the content of a comment by blog id, post id and comment id.
parameters:
- name: blogId
in: path
required: true
description: Resource name segment (blogId).
schema:
type: string
- name: postId
in: path
required: true
description: Resource name segment (postId).
schema:
type: string
- name: commentId
in: path
required: true
description: Resource name segment (commentId).
schema:
type: string
responses:
'200':
description: Successful response
content:
application/json:
schema:
$ref: '#/components/schemas/Comment'
4XX:
content: &id004
application/json:
schema:
$ref: '#/components/schemas/GoogleRpcError'
description: 'Client error (google.rpc.Status: INVALID_ARGUMENT, PERMISSION_DENIED, NOT_FOUND ...)'
default:
content: *id004
description: Error response (google.rpc.Status)
security:
- oauth2:
- https://www.googleapis.com/auth/blogger
- apiKey: []
tags:
- Comments
/v3/blogs/{blogId}/posts/{postId}/comments/{commentId}/spam:
post:
operationId: blogger.comments.markAsSpam
summary: Mark as spam comments
description: Marks a comment as spam by blog id, post id and comment id.
parameters:
- name: blogId
in: path
required: true
description: Resource name segment (blogId).
schema:
type: string
- name: postId
in: path
required: true
description: Resource name segment (postId).
schema:
type: string
- name: commentId
in: path
required: true
description: Resource name segment (commentId).
schema:
type: string
responses:
'200':
description: Successful response
content:
application/json:
schema:
$ref: '#/components/schemas/Comment'
4XX:
content: &id005
application/json:
schema:
$ref: '#/components/schemas/GoogleRpcError'
description: 'Client error (google.rpc.Status: INVALID_ARGUMENT, PERMISSION_DENIED, NOT_FOUND ...)'
default:
content: *id005
description: Error response (google.rpc.Status)
security:
- oauth2:
- https://www.googleapis.com/auth/blogger
- apiKey: []
tags:
- Comments
/v3/blogs/{blogId}/posts/{postId}/comments/{commentId}:
get:
operationId: blogger.comments.get
summary: Get comments
description: Gets a comment by id.
parameters:
- name: blogId
in: path
required: true
description: Resource name segment (blogId).
schema:
type: string
- name: postId
in: path
required: true
description: Resource name segment (postId).
schema:
type: string
- name: commentId
in: path
required: true
description: Resource name segment (commentId).
schema:
type: string
- name: view
in: query
required: false
schema:
type: string
enum:
- VIEW_TYPE_UNSPECIFIED
- READER
- AUTHOR
- ADMIN
responses:
'200':
description: Successful response
content:
application/json:
schema:
$ref: '#/components/schemas/Comment'
4XX:
content: &id006
application/json:
schema:
$ref: '#/components/schemas/GoogleRpcError'
description: 'Client error (google.rpc.Status: INVALID_ARGUMENT, PERMISSION_DENIED, NOT_FOUND ...)'
default:
content: *id006
description: Error response (google.rpc.Status)
security:
- oauth2:
- https://www.googleapis.com/auth/blogger
- https://www.googleapis.com/auth/blogger.readonly
- apiKey: []
tags:
- Comments
delete:
operationId: blogger.comments.delete
summary: Delete comments
description: Deletes a comment by blog id, post id and comment id.
parameters:
- name: blogId
in: path
required: true
description: Resource name segment (blogId).
schema:
type: string
- name: postId
in: path
required: true
description: Resource name segment (postId).
schema:
type: string
- name: commentId
in: path
required: true
description: Resource name segment (commentId).
schema:
type: string
responses:
'200':
description: Successful response
4XX:
content: &id007
application/json:
schema:
$ref: '#/components/schemas/GoogleRpcError'
description: 'Client error (google.rpc.Status: INVALID_ARGUMENT, PERMISSION_DENIED, NOT_FOUND ...)'
default:
content: *id007
description: Error response (google.rpc.Status)
security:
- oauth2:
- https://www.googleapis.com/auth/blogger
- apiKey: []
tags:
- Comments
components:
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/blogger: Manage your Blogger account
https://www.googleapis.com/auth/blogger.readonly: View your Blogger account
schemas:
Comment:
type: object
properties:
selfLink:
type: string
description: The API REST URL to fetch this resource from.
updated:
description: RFC 3339 date-time when this comment was last updated.
type: string
content:
description: The actual content of the comment. May include HTML markup.
type: string
id:
description: The identifier for this resource.
type: string
kind:
description: The kind of this entry. Always blogger#comment.
type: string
post:
properties:
id:
type: string
description: The identifier of the post containing this comment.
description: Data about the post containing this comment.
type: object
inReplyTo:
type: object
description: Data about the comment this is in reply to.
properties:
id:
type: string
description: The identified of the parent of this comment.
published:
type: string
description: RFC 3339 date-time when this comment was published.
status:
enum:
- LIVE
- EMPTIED
- PENDING
- SPAM
description: The status of the comment (only populated for admin users).
type: string
blog:
type: object
description: Data about the blog containing this comment.
properties:
id:
description: The identifier of the blog containing this comment.
type: string
author:
properties:
url:
type: string
description: The URL of the creator's Profile page.
id:
description: The identifier of the creator.
type: string
image:
description: The creator's avatar.
properties:
url:
description: The creator's avatar URL.
type: string
type: object
displayName:
type: string
description: The display name.
description: The author of this Comment.
type: object
CommentList:
type: object
properties:
items:
description: The List of Comments for a Post.
items:
$ref: '#/components/schemas/Comment'
type: array
kind:
type: string
description: The kind of this entry. Always blogger#commentList.
prevPageToken:
type: string
description: Pagination token to fetch the previous page, if one exists.
nextPageToken:
type: string
description: Pagination token to fetch the next page, if one exists.
etag:
description: Etag of the response.
type: string
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
x-provenance:
method: harvested
publisher: Google
source: https://blogger.googleapis.com/$discovery/rest?version=v3
note: converted by discovery-to-openapi.py from Google's Discovery document (revision 20261110)