WordPress.org

Ready to get started?Download WordPress

Codex

Attention 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 it's own implementation for WordPress-specific functionality in an API called the WordPress API. This should be used when possible, 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.

Before that you needed to enable it your self. To enable, go to Settings > Writing > Remote Publishing and check the checkbox.

Endpoint

The XML-RPC server/path are as described here:

  • 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