Apollo Federation logo

Apollo Federation

Apollo Federation is an architecture and platform for building a unified supergraph that composes multiple GraphQL APIs (subgraphs) into a single distributed GraphQL endpoint, enabling teams to work independently on different parts of the graph while delivering a unified API to consumers. Federation 2 is the current stable version, supported by the Apollo Router written in Rust and the Rover CLI for schema management.

1 APIs 9 Features
API GatewayFederationGraphQLMicroservicesOpen SourceSubgraphsSupergraph

APIs

Apollo Federation

Apollo Federation enables declarative composition of multiple subgraph APIs into a single federated supergraph. The Apollo Router orchestrates requests across subgraphs, combini...

Features

Supergraph Composition

Compose multiple subgraph schemas into a single unified supergraph schema.

Federation Directives

Declarative federation directives (@key, @external, @requires, @provides, @shareable, @link) for schema coordination.

Apollo Router

High-performance Rust-based router that orchestrates queries across subgraphs.

Apollo Connectors

Declarative integration of REST APIs into federated graphs without writing a separate GraphQL server.

Schema Registry

Apollo GraphOS schema registry for publishing, checking, and managing supergraph schemas.

Rover CLI

Command-line tool for publishing subgraph schemas, running checks, and managing the supergraph.

Query Planning

Intelligent query planning that decomposes client queries into efficient subgraph requests.

Subgraph Compatibility

Federation-compatible subgraphs can be built in any language or framework.

Gray Release Support

Progressive schema rollout with incremental migration from monolith to federated graph.

Use Cases

Distributed Team Development

Enable independent teams to own and develop separate subgraphs while delivering a unified API.

REST API Modernization

Gradually expose existing REST APIs as GraphQL via Apollo Connectors without full rewrites.

API Consolidation

Consolidate multiple disparate APIs into a single unified supergraph for consumers.

Microservices GraphQL Layer

Add a federated GraphQL layer over existing microservice architectures.

Schema Governance

Enforce schema design standards across all subgraphs via composition checks.

Integrations

Anthropic

Apollo Connector for integrating Anthropic AI APIs into the supergraph.

OpenAI

Apollo Connector for integrating OpenAI APIs into the supergraph.

AWS DynamoDB

Apollo Connector for AWS DynamoDB via REST API integration.

AWS Lambda

Apollo Connector for AWS Lambda function invocation.

Stripe

Apollo Connector for Stripe payment API integration.

OData

Apollo Connector for OData REST API integration.

Strapi

Apollo Connector for Strapi CMS API integration.

Kubernetes

Deploy Apollo Router as a Kubernetes service via Helm charts and operator patterns.

Terraform

Official Terraform provider for Apollo GraphOS management.

Resources

🔗
Documentation
Documentation
🚀
GettingStarted
GettingStarted
👥
GitHubOrganization
GitHubOrganization
👥
Federation Spec
GitHubRepository
👥
Apollo Router
GitHubRepository
👥
Rover CLI
GitHubRepository
👥
Subgraph Compatibility Tests
GitHubRepository
📦
JVM Support
SDK
📰
Blog
Blog
💰
Pricing
Pricing
📝
SignUp
SignUp