# knowm/XChange

XChange is a Java library providing a streamlined API for interacting with 60+ Bitcoin and Altcoin exchanges providing a consistent interface for trading and accessing market data.

Repository: https://github.com/knowm/XChange
Canonical: https://ross.abutalabs.com/products/xchange
Homepage: http://knowm.org/open-source/xchange/
Language: Java
License: MIT
License Family: permissive
Topics: bitcoin
Last push: 2026-07-31T12:04:54+00:00

## Health v2 (maintenance only)
Score: 75/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 95, release rhythm 35, longevity 100
- inputs: {"age_days": 5326, "days_push": 33, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 4079, forks 1998 (observed 2026-08-28T04:08:34.392377+00:00)

## What it is
XChange is a Java library providing a simple, consistent API for interacting with 60+ Bitcoin and other cryptocurrency exchanges. It supports both polling and streaming access for trading operations and market data across a unified interface.

## Use cases
- connect to multiple crypto exchanges from Java with one API
- fetch ticker and order book market data from Bitcoin exchanges
- place and manage trades on cryptocurrency exchanges programmatically
- stream live market data from Binance or Bitfinex
- build a crypto trading bot in Java
- get account balances and trade history from exchanges

## When to choose
- you need a unified Java API across many cryptocurrency exchanges
- you want both REST polling and streaming market data in one library
- you're building Java, Android, or Java EE apps that trade crypto

## When to avoid
- you need exchanges not among the 60+ supported integrations
- you're not working on the JVM and prefer a native Python or JS library
- you need guaranteed production support for every exchange's latest API changes

## Facets
- artifact type: library
- maturity: active
- function: http-client, sdk, streaming
- domain: fintech, apis
- platform: jvm, cross-platform
- tags: crypto-exchanges, trading, market-data, bitcoin, altcoin, java-library, cryptocurrency, android

## Member repositories
- knowm/XChange (main) score 75

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:08:34.392377+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:23:26.416761+00:00, confidence not recorded.
  - readme: https://github.com/knowm/XChange (fetched 2026-08-28T04:08:34.392377+00:00, sha 63d15b043031)
  - homepage: http://knowm.org/open-source/xchange/ (fetched 2026-08-29T09:15:26.400780+00:00, sha 468f344e80c8)
  - site_page: https://knowm.org/about (fetched 2026-08-29T09:15:26.409880+00:00, sha 3831fa5bff45)
  - site_page: https://knowm.org/javadocs/xchange/index.html (fetched 2026-08-29T09:15:26.412158+00:00, sha ca363ef4076c)
- Data as of 2026-08-30T08:39:29.467469+00:00.
