Engine

Control and understand your GraphQL API.

Apollo Engine is a GraphQL gateway that helps you implement and run GraphQL over REST or any other backend with confidence.

Improve response times

With caching and persisted queries

Identify and understand hotspots

With performance tracing and history

Keep an eye on your API

With alerts and regular reports

Get started in minutes.

Get advanced insight and performance from your GraphQL API with just a few lines of code.

Setting up with Node and Express

With just a few lines of code, you can get Engine running anywhere you can run your Node server.

Simply npm install apollo-engine, replace your Express app.listen(...) call with the Engine-enabled version in the code snippet, and get an API key by creating a service in Engine.

Get API keySetup docs

const { ApolloEngine } = require('apollo-engine');
const { graphqlExpress } = require('apollo-server-express');

// Set up your GraphQL server as usual
const app = express();
app.use('/graphql', graphqlExpress(...));

// Initialize Engine
const engine = new ApolloEngine({
  apiKey: process.env.API_KEY
});

// Start your server
engine.listen({
  port: 3000,
  expressApp: app,
});

Other languages

Learn how to get up and running with Ruby, Scala, Java, Elixir, or any other language. Engine is compatible with any GraphQL server.

Visit the Engine docs »

Deploy guide with Heroku

It's easy to deploy a Node server with Engine to a platform-as-a-service like Heroku. Check out our guide to learn how to set things up.

Read the article »

Kubernetes and EC2

Engine can run anywhere you can run a Docker container with just a few configuration options. Drop it into your existing setup.

Running Engine with Docker »

GraphQL-specific benefits out of the box.

Apollo Engine is the only product that provides GraphQL-specific API management features, hand-crafted based on years of conversations with developers using GraphQL.

GraphQL caching

Avoid hitting your API when you don't need to. Engine can cache commonly-used queries and resolve them in microseconds.

Learn more

Query execution tracing

See what is slowing down your queries on a per-resolver level, giving you the tools to improve your UI performance.

Learn more

Error tracking

Understand where your GraphQL API is encountering problems, and reproduce errors by isolating the GraphQL operations that caused them.

Learn more

Trends

See how your API performance is changing over time, both for the overall service and for individual operations.

Learn more

Choose the Engine for you.

Use Engine in smaller apps for free, and upgrade to get advanced features, longer history retention, and premium support.

Community

All of the core features, free forever, up to 1 million queries per month.

 

FREE

Core features:

Tracing and errors
Caching + CDN support
1-day data retention

Standard

For teams running GraphQL in production for the first time.

Starting at:

$99 /month

Community features, plus:

PagerDuty and Slack alerts
Datadog integration
7-day data retention

Pro

Premium support and historical data for critical applications.

Starting at:

$449 /month

Standard features, plus:

24/7/365 support
1 hour response time
90-day data retention

Enterprise

Our complete package of tools, services, and support.

Pro features, plus:

Hands-on GraphQL training
Guidance from Apollo team
Dedicated support engineer

To sign up for Standard or Pro, just upgrade in the app once you've set things up.

Start with NodeOther servers

How does Engine work?

Apollo Engine can run anywhere your GraphQL server can. It operates in one of two modes, either as a package you install into your Node server, or as a standalone proxy you can run with Docker, which works with any GraphQL server library. We've architected it to work for the most demanding of environments:

  • Your customer data doesn't leave your infrastructure
  • Engine keeps working even if our service goes down temporarily
  • Connect to existing infrastructure like Kubernetes, Memcached, or your CDN if needed

Read more in the docs