Welcome to the REST API. Below, you’ll find a full listing of all the available endpoints. As we add more endpoints, they will be automatically documented here and available through the Developer Console.
For more information about a particular endpoint, click on its name under the Resource header. You’ll be taken to the endpoint’s documentation page, which includes what query parameters the endpoint will except, what the JSON object’s parameters will be in the response, and an example query/response.
Users
View user information data such as username, name, email, blog and Gravatar.
| Resource |
Description |
|
GET/me
|
Meta data about auth token's User |
|
GET/me/likes/
|
List the currently authorized user's likes |
Sites
View metadata on a blog.
| Resource |
Description |
|
GET/sites/$site
|
Information about a site ID/domain |
Posts
View and manage posts including reblogs and likes.
| Resource |
Description |
|
GET/sites/$site/posts/
|
Return matching Posts |
|
GET/sites/$site/posts/$post_ID
|
Return a single Post (by ID) |
|
POST/sites/$site/posts/$post_ID
|
Edit a Post |
|
GET/sites/$site/posts/slug:$post_slug
|
Return a single Post (by slug) |
|
POST/sites/$site/posts/new
|
Create a Post |
|
POST/sites/$site/posts/$post_ID/delete
|
Delete a Post. Note: If the post object is of type post or page and the trash is enabled, this request will send the post to the trash. A second request will permanently delete the post. |
|
GET/sites/$site/posts/$post_ID/likes/
|
List the Likes for a Post |
|
POST/sites/$site/posts/$post_ID/likes/new
|
Like a Post |
|
POST/sites/$site/posts/$post_ID/likes/mine/delete
|
Remove your Like from a Post |
|
GET/sites/$site/posts/$post_ID/likes/mine/
|
Get your Like status for a Post |
|
GET/sites/$site/posts/$post_ID/reblogs/mine
|
Get Reblog status for a Post |
|
POST/sites/$site/posts/$post_ID/reblogs/new
|
Reblog a Post |
Freshly Pressed
View Freshly Pressed posts from the WordPress.com homepage.
| Resource |
Description |
|
GET/freshly-pressed/
|
List Freshly Pressed Posts |
Reader
WordPress.com reader feeds.
| Resource |
Description |