π GraphQL API for WordPress
See the code
Unlock the power of WordPress data with GraphQL
WPGraphQL provides an extendable GraphQL API for any WordPress site, unlocking modern development workflows.
Whether you're a WordPress developer exploring GraphQL or a GraphQL expert diving into WordPress, WPGraphQL simplifies data interaction and empowers your development workflow.
This is a monorepo containing the WPGraphQL ecosystem of plugins and websites:
wp-graphql/
βββ plugins/
β βββ wp-graphql/ # WPGraphQL core plugin
β βββ wp-graphql-ide/ # IDE extension plugin
β βββ wp-graphql-smart-cache/ # Smart Cache extension plugin
β βββ wp-graphql-acf/ # ACF extension plugin
βββ websites/
β βββ wpgraphql.com/ # WPGraphQL.com Next.js website
βββ design/
β βββ brand/ # Product-family brand guides + wp.org asset generators
βββ .wp-env.json # Shared WordPress environment config
βββ package.json # Root workspace configuration
βββ turbo.json # Turborepo build orchestration
For end users: Nothing changes! Install WPGraphQL from WordPress.org, Composer, or download the release zip.
For contributors: Clone the repo and run:
npm install # Install dependencies (uses workspaces)
npm run wp-env start # Start WordPress environment with all plugins
π See the Development Guide for detailed setup instructions.
WPGraphQL aims to be the canonical GraphQL API for WordPress, providing:
In scope:
Candidates for core (via Experiments):
Better as extensions:
The difference: Experiments are potential core features being validated. Extensions are intentionally separate functionality that should remain as plugins. Experiments may graduate to core or be removed; extensions live independently forever.
This focus keeps WPGraphQL maintainable while enabling a rich ecosystem of extensions.
wp plugin install wp-graphql --activateregister_graphql_field and register_graphql_connection.

For Users:
For Contributors:
WPGraphQL is powered by a passionate community of contributors, backers, and sponsors.
Want to help maintain and grow WPGraphQL?
We extend our gratitude to the following projects and organizations for their contributions to the WordPress and GraphQL ecosystems:
graphql-php library that powers WPGraphQL's core functionality.graphql-relay-php library used in relay connections.Thank you to all these organizations and individuals for their efforts in shaping the tools we rely on today.
WPGraphQL is becoming a Canonical Plugin on WordPress.org, ensuring long-term support and a growing community of users and contributors.
WPGraphQL uses the Appsero SDK to collect telemetry data only after user consent, helping us improve the plugin responsibly.
When telemetry is enabled, each payload is sent to Appsero and mirrored in non-blocking requests to WPGraphQL-operated infrastructure at https://telemetry.wpgraphql.com (the same data as described in Appseroβs policy).
1,063 followers Β· starred Feb 2018
7,136 followers Β· starred Mar 2021
3,911 followers Β· starred Jul 2019
650 followers Β· starred Jun 2018
π GraphQL API for WordPress
See the code
Unlock the power of WordPress data with GraphQL
WPGraphQL provides an extendable GraphQL API for any WordPress site, unlocking modern development workflows.
Whether you're a WordPress developer exploring GraphQL or a GraphQL expert diving into WordPress, WPGraphQL simplifies data interaction and empowers your development workflow.
This is a monorepo containing the WPGraphQL ecosystem of plugins and websites:
wp-graphql/
βββ plugins/
β βββ wp-graphql/ # WPGraphQL core plugin
β βββ wp-graphql-ide/ # IDE extension plugin
β βββ wp-graphql-smart-cache/ # Smart Cache extension plugin
β βββ wp-graphql-acf/ # ACF extension plugin
βββ websites/
β βββ wpgraphql.com/ # WPGraphQL.com Next.js website
βββ design/
β βββ brand/ # Product-family brand guides + wp.org asset generators
βββ .wp-env.json # Shared WordPress environment config
βββ package.json # Root workspace configuration
βββ turbo.json # Turborepo build orchestration
For end users: Nothing changes! Install WPGraphQL from WordPress.org, Composer, or download the release zip.
For contributors: Clone the repo and run:
npm install # Install dependencies (uses workspaces)
npm run wp-env start # Start WordPress environment with all plugins
π See the Development Guide for detailed setup instructions.
WPGraphQL aims to be the canonical GraphQL API for WordPress, providing:
In scope:
Candidates for core (via Experiments):
Better as extensions:
The difference: Experiments are potential core features being validated. Extensions are intentionally separate functionality that should remain as plugins. Experiments may graduate to core or be removed; extensions live independently forever.
This focus keeps WPGraphQL maintainable while enabling a rich ecosystem of extensions.
wp plugin install wp-graphql --activateregister_graphql_field and register_graphql_connection.

For Users:
For Contributors:
WPGraphQL is powered by a passionate community of contributors, backers, and sponsors.
Want to help maintain and grow WPGraphQL?
We extend our gratitude to the following projects and organizations for their contributions to the WordPress and GraphQL ecosystems:
graphql-php library that powers WPGraphQL's core functionality.graphql-relay-php library used in relay connections.Thank you to all these organizations and individuals for their efforts in shaping the tools we rely on today.
WPGraphQL is becoming a Canonical Plugin on WordPress.org, ensuring long-term support and a growing community of users and contributors.
WPGraphQL uses the Appsero SDK to collect telemetry data only after user consent, helping us improve the plugin responsibly.
When telemetry is enabled, each payload is sent to Appsero and mirrored in non-blocking requests to WPGraphQL-operated infrastructure at https://telemetry.wpgraphql.com (the same data as described in Appseroβs policy).
1,063 followers Β· starred Feb 2018
7,136 followers Β· starred Mar 2021
3,911 followers Β· starred Jul 2019
650 followers Β· starred Jun 2018