WordPress REST API
The WP REST API has been merged into WordPress core. Please do not create issues or send pull requests. Submit support requests to the forums or patches to Trac (see README below for links). observed · 2026-08-28
Health v2 · maintenance only
10/100
- Activity 0
- Release rhythm 8
- Longevity 100
Flags: archived
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 4841
- days_rel: n/a
- days_push: 3289
- n_releases_24m: 0
Adoption not part of the score
3922 stars · 638 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
The WordPress REST API, originally developed as the WP-API plugin and merged into WordPress core since version 4.7, exposes WordPress site data (posts, pages, users, taxonomies, media) as JSON over HTTP REST endpoints. This repository is the legacy development home; active development now happens in WordPress core, with node-wpapi providing a JavaScript client for the API.
Use cases
- fetch wordpress posts as json over http
- build a headless wordpress frontend with a javascript framework
- create or update wordpress users and pages programmatically via rest
- query wordpress content by slug or search term from an external app
- extend wordpress with custom rest endpoints for a plugin
- manage wordpress site content from a mobile or desktop application
When to choose
- you need programmatic JSON access to WordPress content from any language or client
- you are building a decoupled/headless WordPress site or custom admin interface
- you want to integrate WordPress data into external applications or services
When to avoid
- you need to file bugs or contribute code - development happens in WordPress core Trac, not this repository
- you run WordPress older than 4.7 and need the standalone plugin instead
- you need GraphQL rather than REST - consider WPGraphQL
Facets
library · maturity maintenance
api-framework http-server auth middleware cms web-development apis backend php self-hosted wordpress rest-api json-api headless-cms wp-json backbone-client web-server nodejs
6 sources
- readme: https://github.com/WP-API/WP-API · fetched 2026-08-28 · 039d424134fa
- homepage: https://developer.wordpress.org/rest-api/ · fetched 2026-08-29 · 157fa99d9c13
- site_page: https://wordpress.org/documentation · fetched 2026-08-29 · bd7786ab20ae
- site_page: https://wordpress.org/about · fetched 2026-08-29 · 7beb23faf433
- site_page: https://wordpress.org/about/privacy · fetched 2026-08-29 · ae4fa61fc31e
- site_page: https://developer.wordpress.org/rest-api/changelog · fetched 2026-08-29 · cba5ddbfaf0b
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| WP-API/WP-API | main | 10 |
| WP-API/node-wpapi | sdk | 74 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem