Bring the most powerful GraphQL experience into your WordPress site

Power your WordPress blocks, plugins and application with GraphQL
GraphQL API for WordPress is a GraphQL server. Queries come in, requested data comes out.
Fetch exactly the data you need, nothing more, nothing less
Simplify your application and make it run faster, by providing all the needed data in a single request.
Everything you expect from a GraphQL server, and much more
Custom endpoints
Customize the schema for different users and applications
Persisted queries
The GraphQL query is published under its own URL (as with REST)
HTTP caching
Cache the response from the API at various stages: server, CDN and browser
Access control
Manage who can access every field and directive from the schema, through a user interface
Public/private mode
Make the schema metadata (such as what fields it contains) available to everyone, or only to selected users
API hierarchy
Have queries inherit from other queries, extending their permalinks and overriding their properties
Immense power, at your fingertips. Press play and enjoy the show
Embrace the future, today!
Multiple query execution
Execute several queries in a single request, avoiding the latency from the roundtrips
Nested mutations
Execute mutations on any type from the schema, and mutate the results from another mutation
Namespacing
Avoid conflicts by automatically adding namespaces to types and interfaces
Click click click click Publish
You don't need to be a programmer to publish an endpoint. Anyone can do it!
Extensible schema. Overridable results
Directives behave like WordPress filter hooks: any plugin can conveniently modify the query results. The WordPress philosophy, brought to GraphQL.
@translate
@improveSEO
@fixGrammar
Post
Comment
title
date
content
author
Powerful yet flexible. Forget about constraints
A directive pipeline gives you the ability to execute any functionality. Too much power for the client? Restrict it to only the server.
Your site, at the center of the cloud
Add a single directive to your query to interact with any cloud-based service or external API.
Open source
GPL v2.0 and upwards. Explore and use the code, and be welcome to contribute too.
Need help? Integrate GraphQL into your WordPress plugin, with us!
GraphQL integration
Have your users query your plugin's data through GraphQL
Custom extensions
Add your CPTs to the schema, interact with 3rd-party services
Bundled in
Bundle a scoped version of this plugin, within your plugin