Fuel is a Kotlin HTTP client for REST-style networking, built on Kotlinx Coroutines. Optional modules add serialization, Android main-thread handling, and reactive response types.
Overview
Fuel is an HTTP networking package for Kotlin projects. It exposes fluent-style calls for common verbs and supports both blocking and asynchronous usage, including coroutine-based suspend functions for async work.
Requests can run through a shared manager so defaults for headers, authentication, and behavior apply across calls. The library covers file download, multipart uploads, request cancellation, debug logging, and deserialization into Kotlin data types.
On the JVM, configuration maps to OkHttp; on Apple platforms it uses NSURLSession. Android use requires Android 5 or newer and Java 8 bytecode. The core ships via Maven Central and JitPack, with separate artifacts for Gson, Moshi, Jackson, Kotlin serialization, LiveData, RxJava, Reactor, and Android-specific helpers.
Fuel is positioned as a Kotlin-focused HTTP stack with a small core and optional integration packages rather than a single monolithic client.
Key features
- GET, POST, PUT, DELETE, HEAD, PATCH
- Blocking and async requests
- Kotlin coroutines support
- File download and multipart upload
- POJO and POKO deserialization
- Optional Gson, Moshi, and Jackson modules
- RxJava, Reactor, and LiveData adapters
- R8 compatibility without extra rules
Use cases
- REST API calls in Kotlin apps
- Android app networking
- Coroutine-based HTTP in backend Kotlin
- Multipart file uploads
- JSON APIs with chosen serializer