plugin-icon

RESTful JSON API

作者:Ali Qureshi·
40 JSON API endpoints for WordPress content, CPTs, taxonomies, media, comments, widgets, users, JWT login, API keys, CORS, and HTTPS.
版本
0.15.7
最后更新
Jul 17, 2026
RESTful JSON API

RESTful JSON API provides simple JSON endpoints for WordPress content and user-facing app workflows. It is designed for mobile apps, external tools, and lightweight integrations that need predictable JSON responses from WordPress.

Built-in features include:

  • Core endpoints for pages, search, indexes, menus, and API metadata.
  • Posts controller endpoints for read-only post lists, single posts, CPT discovery, custom taxonomies, taxonomy terms/posts, media, attachments, comments, date archives, category archives, tag archives, and author archives.
  • Comment submission endpoints.
  • Widget/sidebar retrieval endpoints.
  • User signup, login, token validation, current-user profile, avatars, password reset requests, user meta, and authenticated comments.
  • Plugin-issued JWT bearer tokens for protected endpoints.
  • Optional shared API-key protection.
  • CORS allowed-origin settings.
  • HTTPS enforcement for password and bearer-token requests, enabled by default.

Full endpoint documentation with sample code is available in Settings > RESTful JSON API > Documentation. The same long-form documentation is also included in readme.md inside the plugin package.

免费基于付费套餐
通过安装,您同意 WordPress.com 服务条款第三方插件条款
目前已测试版本
WordPress 7.0.2
这个插件是可用的下载,适用于您的站点。