WPGraphQL
WPGraphQL is a free, open-source WordPress plugin that provides an extendable GraphQL schema and API for any WordPress site. Get Started Install WPGraphQL: wp plugin install wp-graphql --activate Try it out: Live Demo Read the Quick Start Guide . Join the Community on Discord and Star the Repo ! Key
WPGraphQL is a free, open-source WordPress plugin that provides an extendable GraphQL schema and API for any WordPress site.
Get Started
- 01Install WPGraphQL: wp plugin install wp-graphql --activate
- 02Try it out: Live Demo
- 03Read the Quick Start Guide .
- 04Join the Community on Discord and Star the Repo !
Key Features
- Flexible API : Query posts, pages, custom post types, taxonomies, users, and more.
- Extendable Schema : Easily add functionality with WPGraphQL’s API, enabling custom integrations.
- Compatible with Modern Frameworks : Works seamlessly with Next.js , Astro , SvelteKit , and more.
- Optimized Performance : Fetch exactly the data you need in a single query. Boost performance with WPGraphQL Smart Cache .
WPGraphQL is becoming a Canonical Plugin on WordPress.org, ensuring long-term support and a growing community of users and contributors.
Upgrading
It is recommended that anytime you want to update WPGraphQL that you get familiar with what’s changed in the release.
WPGraphQL publishes release notes on Github .
WPGraphQL has been following Semver practices for a few years. We will continue to follow Semver and let version numbers communicate meaning. The summary of Semver versioning is as follows:
- MAJOR version when you make incompatible API changes,
- MINOR version when you add functionality in a backwards compatible manner, and
- PATCH version when you make backwards compatible bug fixes.
You can read more about the details of Semver at semver.org
Privacy Policy
WPGraphQL uses Appsero SDK to collect some telemetry data upon user’s confirmation. This helps us to troubleshoot problems faster and make product improvements.
Appsero SDK does not gather any data by default. The SDK starts gathering basic telemetry data only when a user allows it via the admin notice .
You can stop sharing at any time by unchecking Share Usage Data under GraphQL → Settings . Opting out stops all further check-ins, including the copies sent to https://telemetry.wpgraphql.com. When you opt out, one final request records the opt-out with Appsero (and its copy at https://telemetry.wpgraphql.com). It includes a hashed identifier for your site, but no site details.
When you opt in, each telemetry request is sent to Appsero and a duplicate is sent in a non-blocking request to WPGraphQL-operated infrastructure at https://telemetry.wpgraphql.com (the same categories of data as described for Appsero below). If you deactivate the plugin from the Plugins screen while opted in, a feedback form may ask why; submitting it sends that reason with the same categories of site details as a regular check-in. If you have not opted in, deactivation skips the form and sends nothing.
Sharing usage data doesn’t sign anyone up for email, even though the usage data includes this site’s admin email address and an administrator’s name.
Learn more about how Appsero collects and uses this data .
Screenshots & previews.
Frequently asked questions.
How is WPGraphQL funded?
WPGraphQL is free and open-source. It is supported by contributors, backers, and sponsors, including Automattic, which provides significant support as WPGraphQL becomes a Canonical Plugin.
Learn more about supporting WPGraphQL on Open Collective .
Can I use WPGraphQL with xx JavaScript framework?
Yes! WPGraphQL works with any client that can make HTTP requests to the GraphQL endpoint. It integrates seamlessly with frameworks like Next.js , Gatsby , Astro , and more.
Where can I get support?
You can join the WPGraphQL Discord community for support, discussions, and announcements.
How does WPGraphQL handle privacy and telemetry?
WPGraphQL uses the Appsero SDK to collect telemetry data only after user consent . This helps improve the plugin while respecting user privacy. When telemetry is enabled, the same payloads are also mirrored to WPGraphQL-operated infrastructure at https://telemetry.wpgraphql.com. You can opt out at any time under GraphQL → Settings . Sharing usage data doesn’t sign anyone up for email.