Cube GraphQL API
Cube exposes a GraphQL API that sits on top of its semantic layer, allowing front-end applications and embedded analytics tools to query measures, dimensions, and time dimensions defined across any connected SQL database or data warehouse. The schema is dynamically generated per deployment based on the cubes (data models) defined by the user, so every Cube instance presents its own cube-specific types alongside the fixed base types (filters, ordering, `TimeDimension`, and the root `cube` query).
Overview
Cube GraphQL API is a GraphQL API specification published by Cube on the APIs.io network.
Cube exposes a GraphQL API that sits on top of its semantic layer, allowing front-end applications and embedded analytics tools to query measures, dimensions, and time dimensions defined across any connected SQL database or data warehouse. The schema is dynamically generated per deployment based on the cubes (data models) defined by the user, so every Cube instance presents its own cube-specific types alongside the fixed base types (filters, ordering, TimeDimension, and the root cube query).
The GraphQL endpoint is available at https://<your-cube-deployment>/graphql. documentation is published at https://docs.cube.dev/reference/core-data-apis/graphql-api.
The specification includes 2 reference links.
Tagged areas include Semantic Layer, Business Intelligence, Embedded Analytics, and Data Warehouse.
Endpoint
References
- Documentation https://docs.cube.dev/reference/core-data-apis/graphql-api
- GitHub https://github.com/cube-js/cube/blob/master/packages/cubejs-api-gateway/src/graphql.ts
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/cube-graphql"
curl "https://apis.io/api/v1/graphql?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.