# WPGraphQL GraphQL API for WordPress

> Builds headless WordPress workflows around WPGraphQL, the open-source GraphQL API plugin for WordPress. Useful for querying posts, custom post types, menus, taxonomies, and custom fields through typed GraphQL operations instead of ad hoc REST fetches.

- Skill: `agentskillexchange/wpgraphql-graphql-api-for-wordpress` (Agent Skill)
- Install (CLI): `npx skillmds@latest add agentskillexchange/wpgraphql-graphql-api-for-wordpress`
- Raw SKILL.md: https://api.skillmd.com/api/skills/agentskillexchange/wpgraphql-graphql-api-for-wordpress/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Integrations & APIs
- Author: agentskillexchange (https://skillmd.com/u/agentskillexchange)
- Updated: 2026-09-08
- Page: https://skillmd.com/skills/agentskillexchange/wpgraphql-graphql-api-for-wordpress

---


# WPGraphQL GraphQL API for WordPress

Builds headless WordPress workflows around WPGraphQL, the open-source GraphQL API plugin for WordPress. Useful for querying posts, custom post types, menus, taxonomies, and custom fields through typed GraphQL operations instead of ad hoc REST fetches.

## Installation

Requirements and caveats from upstream:
- Breaking changes that require community feedback

Basic usage or getting-started notes:
- ![graphiql-ide-example.gif](plugins/wp-graphql/img/graphiql-ide-example.gif)

- Source: https://github.com/wp-graphql/wp-graphql
- Extracted from upstream docs: https://raw.githubusercontent.com/wp-graphql/wp-graphql/HEAD/README.md

## Source

- [Agent Skill Exchange](https://agentskillexchange.com/skills/wpgraphql-graphql-api-wordpress/)

