XML-RPC API that supersedes the legacy Blogger, MovableType, and metaWeblog APIs. Some clients also exist for different programming languages.
Components
- Posts (for posts, pages, and custom post types) – Added in WordPress 3.4
- Taxonomies (for categories, tags, and custom taxonomies) – Added in WordPress 3.4
- Media – Added in WordPress 3.1
- wp.getMediaItem
- wp.getMediaLibrary
- wp.uploadFile
- Comments – Added in WordPress 2.7
- Options – Added in WordPress 2.6
- Users – Added in WordPress 3.5
Obsolete Components
- Categories – use Taxonomies instead, with taxonomy=’category’
- wp.getCategories
- wp.suggestCategories
- wp.newCategory
- wp.deleteCategory
- Tags – use Taxonomies instead, with taxonomy=’post_tag’
- wp.getTags
- Pages – use Posts instead, with post_type=’page’
- wp.getPage
- wp.getPages
- wp.getPageList
- wp.newPage
- wp.editPage
- wp.deletePage
- wp.getPageStatusList
- wp.getPageTemplates
Clients
- rubypress: WordPress XML-RPC client for Ruby projects. Mirrors this documentation closely, full test suite built in
- wordpress-xmlrpc-client: PHP client with full test suite. This library implement WordPress API closely to this documentation.
- WordPressSharp: XML-RPC Client for C#.net
- plugins/jetpack: Jetpack by WordPress.com enables a JSON API for sites that run the plugin
- plugins/json-api: WordPress JSON api