# apollographql/apollo-kotlin

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

Repository: https://github.com/apollographql/apollo-kotlin
Canonical: https://ross.abutalabs.com/products/apollo-kotlin
Homepage: https://www.apollographql.com/docs/kotlin
Language: Kotlin
License: MIT
License Family: permissive
Topics: graphql-client, android, apollographql, graphql, kotlin, multiplatform, kotlin-multiplatform
Last push: 2026-08-21T10:07:14+00:00

## Health v2 (maintenance only)
Score: 98/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 98, release rhythm 98, longevity 100
- inputs: {"age_days": 3626, "days_push": 12, "days_rel": 14, "gap_med": 19, "n_releases_24m": 26}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 3972, forks 695 (observed 2026-08-28T04:08:30.849968+00:00)

## What it is
Apollo Kotlin is a strongly-typed, caching GraphQL client for JVM, Android, and Kotlin Multiplatform targets. It provides code generation from GraphQL operations, normalized in-memory or SQLite caching, subscriptions, and developer tooling.

## Use cases
- consume a GraphQL API from an Android app
- build a Kotlin Multiplatform app with a shared GraphQL client
- cache GraphQL query results locally with a normalized cache
- generate type-safe Kotlin models from GraphQL operations
- handle GraphQL subscriptions over websockets in Kotlin
- use persisted queries with a GraphQL server
- migrate an Android app from Apollo Android to Apollo Kotlin

## When to choose
- you need a production-tested, type-safe GraphQL client on Android or JVM
- you want one GraphQL client shared across Kotlin Multiplatform targets
- you need normalized caching, pagination, or @defer support out of the box
- you use Apollo GraphOS features like persisted queries

## When to avoid
- your backend is REST, not GraphQL
- you need a GraphQL client for Swift/iOS or JavaScript/web - use Apollo iOS or Apollo Client instead
- you only need a lightweight hand-rolled HTTP call without code generation or caching
- your project does not use Kotlin or Java

## Facets
- artifact type: library
- maturity: active
- function: graphql-client, http-client, caching, websocket
- domain: web-development, mobile-development, apis, frontend
- platform: jvm, windows
- tags: graphql, kotlin-multiplatform, code-generation, normalized-cache, apollo, gradle-plugin, subscriptions, persisted-queries, android, ios, macos, linux, javascript

## Member repositories
- apollographql/apollo-kotlin (main) score 98

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:08:30.849968+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T18:24:21.338309+00:00, confidence not recorded.
  - readme: https://github.com/apollographql/apollo-kotlin (fetched 2026-08-28T04:08:30.849968+00:00, sha 8986ffb1c50a)
  - homepage: https://www.apollographql.com/docs/kotlin (fetched 2026-08-29T09:17:49.637376+00:00, sha 06c99acfa8ac)
  - site_page: https://www.apollographql.com/docs/graphos/routing (fetched 2026-08-29T09:17:49.659308+00:00, sha e446bd6a11e6)
  - site_page: https://www.apollographql.com/docs/apollo-operator (fetched 2026-08-29T09:17:49.661338+00:00, sha 22bed19bd33c)
  - site_page: https://www.apollographql.com/docs (fetched 2026-08-29T09:17:49.648794+00:00, sha 364c62c8f651)
  - site_page: https://www.apollographql.com/docs/graphos/platform (fetched 2026-08-29T09:17:49.650726+00:00, sha 37075c61d8dc)
  - site_page: https://www.apollographql.com/docs/graphos/connectors (fetched 2026-08-29T09:17:49.653203+00:00, sha 1f61a62ae86b)
  - site_page: https://www.apollographql.com/docs/graphos/schema-design (fetched 2026-08-29T09:17:49.655071+00:00, sha f47664f9ba05)
  - site_page: https://www.apollographql.com/docs/rover (fetched 2026-08-29T09:17:49.657344+00:00, sha 1186ae807cee)
- Data as of 2026-08-30T08:39:29.467469+00:00.
