Zum Hauptinhalt springen
WordPress REST API logo

WordPress REST API

Interact with WordPress sites via JSON

The WordPress REST API provides an interface for applications to interact with WordPress sites using JSON. It powers the Block Editor and enables developers to build custom admin experiences, interactive front-ends, and integrate WordPress content into external applications.

Funktionen

JSON-based data exchange
CRUD for posts, pages, media
User and authentication management
Taxonomy and term endpoints
Custom post type support
Block and template endpoints
Extensible with custom endpoints
Application passwords auth
Works with any language

Vorteile

  • + Built into WordPress core
  • + Powers millions of sites
  • + Language agnostic
  • + Well documented
  • + Headless WordPress enabled

Nachteile

  • Performance can vary by host
  • Security requires careful setup
  • Rate limiting depends on host
  • Some plugins may not expose data