WordPress · Drupal · Site Maintenance · Technical SEO · Editorial Policy

Headless GraphQL API and Joomla: What Is Supported and How to Check

If you are planning a decoupled front end for a Joomla site, you will run into the phrase headless GraphQL API. This guide separates what Joomla itself provides from what you can add, and shows you how to test your own site so you do not rely on a feature list.

What headless and GraphQL mean here

A headless setup keeps Joomla as the place where editors manage content, while a separate front end (a JavaScript app, a static site generator, a mobile app) fetches that content through an API and handles the display. Joomla’s own template system is bypassed or used only for the admin side.

GraphQL is one style of API. The client sends a query describing exactly the fields it wants and receives only those fields, usually from a single endpoint. The alternative you will meet more often is a resource-based REST-style API, where each content type has its own URL and returns a fixed shape.

Headless is the architecture; GraphQL is only one way to implement the API layer. A Joomla site can be headless without GraphQL at all.

What Joomla core provides

Joomla is a self-hosted PHP CMS, and its core includes a Web Services API that exposes content and other data over HTTP. It follows the JSON:API convention, so you request resources such as articles, categories, users and tags from URLs under the /api path of your site and get structured JSON back.

That is the part of Joomla designed for headless use. It is a resource-based API, not a GraphQL endpoint. Based on the official documentation, you should not assume a single GraphQL query endpoint exists in a standard Joomla install. The Joomla documentation site is the authority on what the core API covers, so confirm there before you commit to an architecture.

Two things follow from this:

  • If a tutorial or plugin page says Joomla “supports GraphQL”, ask where the GraphQL layer lives: in core, in an extension, or in a service placed in front of Joomla.
  • If your front-end team requires GraphQL specifically, plan for an additional component rather than a setting you switch on.

Where GraphQL can come from

There are three realistic routes. None of them is a built-in switch in a default Joomla install.

An extension

Joomla’s functionality is extended through components, modules and plugins, found in the Joomla Extensions Directory (JED) or sold directly by vendors. An extension could expose a GraphQL endpoint on top of Joomla’s data. Whether one exists, how well it is maintained and whether it works with your Joomla version are questions to answer from the extension’s own listing and documentation, not from a blog post.

A gateway in front of the site

You can run a separate service that talks to Joomla’s Web Services API (or to the database through your own code) and presents a GraphQL schema to your front end. In that case GraphQL is a property of your architecture, not of Joomla. It also means you host, secure and update one more component.

Custom development

Because Joomla is open-source PHP, a developer can write a custom component or plugin that serves GraphQL. This gives you full control over the schema but also full responsibility for access control, caching and upkeep.

Hosting and plan matter for the second and third routes. Shared hosting may restrict long-running processes, extra services or custom server rewrites, while a VPS or managed platform usually allows them. A CDN or edge layer can cache API responses, but it does not create a GraphQL API by itself.

How to check what your Joomla site supports

Do not rely on assumptions about your version or your host. Work through this checklist on the actual site, preferably a staging copy first.

  1. Confirm your Joomla version. In the administrator, open System and check the system information. Compare it with the supported versions listed in the Joomla documentation.
  2. Check the Web Services plugins. Open the plugin manager and filter for web services. Plugins in that group are what expose each part of core (content, users, tags and so on) to the API. Make sure the ones you need are enabled.
  3. Check API authentication. The API needs credentials. Look at the user’s token settings and the related authentication plugin, and confirm the account you use has only the permissions your front end needs.
  4. Request a core resource. From a command line or an API client, send an authenticated request to the articles resource under your site’s /api path. A JSON response confirms the core API works on your hosting.
  5. Look for a GraphQL extension. In the administrator’s extension manager, scan the installed components and plugins for anything that mentions GraphQL. Check its vendor page and the JED listing for compatibility and update history.
  6. Probe for a GraphQL endpoint. If an extension claims to provide one, its documentation will name the URL. Test it with a simple read-only query rather than guessing paths.
  7. Test from outside. Run the same request from a different network. Firewalls, security plugins, hosting rules and CDN settings can block API paths even when the site itself loads fine.

If the core request in step four fails, fix that first. Typical causes are URL rewriting not configured for the API path, a disabled web services plugin, or credentials without permission.

Security and operations for a headless Joomla

An API is another public entry point to your content, so treat it like one.

  • Give the API account the smallest set of permissions it needs, and keep read-only access separate from anything that can write.
  • Keep Joomla core and every extension updated. Watch the Security Centre on the Joomla developer site for announcements from the Joomla Security Strike Team.
  • Review the OWASP API Security project for common API risks such as broken authorization and excessive data exposure. GraphQL adds its own concern, since a flexible query language lets clients ask for a lot, so limit query depth and complexity wherever your tooling allows it.
  • Cache public, read-only responses at your CDN or in your front end so editors publishing content do not compete with visitor traffic for PHP workers.
  • Decide how previews, redirects and search will work, because a decoupled front end does not inherit Joomla’s built-in template behaviour.

Choosing between the core API and a GraphQL add-on

Start from the front-end requirement, not the buzzword. If your developers can work with a resource-based JSON API, the core Web Services API is the supported, documented route and adds no extra software to maintain. If the team needs GraphQL for its tooling or for flexible queries, budget for an extension or a gateway and treat its compatibility with your Joomla version as a hard requirement.

For reference, these are the official sources to keep bookmarked: the Joomla documentation for the Web Services API, the Joomla Extensions Directory for add-ons, and the Joomla Security Centre for security announcements.

Frequently asked questions

Does Joomla have a built-in GraphQL API?

The core feature documented for headless use is the Web Services API, which is resource-based and follows JSON:API conventions. A GraphQL endpoint is not part of that documented core API, so verify any claim to the contrary against the official documentation for your version.

Can I use GraphQL with Joomla at all?

Yes, but through something you add: a third-party extension, a gateway service that sits in front of Joomla, or custom code. Each route has its own maintenance and hosting requirements.

How do I know whether my hosting allows an API-driven setup?

Test it. Enable the web services plugins on a staging copy, send an authenticated request to a core resource, and repeat it from another network. If it works there, the host handles the core API, and your host’s documentation or support can answer whether extra services for a GraphQL gateway are permitted on your plan.

We use essential cookies to make this site work and remember your preferences. We do not use advertising or analytics cookies. Privacy Policy. Cookie Policy.