GET /sites/$site

Get information about a site.

Resource Information

Method GET
Requires authentication? No

Method Parameters

Parameter Type Description
$site (int|string) Site ID or domain

Query Parameters

Parameter Type Description
http_envelope (bool)
Some environments (like in-browser JavaScript or Flash) block or divert responses with a non-200 HTTP status code. Setting this parameter will force the HTTP status code to always be 200. The JSON response is wrapped in an "envelope" containing the "real" HTTP status code and headers.
pretty (bool)
Output pretty JSON
meta (string) Optional. Loads data from the endpoints found in the 'meta' part of the response. Comma-separated list. Example: meta=site,likes
fields (string) Optional. Returns specified fields only. Comma-separated list. Example: fields=ID,title
callback (string) An optional JSONP callback function.

Response Parameters

Parameter Type Description
ID (int) Site ID
name (string) Title of site
description (string) Tagline or description of site
URL (string) Full URL to the site
capabilities (array) Array of capabilities for the current user on this site.
jetpack (bool) Whether the site is a Jetpack site or not
is_multisite (bool) Whether the site is a Multisite site or not. Always true for sites.
post_count (int) The number of posts the site has
subscribers_count (int) The number of subscribers the site has
locale (string) Primary locale code of the site
icon (array) An array of icon formats for the site
logo (array) The site logo, set in the Customizer
visible (bool) If this site is visible in the user's site list
is_private (bool) If the site is a private site or not
single_user_site (bool) Whether the site is single user. Only returned for sites and for Jetpack sites with version 3.4 or higher.
is_vip (bool) If the site is a VIP site or not.
is_following (bool) If the current user is subscribed to this site in the reader
options (array) An array of options/settings for the blog. Only viewable by users with post editing rights to the site. Note: Post formats is deprecated, please see /sites/$id/post-formats/
plan (array) Details of the current plan for this site.
updates (array) An array of available updates for plugins, themes, wordpress, and languages.
jetpack_modules (array) A list of active Jetpack modules.
meta (object) Meta data
quota (array) An array describing how much space a user has left for uploads

Resource Errors

This endpoint does not return any errors.


curl ''
$options  = array (
  'http' => 
  array (
    'ignore_errors' => true,

$context  = stream_context_create( $options );
$response = file_get_contents(
$response = json_decode( $response );