Craft CMS GraphQL API
Craft CMS includes a built-in, auto-generated GraphQL API available since version 3.3. The schema exposes all content elements — entries, assets, categories, tags, global sets, users, and addresses — as queryable types. Access is controlled via bearer token authentication tied to named schemas configured in the control panel; a public (unauthenticated) schema can optionally be enabled.
Overview
Craft CMS GraphQL API is a GraphQL API specification published by Craft CMS on the APIs.io network.
Craft CMS includes a built-in, auto-generated GraphQL API available since version 3.3. The schema exposes all content elements — entries, assets, categories, tags, global sets, users, and addresses — as queryable types. Access is controlled via bearer token authentication tied to named schemas configured in the control panel; a public (unauthenticated) schema can optionally be enabled.
The GraphQL endpoint is available at https://yoursite.com/actions/graphql/api. documentation is published at https://craftcms.com/docs/5.x/development/graphql.html.
The specification includes 3 reference links.
Tagged areas include CMS, Content Management, REST, Headless, and PHP.
Endpoint
References
- Documentation https://craftcms.com/docs/5.x/development/graphql.html
- GettingStarted https://craftcms.com/docs/5.x/development/graphql.html#getting-started
- GitHub Source https://github.com/craftcms/cms/tree/main/src/gql
Work with this as data
Every GraphQL schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for graphql
4 MCP tools reach this
find_graphqlBrowse and filter every GraphQL schema in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
curl "https://apis.io/api/v1/graphql/craft-cms-graphql"
curl "https://apis.io/api/v1/graphql?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.