WPGraphQL is a free, open-source WordPress plugin that adds a fully featured, extensible GraphQL API to any WordPress installation — allowing developers to query WordPress data (posts, pages, custom post types, taxonomies, users, menus, settings) from any front-end framework using the flexible GraphQL query language rather than the REST API. Where the WordPress REST API returns a predefined set of fields per endpoint and requires multiple requests for complex related data, a WPGraphQL query can specify exactly which fields are needed across multiple related objects in a single round trip. WPGraphQL is the de facto standard for headless WordPress and JavaScript frontend integrations, used with Faust.js, Gatsby, and custom Next.js implementations. Major WordPress ecosystem vendors including Advanced Custom Fields, Yoast SEO, WooCommerce, and Gravity Forms have released official WPGraphQL extensions, making it possible to expose virtually all standard WordPress data via GraphQL.
Glossary entry