APIHub
Back to Explore

Blogger

The Blogger API provides programmatic access to a Blogger blog, enabling clients to retrieve, list, create, update, publish, revert, and delete blogs, posts, pages, and comments. It also allows querying of page‑view statistics and managing comment status (e.g., approve, mark as spam, remove content).

Social
OAuth
HTTPS
CORS: Unknown
Description enriched
Visit official documentation

Latency

1987ms p95

Uptime

100.0% 30d

Playground

Verified

live

Endpoints

REST · JSON
PATCH

/v3/blogs/{blogId}/pages/{pageId}

Patches a page.

  • blogId (path, required)
  • pageId (path, required)
  • publish (query)
  • revert (query)
POST

/v3/blogs/{blogId}/pages/{pageId}/revert

Reverts a published or scheduled page to draft state.

  • blogId (path, required)
  • pageId (path, required)
GET

/v3/blogs/{blogId}/pageviews

Gets page views by blog id.

  • blogId (path, required)
  • range (query)
PUT

/v3/blogs/{blogId}/pages/{pageId}

Updates a page by blog id and page id.

  • blogId (path, required)
  • pageId (path, required)
  • publish (query)
  • revert (query)
GET

/v3/blogs/byurl

Gets a blog by url.

  • url (query, required)
  • view (query)
GET

/v3/blogs/{blogId}

Gets a blog by id.

  • blogId (path, required)
  • maxPosts (query)
  • view (query)
GET

/v3/blogs/{blogId}/comments

Lists comments by blog.

  • blogId (path, required)
  • endDate (query)
  • fetchBodies (query)
  • maxResults (query, limit)
  • pageToken (query)
  • startDate (query)
  • status (query)
GET

/v3/blogs/{blogId}/pages

Lists pages.

  • blogId (path, required)
  • fetchBodies (query)
  • maxResults (query, limit)
  • pageToken (query)
  • status (query)
  • view (query)
POST

/v3/blogs/{blogId}/pages

Inserts a page.

  • blogId (path, required)
  • isDraft (query)
DELETE

/v3/blogs/{blogId}/pages/{pageId}

Deletes a page by blog id and page id.

  • blogId (path, required)
  • pageId (path, required)
  • useTrash (query) — Move to Trash if possible
GET

/v3/blogs/{blogId}/pages/{pageId}

Gets a page by blog id and page id.

  • blogId (path, required)
  • pageId (path, required)
  • view (query)
POST

/v3/blogs/{blogId}/pages/{pageId}/publish

Publishes a page.

  • blogId (path, required)
  • pageId (path, required)
GET

/v3/blogs/{blogId}/posts

Lists posts.

  • blogId (path, required)
  • endDate (query)
  • fetchBodies (query)
  • fetchImages (query)
  • labels (query)
  • maxResults (query, limit)
  • orderBy (query)
  • pageToken (query)
  • sortOption (query) — Sort direction applied to post list.
  • startDate (query)
  • status (query)
  • view (query)
POST

/v3/blogs/{blogId}/posts

Inserts a post.

  • blogId (path, required)
  • fetchBody (query)
  • fetchImages (query)
  • isDraft (query)
GET

/v3/blogs/{blogId}/posts/bypath

Gets a post by path.

  • blogId (path, required)
  • path (query, required)
  • maxComments (query)
  • view (query)
GET

/v3/blogs/{blogId}/posts/search

Searches for posts matching given query terms in the specified blog.

  • blogId (path, required)
  • q (query, required)
  • fetchBodies (query)
  • orderBy (query)
DELETE

/v3/blogs/{blogId}/posts/{postId}

Deletes a post by blog id and post id.

  • blogId (path, required)
  • postId (path, required)
  • useTrash (query) — Move to Trash if possible
GET

/v3/blogs/{blogId}/posts/{postId}

Gets a post by blog id and post id

  • blogId (path, required)
  • postId (path, required)
  • fetchBody (query)
  • fetchImages (query)
  • maxComments (query)
  • view (query)
PATCH

/v3/blogs/{blogId}/posts/{postId}

Patches a post.

  • blogId (path, required)
  • postId (path, required)
  • fetchBody (query)
  • fetchImages (query)
  • maxComments (query)
  • publish (query)
  • revert (query)
PUT

/v3/blogs/{blogId}/posts/{postId}

Updates a post by blog id and post id.

  • blogId (path, required)
  • postId (path, required)
  • fetchBody (query)
  • fetchImages (query)
  • maxComments (query)
  • publish (query)
  • revert (query)
GET

/v3/blogs/{blogId}/posts/{postId}/comments

Lists comments.

  • blogId (path, required)
  • postId (path, required)
  • endDate (query)
  • fetchBodies (query)
  • maxResults (query, limit)
  • pageToken (query)
  • startDate (query)
  • status (query)
  • view (query)
DELETE

/v3/blogs/{blogId}/posts/{postId}/comments/{commentId}

Deletes a comment by blog id, post id and comment id.

  • blogId (path, required)
  • postId (path, required)
  • commentId (path, required)
GET

/v3/blogs/{blogId}/posts/{postId}/comments/{commentId}

Gets a comment by id.

  • blogId (path, required)
  • postId (path, required)
  • commentId (path, required)
  • view (query)
POST

/v3/blogs/{blogId}/posts/{postId}/comments/{commentId}/approve

Marks a comment as not spam by blog id, post id and comment id.

  • blogId (path, required)
  • postId (path, required)
  • commentId (path, required)
POST

/v3/blogs/{blogId}/posts/{postId}/comments/{commentId}/removecontent

Removes the content of a comment by blog id, post id and comment id.

  • blogId (path, required)
  • postId (path, required)
  • commentId (path, required)
POST

/v3/blogs/{blogId}/posts/{postId}/comments/{commentId}/spam

Marks a comment as spam by blog id, post id and comment id.

  • blogId (path, required)
  • postId (path, required)
  • commentId (path, required)
POST

/v3/blogs/{blogId}/posts/{postId}/publish

Publishes a post.

  • blogId (path, required)
  • postId (path, required)
  • publishDate (query)
POST

/v3/blogs/{blogId}/posts/{postId}/revert

Reverts a published or scheduled post to draft state.

  • blogId (path, required)
  • postId (path, required)
GET

/v3/users/{userId}

Gets one user by user_id.

  • userId (path, required)
GET

/v3/users/{userId}/blogs

Lists blogs by user.

  • userId (path, required)
  • fetchUserInfo (query)
  • role (query)
  • status (query) — Default value of status is LIVE.
  • view (query)
GET

/v3/users/{userId}/blogs/{blogId}

Gets one blog and user info pair by blog id and user id.

  • userId (path, required)
  • blogId (path, required)
  • maxPosts (query)
GET

/v3/users/{userId}/blogs/{blogId}/posts

Lists post and user info pairs.

  • userId (path, required)
  • blogId (path, required)
  • endDate (query)
  • fetchBodies (query)
  • labels (query)
  • maxResults (query, limit)
  • orderBy (query)
  • pageToken (query)
  • startDate (query)
  • status (query)
  • view (query)
GET

/v3/users/{userId}/blogs/{blogId}/posts/{postId}

Gets one post and user info pair, by post_id and user_id.

  • userId (path, required)
  • blogId (path, required)
  • postId (path, required)
  • maxComments (query)

33 endpoints auto-detected

Authentication

This API requires authentication: OAuth.

curl -X PATCH \
  "https://developers.google.com/blogger//v3/blogs/{blogId}/pages/{pageId}"

developers.google.com · HTTPS only