BLACK FRIDAY
Save 59% on PageForge Annual $191/year $485/year
Claim 59% Off →
Only REST API icon
Possibly abandoned Tested up to 4.4.34

Only REST API

Got a WordPress install that serves only as the data layer and/or admin UI of your web application?

Active installs20+10+ tier
Downloads · 30d41▲ +10.8% vs prev. 30d
Rating—0 reviews
Health score24/100At risk
All-time downloads2.4KSince Sep 2015
Support resolved—No recent threads
RequiresWP 4.0PHP any
Downloads · 7d13▲ +8.3% week over week
Our verdict

Consider an alternative

Only REST API shows warning signs in 2026 — compare the alternatives below before installing. It runs on 20+ sites and was last updated 11 years ago, and scores 24/100 on our health check.

  • Small user base (20+ active installs)
  • Very few reviews so far
  • No update in 10 years
  • Only tested up to WordPress 4.4 (latest is 7.1)

How does it stack up?

Side-by-side on installs, updates, ratings & support

Daily downloads

123Jun 29Aug 12Sep 26
Yesterday4
Daily average (1y)1
Peak day5Apr 1, 2026
Last 12 months354

Download spikes usually follow a new release — each site that auto-updates counts as a download.

Rankings

Where Only REST API stands today

WordPress.org search rankings

Live position in the plugin search, top 100
KeywordPositionCompeting pluginsCategory
api >100 10,000 Best api plugins →
JSON >100 6,370 Best JSON plugins →
only >100 10,000 Best only plugins →
rest >100 8,826 Best rest plugins →

Version adoption

Share of active sites per release.

  • 1.0100.0%

About Only REST API

From the official readme · v1.0.0

Description

Got a WordPress install that serves only as the data layer and/or admin UI of your web application?

This plugin will effectively turn off all default front end output, redirect all front end urls to the main site url, and optionally display a message of your choice. The message can be a simple plain text message or you can use the included filters to completely control the HTML output.

All activity in the wp-admin and all requests for assets like images, scripts, files, etc. will be unaffected by this plugin. Only requests that go through the template_redirect action will be affected.

Message Output

Rather than contaminate the data structures you might be using for your application (like posts and pages) this plugin includes a settings page with a simple textarea box where you can save any basic message you want to show. The message content is stored in the options table, and the textarea supports all the same HTML that you can use in post content.

You can use the only_rest_api_page_content filter to include any custom HTML output you want inside the <body> tags, or you can use the only_rest_api_page_html filter to completely replace all HTML output of the message page, including the <html> and <head> tags.

There is also an only_rest_api_page_css filter that allows you to override the 5 lines of CSS this plugin includes to center the message on the page.

If you want a hook added or have a feature request let me know. Pull requests are welcome on Github.

Filter Examples

Use custom HTML inside the <body> tags:

add_filter( 'only_rest_api_page_content', 'xxx_page_content' );
function xxx_page_content( $content ) {

    $content = '<div class="custom-output">Sorry, I Only Speak REST. Please try again at a proper endpoint.</div>';

    return $content;
}

Add custom CSS to the default output:

add_filter( 'only_rest_api_page_css', 'xxx_page_css' );
function xxx_page_css( $css ) {

    $css .= '.page-content { color: red; font-size: 72px; }';

    return $css;
}

Replace the entire HTML output for the page:

add_filter( 'only_rest_api_page_html', 'xxx_page_html' );
function xxx_page_html( $html ) {

    ob_start();

    ?>
    <!doctype html>
    <html lang="">
        <head>
            <meta charset="utf-8">
            <meta http-equiv="x-ua-compatible" content="ie=edge">
            <title>Call me back over the REST API yo!</title>
            <meta name="description" content="">
            <meta name="viewport" content="width=device-width, initial-scale=1">
            <link rel="stylesheet" type="text/css" href="your-awesome-stylesheet.css">
            <script type="text/javascript">
                // Do neat stuff...
            </script>
        </head>
        <body>
            <div class="page-content">
                Ain't nobody got time for non-REST API requests. Please try again at a proper endpoint. :)
            </div>
        </body>
    </html>
    <?php

    $html = ob_get_clean();

    return $html;
}

Installation

Manual Installation

  1. Upload the entire /only-rest-api directory to the /wp-content/plugins/ directory.
  2. Activate Only REST API through the ‘Plugins’ menu in WordPress.

Better Installation

  1. Go to Plugins > Add New in your WordPress admin and search for Only REST API.
  2. Click Install.

Changelog

First Release

1.0.0

  • First Release

Full changelog on WordPress.org →

Screenshots

Customizable message shown on the front end for non-REST API requests
Customizable message shown on the front end for non-REST API requests

