XML-RPC

In this article

XML-RPC API that supersedes the legacy Blogger, MovableType, and metaWeblog APIs. Some clients also exist for different programming languages.

Components

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