# softwaremill/sttp

The Scala HTTP client you always wanted!

Repository: https://github.com/softwaremill/sttp
Canonical: https://ross.abutalabs.com/products/sttp
Homepage: https://sttp.softwaremill.com
Language: Scala
License: Apache-2.0
License Family: permissive
Topics: scala, http, httpclient, interpolator, uri, asynchronous, synchronous, akka-http, monix, scalaz, reactive-streams, okhttp, cats, zipkin, zipkin-brave, distributed-tracing, client, http-client
Last push: 2026-08-25T00:24:18+00:00

## Health v2 (maintenance only)
Score: 97/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 99, release rhythm 92, longevity 100
- inputs: {"age_days": 3351, "days_push": 9, "days_rel": 56, "gap_med": 9.0, "n_releases_24m": 41}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1502, forks 333 (observed 2026-08-28T04:04:54.421554+00:00)

## What it is
sttp is a popular open-source HTTP client library for Scala with a clean, type-safe request description API. It supports synchronous, Future-based, and functional effect system programming styles, and runs on the JVM, Scala.js, and Scala Native.

## Use cases
- make http requests from scala
- call  apis with automatic serialization
- upload and download files over http
- work with websockets in scala
- send multipart form data
- trace http calls with opentelemetry
- test http client interactions
- use one http client across jvm js and native

## When to choose
- you write Scala and want a programmer-friendly, type-safe HTTP client
- you need integration with cats-effect, ZIO, Monix, or other effect systems
- you want pluggable backends (Java HttpClient, Akka/Pekko HTTP, http4s, OkHttp, Armeria)
- you need JSON library integration (circe, uPickle, play-, etc.) and streaming support
- you target multiple platforms: JVM, Scala.js, and Scala Native

## When to avoid
- you are not using Scala or the JVM/Scala ecosystem
- you need a full HTTP server, not just a client
- you want a zero-dependency minimal client and prefer raw Java HttpClient directly
- your project is locked into a different HTTP stack with no need for an abstraction layer

## Facets
- artifact type: library
- maturity: active
- function: http-client, serialization, websocket, tracing, testing, file-upload
- domain: web-development, apis, developer-tools
- platform: jvm, cross-platform, wasm
- tags: scala, scala-js, scala-native, cats-effect, zio, akka-http, pekko, okhttp, uri-interpolation, -integration, streaming

## Member repositories
- softwaremill/sttp (main) score 97

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:54.421554+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-30T04:32:54.801276+00:00, confidence not recorded.
  - readme: https://github.com/softwaremill/sttp (fetched 2026-08-28T04:04:54.421554+00:00, sha 144dcdac7a47)
- Data as of 2026-08-30T08:39:29.467469+00:00.
