Automattic Sites API

The sites API from Automattic — 25 operation(s) for sites.

Operations 30

GET /me/sites Get a list of the current user's sites #
GET /me/sites/compact Not in use #
GET /me/sites/features Get a list of the current user's sites features #
GET /me/sites/plugins Get a list of the current user's sites plugins #
GET /sites/{site} Get information about a site #
GET /sites/{site}/automated-transfers/status Returns the current status of Automated Transfer for a site #
GET /sites/{site}/embeds Get a list of embeds available on a site. #
GET /sites/{site}/embeds/render Get a rendered embed for a site. #
GET /sites/{site}/headers/mine Get the custom header options for a site #
POST /sites/{site}/headers/mine Set the custom header options for a site #
GET /sites/{site}/headers/{theme_slug} Get the custom header options for a site with a particular theme #
GET /sites/{site}/page-templates Get a list of page templates supported by a site #
GET /sites/{site}/post-counts/{post_type} Get number of posts in the post type groups by post status #
GET /sites/{site}/post-types Get a list of post types available for a site #
POST /sites/{site}/search Search within a site using an Elasticsearch Query API #
GET /sites/{site}/search Search within a site as you type #
GET /sites/{site}/shortcodes Get a list of shortcodes available on a site. #
GET /sites/{site}/shortcodes/render Get a rendered shortcode for a site. #
GET /sites/{site}/widgets Retrieve the active and inactive widgets for a site #
POST /sites/{site}/widgets/new Activate a widget on a site #
GET /sites/{site}/widgets/widget:{id} Retrieve a widget on a site by its ID #
POST /sites/{site}/widgets/widget:{id} Update a widget on a site by its ID #
POST /sites/{site}/widgets/widget:{id}/delete Deactivate a widget on a site by its ID. Will delete if already deactivated #
POST /sites/{site}/wordads/approve Request streamlined approval to join the WordAds program #
GET /sites/{site}/wordads/earnings Get detailed WordAds earnings information about a site #
GET /sites/{site}/wordads/settings Get detailed WordAds settings information about a site #
POST /sites/{site}/wordads/settings Update WordAds settings for a site #
GET /sites/{site}/wordads/stats Get WordAds stats for a site #
GET /sites/{site}/wordads/tos Get WordAds TOS information about a site #
POST /sites/{site}/wordads/tos Update WordAds TOS setting for a site #

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-sites-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-sites-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Automattic Sites API
  contact:
    name: WordPress.com Developer Resources
    url: https://developer.wordpress.com/docs/api/
  termsOfService: https://wordpress.com/tos/
  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 sites 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-rest-v1-3-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/rest/v1.3
security:
- bearerAuth: []
tags:


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