# MiFit-Hack-API: reconstructing Mi Fit account and fitness requests

> MiFit-Hack-API documents Mi Fit Android app requests observed through mitmproxy and provides Python access scripts. Its notes map registration and login tokens, a band-data endpoint, and Base64-encoded step and sleep summaries.

- Type: Case study
- Targets: App · Protocol
- Category: Independent reconstruction cases
- Relationship: Independent reconstruction project
- Sources reviewed: 2026-11-06
- Added to the catalog: 2026-11-08
- Original resource: <https://github.com/bysiber/MiFit-Hack-API>
- Primary source: <https://github.com/bysiber/MiFit-Hack-API/blob/dffefe9d978a77c398afb4a359f41fb54cfac4fa/README.md>
- Catalog page: <https://awesomerea.org/resources/mifit-hack-api-case/>
- Record JSON: <https://awesomerea.org/resources/mifit-hack-api-case/record.json>
- Chinese version: [简体中文](https://awesomerea.org/zh/resources/mifit-hack-api-case/index.md)

## Requirements & limits

- **Prerequisites:** A spare Android 7.1.1 or newer device with root access, the Mi Fit app and mitmproxy on the same network.
- **Prerequisites:** The documented setup installs the proxy certificate on the device.
- **License:** MIT license.

## Primary sources

1. <https://github.com/bysiber/MiFit-Hack-API/blob/dffefe9d978a77c398afb4a359f41fb54cfac4fa/README.md>

## More in Apps

- [Foreca S60: reconstructing a legacy weather service](https://awesomerea.org/resources/symbian-foreca-weather-server-case/index.md) · Case study
- [XY Remote: reconstructing XinYi amplifier BLE control](https://awesomerea.org/resources/xy-remote-sinilink-ble-case/index.md) · Case study
- [RideLink: reconstructing TVS SmartXonnect scooter communication](https://awesomerea.org/resources/ridelink-tvs-smartxonnect-case/index.md) · Case study
- [lumalou: reconstructing Fisher-Price Lumalou BLE control](https://awesomerea.org/resources/lumalou-case/index.md) · Case study
- [Scarlett MixControl: rebuilding control of first-generation Scarlett interfaces](https://awesomerea.org/resources/scarlett-mixcontrol-1stgen-case/index.md) · Case study
- [Mi Fitness Sync: reconstructing workout retrieval from the Android app](https://awesomerea.org/resources/mi-fitness-sync-case/index.md) · Case study

## About this entry

The description was reviewed against primary sources.
Original editorial content: MIT. Linked projects, papers and assets retain their own rights and licenses.
