Join us from October 8-10 in New York City to learn the latest tips, trends, and news about GraphQL Federation and API platform engineering.Join us for GraphQL Summit 2024 in NYC
Start for Free
You're viewing documentation for a previous version of this software. Switch to the latest stable version.

Introduction to Apollo Android

A strongly-typed, caching GraphQL client for the JVM, Android and Kotlin multiplatform

Apollo Android is a that generates Java and Kotlin models from GraphQL queries. These models give you a type-safe API to work with . Apollo helps you keep your GraphQL statements together, organized, and easy to access.

This library is designed primarily with Android in mind, but you can use it in any Java/Kotlin app.


  • Java and Kotlin code generation
  • Queries, and s
  • Reflection-free parsing of responses
  • HTTP cache
  • Normalized cache
  • File uploads
  • Custom types
  • Reactive bindings for: RxJava2, RxJava3, Coroutines, Reactor and Mutiny

Getting started

If you are new to , check out the tutorial that will guide you through building an Android app using Apollo, Kotlin and coroutines.

If you'd like to add Apollo Android to an existing project:

Advanced topics

Check the project website for in depth documentation about caching, plugin configuration, android, file upload, coroutines, rxjava2, rxjava3, reactor, mutiny, persisted queries, no runtime, migrations and much more...

IntelliJ Plugin

The JS Graphql IntelliJ Plugin provides auto-completion, error highlighting, and go-to-definition functionality for your .graphql files. You can create a .graphqlconfig file to use GraphQL scratch files to work with your schema outside product code (such as to write temporary queries to test ).


The latest version is

Maven Central

Check the changelog for the release history.

Releases are hosted on Jcenter and Maven Central. The plugin is additionally hosted on the Gradle Plugin Portal

plugins {
repositories {
dependencies {
// optional: if you want to use the normalized cache
// optional: for coroutines support
// optional: for Mutiny support
// optional: for Reactor support
// optional: for RxJava3 support
// optional: Most of apollo-android does not depend on Android in practice and runs on any JVM or on Kotlin native. apollo-android-support contains a few Android-only helper classes. For an example to send logs to logcat or run callbacks on the main thread.
// optional: if you just want the generated models and parsers and write your own HTTP code/cache code, you can remove apollo-runtime
// and use apollo-api instead


Latest development changes are available in Sonatype's snapshots repository:

repositories {
maven {
url = uri("")


Apollo Android runs on the following platforms:

  • Android API level 15+
  • JDK 8+
  • iOS 13+


If you'd like to contribute, please see

Community integrations

Additional resources

Who is Apollo?

Apollo builds open-source software and a platform to unify GraphQL across your apps and services. We help you ship faster with:

  • Apollo Studio – A free, end-to-end platform for managing your GraphQL lifecycle. Track your in a hosted registry to create a source of truth for everything in your graph. Studio provides an IDE (Apollo Explorer) so you can explore data, collaborate on queries, observe usage, and safely make schema changes.
  • Apollo Federation – The industry-standard open architecture for building a distributed graph. Use Apollo’s open-source gateway to compose a unified graph from multiple , determine a , and route requests across your services.
  • Apollo Client – The most popular GraphQL client for the web. Apollo also builds and maintains Apollo iOS and Apollo Android.
  • Apollo Server – A production-ready JavaScript that connects to any microservice, API, or database. Compatible with all popular JavaScript frameworks and deployable in environments.

Learn how to build with Apollo

Check out the Odyssey learning platform, the perfect place to start your GraphQL journey with videos and interactive code challenges. Join the Apollo Community to interact with and get technical help from the GraphQL community.

Get started with Kotlin
Rate articleRateEdit on GitHubEditForumsDiscord

© 2024 Apollo Graph Inc., d/b/a Apollo GraphQL.

Privacy Policy