DK Headless API
Turns WordPress into a high-performance, secure Headless CMS with custom REST routes, rate limiting, and smart transient caching.
Utiliser avec prudence
DK Headless API works, but test it on a staging site before relying on it in 2026. Was last updated 5 months ago, and scores 49/100 on our health check.
- Petite base d'utilisateurs (<10Â installations actives)
- Très peu de critiques jusqu'à présent
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 DK Headless API stands todayWordPress.org Classements de recherche
Position en direct dans la recherche de plugins, Top 100| Mot-clé | Position |
|---|---|
| cms | >100 |
| headless | #73 |
| nextjs | #10 |
| react | >100 |
| API REST | >100 |
About DK Headless API
À partir du Lisez-moi officiel · v1.0.1Description
Quick Answer: What is DK Headless API?
DK Headless API is a professional-grade framework that decouples WordPress by disabling the frontend theme layer, prunes default REST endpoints to prevent data scraping, and exposes a secure, high-performance API namespace (dk/v1) designed specifically for modern frontend engines (Next.js, React, Astro, Vue, Svelte).
Key Takeaways
- Instant Decoupling: Turns off the theme template engine (returning
410 Gone) and dequeues all frontend scripts. - ACF & Gutenberg Integration: Natively embeds Advanced Custom Fields (ACF) data and parses Gutenberg blocks into clean API payloads.
- Advanced Caching: Implements smart transient caching that auto-invalidates when posts are updated or deleted.
- Security & Rate Limiting: Features dynamic API Key generation (
X-DK-API-Key) and daily request limiters per IP/key. - Tree-Menu Resolver: Translates complex WP menu hierarchies into clean nested JSON trees.
Why Go Headless with WordPress?
Monolithic WordPress sites face constant performance overheads, plugin bloat, and security vulnerabilities. Decoupling WordPress allows you to use it purely as a content editor while rendering your frontend on edge servers. This results in:
1. Sub-second Load Times: Serving static HTML via CDNs.
2. Improved Security: Hiding the WP database and admin panel behind custom api restrictions.
3. Better Developer Experience: Allowing front-end engineering teams to build with modern UI libraries.
Feature Comparison Table
Feature
Standard WordPress REST
DK Headless API
Frontend Deactivator
No (requires manual code/redirects)
Yes (410 Status + asset dequeuer)
Endpoint Security
Public (scrapers can access /users)
REST Pruning & API Key restrictions
ACF Field Resolution
Requires separate helper plugins
Native & embedded out-of-the-box
Menu Hierarchy
Flat arrays (hard to parse)
Smart tree resolver (nested JSON)
Smart Transient Cache
None (requires external DB queries)
Caching with auto-invalidation on save
Rate Limiter
No rate protection
Daily rate limiting per client IP/Key
🚀 Need Help Designing Your Headless Architecture?
Decoupling WordPress can introduce complex challenges regarding static site generation (SSG), incremental static revalidation (ISR), CORS handling, and preview modes.
If you are an agency, founder, or marketing team looking to build a high-performance headless architecture:
* Book a Free 30-Minute Strategy Session with the Digitized Kosmos engineering team.
* We will audit your current endpoints, optimize your server-side configurations, and help blueprint your Next.js/React revalidation flow.
* 👉 Schedule Free Consultation
Action Checklist for a Successful Headless Launch
- [ ] Verify that your REST API namespace (
dk/v1) is accessible. - [ ] Configure your CORS allowed origin to match your frontend domain.
- [ ] Generate a developer API key and verify header auth.
- [ ] Add your redirect Frontend URL so visitors are guided to your app.
- [ ] Test post-update callbacks to confirm transient cache invalidation.
Installation
Step-by-Step Framework
- Upload & Install: Upload the folder to your
/wp-content/plugins/directory, or install directly via the WordPress Plugin search. - Activation: Activate the plugin.
- Configure Settings: Go to Settings > DK Headless API in your WP Admin Dashboard.
- Setup CORS: Enter your Frontend URL (e.g.
https://myfrontend.com) in the General Settings to allow secure CORS headers. - Secure Your Endpoint: Toggle API Key enforcement, generate an authorization key, and configure your daily rate limits.
Journal de modifications
1.0.1
- Renamed namespaces and option prefixes to dkhwp_ and DKHWP\ to fully comply with WordPress.org guidelines.
- Improved security checks for cached REST endpoints in rest_pre_dispatch.
- Strengthened URL input sanitization using esc_url_raw().
- Hardened rate limiting transient keys generation against IP/Key attacks.
- Implemented dynamic developer API Key generator in admin pages.
- Added custom Next.js headless consultation admin notice on settings pages.
- Added fully compliant icons and banners to repository assets.
1.0.0
- Initial release of DK Headless API.
- Decoupled frontend template engine (
410 Gone). - REST endpoint pruning for secure public access.
- Built-in ACF custom fields resolver.
- Built-in smart transient caching with hooks-based flushing.
- Custom Next.js-ready nested tree-menu parser.
- Multi-key authentication manager.
- Daily IP/Key rate limiter.
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 DK Headless API alternatives
All cms plugins →FAQ
DK Headless API: quick answers
Réponses directes, extraites des données en direct WordPress.org.
Source : WordPress.org
Is DK Headless API free?
Yes. DK Headless API is free to download and use from the official WordPress.org plugin directory.
Is DK Headless API safe to use in 2026?
DK Headless API works, but test it on a staging site before relying on it in 2026. Was last updated 5 months ago, and scores 49/100 on our health check.
How many websites use DK Headless API?
DK Headless API is active on <10 WordPress websites and has been downloaded 362 times since it launched in June 2026. It was downloaded 70 times in the last 30 days.
Does DK Headless API work with WordPress 7.1?
DK Headless API is officially tested up to WordPress 7.0.9, while the latest release is 7.1.5. It may still work, but try it on a staging site first.
What PHP version does DK Headless API need?
DK Headless API requires PHP 8.0 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.
When was DK Headless API last updated?
The latest version, 1.0.1, was released on June 30, 2026 (5 months ago).
Who makes DK Headless API?
DK Headless API is developed and maintained by digitized kosmos.
What are the best alternatives to DK Headless API?
The most popular alternatives to DK Headless API are White Label CMS (200K+ installs), List category posts (70K+ installs) and Cornerstone (20K+ 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
