WordPress.org

Codex

Interested in functions, hooks, classes, or methods? Check out the new WordPress Code Reference!

XML-RPC Support

WordPress uses an XML-RPC interface. WordPress has its own implementation for WordPress-specific functionality in an API called the WordPress API. This should be used when possible, and your client should use the API variants beginning with the wp prefix.

WordPress also supports the Blogger API, metaWeblog API, Movable Type API, and the Pingback API.

With WordPress XML-RPC support, you can post to your WordPress blog using many popular Weblog Clients. The XML-RPC system can be extended by WordPress Plugins to modify its behavior.

Enabling XML-RPC

XML-RPC functionality is turned on by default since WordPress 3.5.

In previous versions of WordPress, XML-RPC was user enabled. To enable, go to Settings > Writing > Remote Publishing and check the checkbox.

Endpoint

The XML-RPC server/path is:

  • If your WordPress root is http://example.com/wordpress/, then you have:
    • Server: http://example.com/ (some tools need just the 'example.com' hostname part)
    • Path: /wordpress/xmlrpc.php
    • complete URL (just in case): http://example.com/wordpress/xmlrpc.php

Related