For developers

Is this your plugin? Show off the numbers.

Add a live badge to your site, docs or GitHub README. It updates on its own — no account needed.

Active installs badge Rating badge Health score badge

Best Only REST API alternatives

All api plugins →
Alternatives
Rank Plugin Active installs Rating Updated Health
1 WP Consent API WP Consent API Simple Consent API to read and register the current consent category. by Rogier Lankhorst 200K+ ★★★★★★★★★★ 5 (2) 2 weeks ago 86
2 Disable REST API Disable REST API Disable the use of the REST API on your website to site users. Now with User Role support! by Dave McHale 80K+ ★★★★★★★★★★ 4.8 (38) 3 years ago 48
3 Mailgun for WordPress Mailgun for WordPress Easily send email from your WordPress site through Mailgun using the HTTP API or SMTP. by Mailgun 80K+ ★★★★★★★★★★ 3.8 (49) 3 days ago 86
4 Make Connector Make Connector Make Connector. Make lets you design, build, and automate by connecting with WordPress in… by Make 70K+ ★★★★★★★★★★ 2.7 (25) 8 months ago 41
5 Disable WP REST API Disable WP REST API Disables the WP REST API for visitors not logged into WordPress. by Jeff Starr 30K+ ★★★★★★★★★★ 4.8 (36) 2 months ago 86
6 WP REST Cache WP REST Cache Enable caching of the WordPress REST API and auto-flush caches upon wp-admin editing. by Acato 10K+ ★★★★★★★★★★ 4.9 (42) 2 months ago 70
7 WPGet API – Connect to any external REST API WPGet API – Connect to any external REST API Connect any REST API to WordPress. WPGet API enables easy API integration, allowing you to… by David Anderson / Team Updraft 10K+ ★★★★★★★★★★ 5 (32) 2 months ago 90
8 WPGraphQL for ACF WPGraphQL for ACF WPGraphQL for ACF seamlessly integrates Advanced Custom Fields with WPGraphQL. by Jason Bahl 10K+ ★★★★★★★★★★ 5 (1) 3 weeks ago 75
9 WordPress REST API (Version 2) WordPress REST API (Version 2) Access your site's data through an easy-to-use HTTP REST API. (Version 2) by Ryan McCue 10K+ ★★★★★★★★★★ 4.2 (34) 9 years ago 43
10 WP REST API Controller WP REST API Controller Enable a UI to toggle visibility and customize properties in WP REST API requests. by Evan Herman 8K+ ★★★★★★★★★★ 4.3 (12) 4 years ago 38

FAQ

Only REST API: quick answers

Straight answers, pulled from live WordPress.org data.

Live data from WordPress.org · checked Sep 27, 2026

Is Only REST API free?

Yes. Only REST API is free to download and use from the official WordPress.org plugin directory.

Is Only REST API safe to use in 2026?

Only REST API shows warning signs in 2026 — compare the alternatives below before installing. It runs on 20+ sites and was last updated 11 years ago, and scores 24/100 on our health check.

How many websites use Only REST API?

Only REST API is active on 20+ WordPress websites and has been downloaded 2,433 times since it launched in September 2015. It was downloaded 41 times in the last 30 days.

Does Only REST API work with WordPress 7.1?

Only REST API is officially tested up to WordPress 4.4.34, while the latest release is 7.1.2. It may still work, but try it on a staging site first.

When was Only REST API last updated?

The latest version, 1.0.0, was released on December 7, 2015 (11 years ago).

Who makes Only REST API?

Only REST API is developed and maintained by Braad.

What are the best alternatives to Only REST API?

The most popular alternatives to Only REST API are WP Consent API (200K+ installs), Disable REST API (80K+ installs) and Mailgun for WordPress (80K+ installs).

Powered by PageForge

Want thousands of pages that rank like these? Build them in an afternoon.

This directory runs on the same engine as PageForge. Turn any spreadsheet, CSV or API into thousands of fast, SEO-ready WordPress pages — with schema, internal links and AI-written copy baked in.

  • CSV, Google Sheets & API data sources
  • AI content, schema & internal links per page
  • Works with Elementor, Gutenberg, Yoast & Rank Math
  • Free on WordPress.org — no credit card
Sarah is here to help!
Hi there! 👋 Need help finding what you're looking for?
Sarah
Sarah
Online & Ready to Help
Hi there! 👋 Need help finding what you're looking for?

We'll use this to continue our conversation

Just now ✓ Verified

Join 500+ SEO Pros Scaling Their Strategy

Get exclusive programmatic SEO tactics, AI content workflows, and the latest PageForge updates delivered straight to your inbox. Stay ahead of the algorithm.

We care about your data in our privacy policy.