GraphQL API for WordPress

WPGraphQL is a free, open-source WordPress plugin that provides an extendable GraphQL schema and API for any WordPress site.

Get StartedDownload the Plugin
App screenshot

Build rich JavaScript applications
with WordPress and GraphQL

WPGraphQL allows you to separate your CMS from your presentation layer. Content creators can use the CMS they know, while developers can use the frameworks and tools they love.

Gatsby
Gatsby
NextJS
NextJS
Vue
Vue
Svelte
Svelte

Efficient Data Fetching

Query what you need. Get exactly that.

With GraphQL, the client makes declarative queries, asking for the exact data needed, and exactly what was asked for is given in response, nothing more. This allows the client to have control over their application, and allows the GraphQL server to perform more efficiently by only fetching the resources requested.

Nested Resources

Fetch many resources in a single request

GraphQL queries allow access to multiple root resources, and also smoothly follow references between connected resources. While a typical REST API would require round-trip requests to many endpoints, GraphQL APIs can get all the data your app needs in a single request. Apps using GraphQL can be quick even on slow mobile network connections.

Who's Using WPGraphQL?

Digital agencies, product teams and freelancers around the world trust WPGraphQL in production to bridge modern front-end stacks with content managed in WordPress.

Apollo GraphQL
Credit Karma
The Denver Post
Dfuzr
Funkhaus
Harness Software
Web Dev Studios
Quartz
Hope Lab

Boost your productivityStart using WPGraphQL today!

Get StartedDownload the Plugin