e.g., You can list posts, search posts, sort by custom criteria, paginate, and then retrieve titles, content, images, categories, tags, and more.
Tip: The API is powered entirely by WordPress. So in addition to the examples seen below, you can also leverage these powerful WordPress features, providing you with access to additional endpoints and other named arguments.
Most Popular Endpoints
Documented below, these are the two most popular API endpoints.
Retrieve a list of posts.
Max results to return per page.
Search keyword or terms.
slug. This allows you to sort the results as you see fit for a particular purpose.
See also: list of all supported arguments
Retrieve information about a specific numeric post
There is generally no reason to pass arguments when requesting information about a specific post. Simply include a numeric Post
/<id> in the URL, as seen above. That will suffice. However, WordPress does support some obscure arguments for this request type. See: list of all supported arguments.
See also: Simple RSS Feeds as an alternative.