Gallop
A REST API for headless Next.js sites: a page's post, SEO, and site data in one request, plus comments and member accounts that stay in WordPress.
Utiliser avec prudence
Gallop works, but test it on a staging site before relying on it in 2026. Was last updated 2 months ago, and scores 60/100 on our health check.
- Testé avec le dernier WordPress (7.1)
- Petite base d'utilisateurs (<10Â installations actives)
- Très peu de critiques jusqu'à présent
- Nécessite PHP 8.1 ou plus récent
Comment s'accumule-t-il ?
Côte à côte sur les installations, les mises à jour, les évaluations et le supportTéléchargements quotidiens
Les pics de téléchargement suivent généralement une nouvelle version - chaque site qui met à jour automatiquement compte comme un téléchargement.
Classements
Where Gallop stands todayWordPress.org Classements de recherche
Position en direct dans la recherche de plugins, Top 100| Mot-clé | Position |
|---|---|
| authentication | >100 |
| decoupled | #39 |
| headless | >100 |
| nextjs | #11 |
| API REST | >100 |
About Gallop
À partir du Lisezmoi officiel · v1.4.0Description
Gallop is the headless WordPress REST API for Next.js that’s FAST and SIMPLE. Keep the WordPress you write in, lose the theme that slows you down — and ship your whole page from one request.
The WordPress editing experience your team already knows, with the speed of a fully decoupled Next.js front end. One endpoint, one response, done.
Visit the Gallop homepage & documentation →
Most headless setups make you stitch together a waterfall of core WordPress REST calls per page — /wp/v2/posts, /wp/v2/media, meta, and taxonomy — then bolt on a JWT layer and an auth service just to log a user in. Gallop replaces all of that.
One request. The whole page. Hand Gallop a URI and it returns the post body, an SEO block, and your global site data — already joined, already resolved, ready to render. The API is the point: a dedicated, Next.js-shaped REST namespace (/wp-json/gallop/v1) so your front-end code stays simple — one fetch, one response, ready to render.
Why choose Gallop?
- One round trip instead of five. Everything a page needs —
post,seo, andsite— in a single response. - No JWT, no separate auth service. Members log in, sign up, and reset passwords against WordPress’s own user table, through your front end’s server, and reading content needs no key at all.
- Comments that stay in WordPress. Visitors comment on your front end; WordPress stores, moderates, and notifies exactly as it does for its own comment form.
- SEO done for you. With Yoast active, the
seoblock ships search-ready out of the box. - No-code custom post types. Register REST-enabled CPTs from the admin — no
register_post_type()boilerplate. - Instant publishing. Publish in WordPress and Gallop revalidates the affected Next.js routes automatically — no full redeploy.
- Framework-agnostic JSON. Next.js is the reference target, but any HTTP client can consume the API.
- Keep your workflow. Your editors keep the exact WordPress publishing experience they already rely on.
Everything a page needs, in one request
Hand Gallop a URI and it returns the whole page in a single response: the full post, its seo metadata, and your global site data, already joined, already resolved, ready to render. GET|POST /gallop/v1/post handles posts and pages, and POST /gallop/v1/category does the same for taxonomy archives. No waterfall of /wp/v2/posts, /wp/v2/media, meta, and taxonomy calls per page — one round trip instead of five, with no JWT, API keys, or complicated authentication to set up. Your front end stays simple, and your pages load fast.
The SEO is done for you. With Yoast active, the seo block is populated straight from Yoast’s indexables (canonical, meta description, OpenGraph, robots flags, reading time) so every page ships search-ready out of the box. Without Yoast, seo comes back as an empty object instead of disappearing, so your front end can check it and fall back to its own defaults.
Login, members, and comments, already wired up
Moving off a WordPress template usually means rebuilding everything it gave you for free. Gallop ships with it already done. Readers log in, sign up, reset a password, and edit their profile on your Next.js site, and every one of them is an ordinary WordPress user. Editors sign in with their normal WordPress credentials. There is no JWT layer and no separate auth service to stand up: your front end’s server talks to WordPress with one key, and keeps its own session for each member.
Comments stay in WordPress too. Visitors and members comment on your front end; WordPress stores, moderates, and notifies exactly as it does for its own comment form.
Settings and custom post types, configured from WordPress
Point Gallop at your Next.js production URL and it 301-redirects public WordPress front-end requests to the matching path on your headless host. Admin, REST API, and previews are left untouched.
Register REST-enabled custom post types from the Post Types tab and they’re immediately available through the Gallop namespace — no register_post_type() boilerplate, no developer round trip. Core post types are left alone, and content you create survives a deactivate/uninstall.
Trusted on real production sites
Gallop isn’t a proof of concept — it powers live production sites today:
- douglasnewby.com
- cmwelectric.com
- winx.gallop.software
Every one edits in WordPress and ships a fast Next.js front end — headless content, real Google rankings and structured data, no theme holding it back, and the same WordPress publishing experience your team already knows.
See how Gallop powers headless WordPress →
Points de terminaison de repos
All endpoints live under the gallop/v1 namespace.
GET|POST /gallop/v1/post— Resolve a post and returnpost,seo, andsitepayloads. Acceptsuri,id, orslugwithtype.GET|POST /gallop/v1/posts— A filtered, paged collection of posts of onetype. Acceptscategory,include,meta_key/meta_value/meta_compare,orderby,order,size,offset, andfields.GET|POST /gallop/v1/posts/list— Slug, uri, and modified date for every published post of atype, for sitemaps and static builds. Optionalparent.POST /gallop/v1/category— Resolve a category URI to a term and returncategory,seo, andsitepayloads.GET /gallop/v1/comments— The approved comments on apost, oldest first, as a flat list withparentids. Public.POST /gallop/v1/comments— Submit a visitor’s or a member’s comment. Requires the API key.POST /gallop/v1/members/login,POST /gallop/v1/members,POST /gallop/v1/members/confirm,POST /gallop/v1/members/create,POST /gallop/v1/members/reset-request,POST /gallop/v1/members/reset,GET|PATCH /gallop/v1/members/{id}— Members: log in, sign up, confirm an address, create an account the front end confirmed, reset a password, read and edit a profile. All require the API key.POST /gallop/v1/auth/login,POST /gallop/v1/auth/logout,GET /gallop/v1/auth/session— The older cookie-based login, kept for front ends on the same registered domain that use it.
Membres
Readers get accounts, and WordPress is the only place they live. Every route takes the API key with the Manage members permission and is called by your front end’s server, which keeps its own session for the member; WordPress is asked only when someone logs in or changes something.
- Log in with an email address or username and a password, checked by
wp_authenticate()as the visitor, so login-protection plugins see the visitor’s address. No WordPress cookies are set. - Sign up: nothing is created until the reader opens the confirmation email; then they become a Subscriber, verified, and logged in, with a one-time key so the front end can offer them a password at once. An address that already has an account is only marked subscribed. An email is never a way past a password.
- Reset a password with WordPress’s own reset keys, emailed as a link to your front end.
- Profiles: name, email, password, and two email choices. Changing the email or password needs the current one and ends every session the front end holds, through a
sessionVersionhanded back with each request. - Comments as themselves, recorded as theirs, and accepted where only registered users may comment.
A password set through Gallop, by /members/create, /members/reset, or a profile change, must be 8 to 128 characters. Logging in accepts whatever password the account already has.
Five wrong passwords for one login name from one address within fifteen minutes return HTTP 429; each address is sent at most one email every ten minutes and five a day; login, sign-up and reset answer the same whether or not the address is known.
Les commentaires
Show WordPress comments on a headless front end, and let visitors leave them, without giving up anything WordPress does with a comment.
GET /gallop/v1/comments?post=<id>returns the post’s approvedcomments, oldest first, each withid,parent,authorName,authorUrl,isPostAuthor,avatar,dateGmt, and renderedcontent. Build the thread fromparent. It also returnsopen,count,requireNameEmail,threadDepth, andtruncated. A commenter’s email address, IP address, and browser are never returned.POST /gallop/v1/commentstakespost,parent,authorName,authorEmail,authorUrl,content, and the visitor’sip,userAgent, andreferer. It answers201with thecomment, itsstatus(approved,hold,spam, ortrash), and the post’s newcount.
A submitted comment is handed to wp_handle_comment_submission(), the function WordPress’s own comment form uses. Your Discussion settings, moderation, the duplicate and flood checks, anti-spam plugins such as Akismet, and notification emails all behave as they do for a comment left on a WordPress site. Core’s own REST route for comments sends no notification emails.
Send the request from your front end’s server, never from the browser: it carries the API key.
API key
Reading from Gallop needs no key. Writing does: a request that changes something in WordPress on a visitor’s behalf has to prove it comes from your front end’s own server.
- Generate it under Gallop → Settings → Front-end connection. It is shown once. Gallop stores only a hash of it.
- Send it in the
X-Gallop-WP-Keyheader, over HTTPS. - Keep it on your server, in a secret environment variable such as
GALLOP_WP_API_KEY. Never give it aNEXT_PUBLIC_prefix, and never put it in code. - Or set it in
wp-config.phpwithdefine( 'GALLOP_WP_API_KEY', 'gallopwp_…' );. A key set there takes priority over a generated one. - Permissions are off by default. A key can do only what you tick: “Submit comments” and “Manage members”. A permission added by a later version is never switched on for you.
- Regenerating replaces the key at once.
Gallop removes the key from the request as soon as it has been checked, so other plugins that read or forward request headers never see it.
SEO integration
When the Yoast SEO plugin is active, the seo block in the post and category responses is populated from Yoast’s indexable data (canonical, meta description, OpenGraph fields, robots flags, reading time, etc.). Without Yoast, seo is returned as an empty object so clients can branch safely.
Data stored
gallop_post_types(option) — your custom post type definitions.gallop_nextjs_production_url(option) — the redirect target, if configured.gallop_trust_forwarded_ip(option) — whether to trust reverse-proxy IP headers when rate-limiting auth (default off).gallop_api_key_hash(option) — a hash of your API key, with the date it was generated and its last four characters. Never the key itself.gallop_api_key_permissions(option) — what the key is allowed to do.gallop_verified,gallop_subscribed,gallop_reply_emails,gallop_session_version(user meta) — whether a member’s address is waiting for confirmation, their email choices, and their session version._gallop_reply_notified(comment meta) — a reply already emailed about.gallop_auth_*(transients) — short-lived login rate-limit counters.gallop_pending_*(transients) — sign-ups awaiting confirmation, up to 48 hours: address, names, and a hash of the link’s key.gallop_confirm_sent_*(transients) — when each address was last emailed, for a day.gallop_key_fail_*(transients) — short-lived counters of wrong API keys, by address.gallop_key_reveal_*(transient) — a newly generated key, held for up to two minutes so it can be shown once after the page reloads, then deleted.
Comments submitted through Gallop are ordinary WordPress comments, and members are ordinary WordPress users, stored where WordPress stores them.
Intimité
Gallop does not send any data to external services. All data stays on your WordPress site.
The login endpoints authenticate users with WordPress’s built-in functions. To mitigate brute-force attacks, Gallop temporarily stores failed-login counters in WordPress transients keyed by a hash of the login name and the visitor’s IP address. These counters expire automatically (typically within 15 minutes) and are removed on plugin uninstall.
A sign-up is kept as a transient for up to 48 hours (the address, the names typed, and a hash of the confirmation key), then becomes a WordPress user or expires. Gallop emails members through wp_mail() only what they asked for: confirmation and reset links, a note that an address already has an account, and replies to their comments if they turned that on. It records when each address was last emailed, for a day, to limit how often one can be written to.
When a request presents a wrong API key, Gallop counts it in a transient keyed by a hash of the requesting IP address. That counter also expires within 15 minutes and is removed on uninstall.
A comment submitted through /gallop/v1/comments is stored by WordPress with the commenter’s name, email address, IP address, and browser, as WordPress stores every comment. Those details are supplied by your front end, and the IP address and browser are presented to other active plugins while the comment is saved, as they would be for a comment left on the site itself: an anti-spam plugin may send them to its own service, under its own privacy terms. Comments are returned by /gallop/v1/comments without the email address, IP address, or browser. If avatars are switched on, each comment includes an avatar address from your avatar service (Gravatar by default), which contains a hash of the commenter’s email address, as WordPress’s own themes and REST API expose.
No personal data is shared with third parties. No tracking, analytics, or telemetry is performed.
Installation
- Upload the
gallopfolder to/wp-content/plugins/, or install the ZIP from the Plugins screen. - Activate Gallop from the Plugins screen.
- Point your Next.js front end at
https://your-wp-site.example/wp-json/gallop/v1and start fetching thepostandcategoryendpoints. - (Optional) Open Gallop in the admin menu to register custom post types and set your Next.js production URL.
- (Optional) To accept comments or members from your front end, generate an API key under Front-end connection, tick Submit comments and Manage members, and give the key to your front end’s server. Member emails link to the Next.js production URL, so set it first.
Requires PHP 8.1 or higher. The plugin will refuse to boot and show an admin notice on older PHP versions.
Journal de modifications
Adds a route for front ends that confirm a new member's address themselves. Nothing else changes.
1.4.0
- Added
POST /gallop/v1/members/create, for a front end that sends the confirmation email itself: it creates a verified member with the password they chose, and sends no email. Needs the API key with the Manage members permission. An address that already has an account is answered 409gallop_member_exists. - Sign-up through
POST /gallop/v1/membersand/members/confirmworks as before.
1.3.2
- Fixed: a password containing a quote, a double quote or a backslash, set in WordPress, was refused by
/gallop/v1/members/loginand/gallop/v1/auth/login. Passwords are now checked and stored the way WordPress’s own login screen does it. A password already set through the reset or profile routes keeps working.
1.3.1
- Removes what 1.3.0 added:
GET /gallop/v1/members,POST /gallop/v1/members/{id}/subscription, the “Send mailings” permission, and theemailfield in the confirm response. A front end that sends mailings keeps its own list of subscribers. - Everything else is as in 1.2.0.
1.3.0
- Added a list of users and an unsubscribe route for front ends that send mailings. Withdrawn in 1.3.1.
1.2.0
- Added members:
POST /gallop/v1/members/login,POST /gallop/v1/members(sign up),/members/confirm,/members/reset-request,/members/reset, andGET|PATCH /members/{id}. A front end’s server can let readers log in withwp_authenticate(), sign up with email confirmation, reset a password with WordPress’s own keys, and edit a profile, with no WordPress cookies involved. All need the API key with the new “Manage members” permission, which starts off. - A member logged in on the front end can comment as themselves:
POST /gallop/v1/commentstakesuserandsessionVersion, andGETreportsopenToMembers. - A member can ask to be emailed when someone replies to their comment.
- Accounts with the Subscriber role that have never chosen count as subscribed to new posts by email; a member’s own choice always wins.
- New filters:
gallop_member_data,gallop_member_email. New actions:gallop_member_login,gallop_member_login_failed,gallop_member_signup_requested,gallop_member_verified,gallop_member_registered,gallop_member_password_reset,gallop_member_updated. - Existing endpoints and their responses are unchanged, except that
GET /gallop/v1/commentsgains one field.
1.1.0
- Added
/gallop/v1/comments.GETreturns a post’s approved comments as a flat list withparentids, ready to thread.POSTsubmits a visitor’s comment through WordPress’s own comment form handling, so Discussion settings, moderation, the duplicate and flood checks, anti-spam plugins, and notification emails all behave as they do for a comment left on a WordPress site. - Added an API key for front ends that write to WordPress. Generate it under Gallop → Settings → Front-end connection, or define
GALLOP_WP_API_KEYinwp-config.php. Only a hash is stored. It is sent in theX-Gallop-WP-Keyheader, over HTTPS only. - What a key may do is switched on one permission at a time, and every permission starts off. “Submit comments” is the first.
- New filters:
gallop_comment_data,gallop_comments_data,gallop_comments_max,gallop_comment_avatar_sizes,gallop_comments_cache_control,gallop_api_key_capabilities,gallop_api_key_max_failed_attempts,gallop_api_key_transport_secure. New actions:gallop_comment_submitted,gallop_comment_rejected,gallop_api_key_generated,gallop_api_key_verified,gallop_api_key_failed. - Existing endpoints and their responses are unchanged.
Captures d'écran
Pour les développeurs
Est-ce votre plugin ? Montrez les chiffres.
Ajoutez un badge en direct à votre site, docs ou github readme. Il se met à jour par lui-même - aucun compte n'est nécessaire.
Best Gallop alternatives
All authentication plugins →FAQ
Gallop: quick answers
Réponses directes, extraites des données en direct WordPress.org.
Source : WordPress.org
Is Gallop free?
Yes. Gallop is free to download and use from the official WordPress.org plugin directory.
Is Gallop safe to use in 2026?
Gallop works, but test it on a staging site before relying on it in 2026. Was last updated 2 months ago, and scores 60/100 on our health check.
How many websites use Gallop?
Gallop is active on <10 WordPress websites and has been downloaded 469 times since it launched in June 2026. It was downloaded 85 times in the last 30 days.
Does Gallop work with WordPress 7.1?
Yes. The developer has tested Gallop up to WordPress 7.1.5, the latest release. It requires WordPress 6.4 or newer.
What PHP version does Gallop need?
Gallop requires PHP 8.1 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.
When was Gallop last updated?
The latest version, 1.4.0, was released on October 14, 2026 (2 months ago).
Who makes Gallop?
Gallop is developed and maintained by gallopsoftware.
What are the best alternatives to Gallop?
The most popular alternatives to Gallop are Limit Login Attempts (200K+ installs), Two Factor (100K+ installs) and WPS Limit Login (100K+ installs).
Propulsé par PageForge
Un modèle et une feuille de calcul. Une vraie page pour chaque recherche.
PageForge transforme chaque ligne d'un CSV en une page WordPress avec son propre titre, URL, SEO et schéma, construit sur la mise en page que vous Déjà conçu. Gratuit sur WordPress.org.
- CSV et XLSX, plus Google Sheets sur les professionnels et les entreprises
- Son propre titre, URL, SEO champs et schéma pour chaque page
- Fonctionne avec l'éditeur de blocs, Elementor, Divi et Avada
- Gratuit sur WordPress.org, pas de carte de crédit
