Craft CMS · GraphQL Specification

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.

Documentation Endpoint View on GitHub CMSContent ManagementGraphQLRESTHeadlessPHPGraphQL

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

`https://yoursite.com/actions/graphql/api`

References

Back to Craft CMS · All GraphQL Specs · GitHub

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.
All 92 tools

Call it yourself

curl for this page
This GraphQL schema
curl "https://apis.io/api/v1/graphql/craft-cms-graphql"
All graphql
curl "https://apis.io/api/v1/graphql?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

A second provider on the same verified email joins the account you already have.