Automattic Comments API

The comments API from Automattic — 14 operation(s) for comments.

Operations 20

GET /sites/{site}/comment-counts Get comment counts for each available status #
GET /sites/{site}/comment-history/{comment_ID} Get the audit history for given comment #
GET /sites/{site}/comments/ Get a list of recent comments #
GET /sites/{site}/comments/{comment_ID} Get a single comment #
POST /sites/{site}/comments/{comment_ID} Edit a comment #
POST /sites/{site}/comments/{comment_ID}/delete Delete a comment #
GET /sites/{site}/comments/{comment_ID}/likes/ Get the likes for a comment #
GET /sites/{site}/comments/{comment_ID}/likes/mine/ Get your like status for a comment #
POST /sites/{site}/comments/{comment_ID}/likes/mine/delete Remove your like from a comment #
POST /sites/{site}/comments/{comment_ID}/likes/new Like a comment #
POST /sites/{site}/comments/{comment_ID}/replies/new Create a comment as a reply to another comment #
GET /sites/{site}/posts/{post_ID}/replies/ Get a list of recent comments on a post #
POST /sites/{site}/posts/{post_ID}/replies/new Create a comment on a post #
GET /wp/v2/sites/{wpcom_site}/comments GET /wp/v2/sites/{wpcom_site}/comments #
POST /wp/v2/sites/{wpcom_site}/comments POST /wp/v2/sites/{wpcom_site}/comments #
GET /wp/v2/sites/{wpcom_site}/comments/{id} GET /wp/v2/sites/{wpcom_site}/comments/{id} #
POST /wp/v2/sites/{wpcom_site}/comments/{id} POST /wp/v2/sites/{wpcom_site}/comments/{id} #
PUT /wp/v2/sites/{wpcom_site}/comments/{id} PUT /wp/v2/sites/{wpcom_site}/comments/{id} #
PATCH /wp/v2/sites/{wpcom_site}/comments/{id} PATCH /wp/v2/sites/{wpcom_site}/comments/{id} #
DELETE /wp/v2/sites/{wpcom_site}/comments/{id} DELETE /wp/v2/sites/{wpcom_site}/comments/{id} #

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/automattic-comments-api"
All apis
curl "https://apis.io/api/v1/apis?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.

OpenAPI Specification

automattic-comments-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Automattic Comments API
  x-derived-by: API Evangelist enrichment pipeline
  x-refined-note:
  - x-derived-from differs across the merged source definitions and was not carried
  version: '1.0'
  description: 'Operations tagged comments across 3 of this provider''s published API definitions: automattic-wordpress-com-rest-v1-1-openapi.yml, automattic-wordpress-com-rest-v1-2-openapi.yml, automattic-wordpress-com-wp-v2-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://public-api.wordpress.com/rest/v1.1
- url: https://public-api.wordpress.com/rest/v1.2
- url: https://public-api.wordpress.com
security:
- bearerAuth: []
tags:


# --- truncated at 32 KB (83 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/automattic/refs/heads/main/openapi/automattic-comments-api-openapi.yml