Blogs and publishing

WordPress REST API

by developer.wordpress.org

Blogs and publishing Added on October 31st, 2026
Visit developer.wordpress.org →

What it does

Every WordPress site has a built-in REST API at /wp-json/ that gives posts, pages, categories, tags, comments, media and users as JSON. Read public content without authentication; create and edit content with application passwords or OAuth. Useful for headless front ends, apps and syncing content between sites. Free and part of WordPress.
  • API
  • HTTP-GET
  • JSON
  • REST

More information: https://developer.wordpress.org/rest-api/

WordPress REST API
developer.wordpress.org