# Req

> A batteries-included HTTP client for Elixir

Source: https://talira.ai/catalog/req-x4psqdpb
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Library
- Categories: [libraries / http clients](https://talira.ai/categories/libraries/http-clients)
- Licence: Apache-2.0[^1]
- Pricing: Free and open source[^1]
- Free tier: yes[^1]
- Backed by: [Wojtek Mach](https://talira.ai/orgs/wojtek-mach.md)

Req is a batteries-included HTTP client for Elixir. A couple of lines get automatic response decoding, redirects, retries on errors, compression and decompression (gzip, brotli, zstd), JSON and form encoding, Basic, Digest, Bearer and .netrc authentication, AWS SigV4 signing, range requests and streaming. Its features are built as reusable steps you can rearrange or extend, it ships Plug-based test stubs, and it runs on [Finch](https://talira.ai/catalog/finch-wt98daa2.md) by default through pluggable adapters. Apache 2.0 licensed.

## Links

- GitHub: https://github.com/wojtekmach/req
- Docs: https://hexdocs.pm/req

## Problems it solves

- make HTTP requests from Elixir without wiring retries and JSON decoding myself
- stub HTTP calls in my Elixir tests
- an Elixir HTTP client that streams large responses

## Features

- Automatic response body decoding
- Follows redirects and retries on errors
- Request compression and response decompression (gzip, brotli, zstd)
- JSON and form encoding
- Basic, Digest, Bearer and .netrc auth
- AWS SigV4 signing
- Request and response streaming
- Extensible through steps
- Plug-based test stubs

## Trust

Overall: 0.50 out of 1.
Signals: maintenance 0.60, adoption 0.63, momentum 0.40, community 0.81, backing 0.30, extensibility 0.00.

- last commit 41 days ago
- 23 commits in the last 90 days
- latest release v0.7.5 55 days ago
- 1.3k GitHub stars
- 108 contributors
- backed by Wojtek Mach

## Related

- Based on [Finch](https://talira.ai/catalog/finch-wt98daa2.md)

## Alternatives

- [HTTPoison](https://talira.ai/catalog/httpoison-cgavy63p.md): Yet another HTTP client for Elixir, powered by hackney
- [Tesla](https://talira.ai/catalog/tesla-17em3bn3.md): The flexible HTTP client library for Elixir, with middleware and multiple adapters
- [Mint](https://talira.ai/catalog/mint-9ymp6msa.md): Functional, low-level HTTP/1 and HTTP/2 client for Elixir
- [hackney](https://talira.ai/catalog/hackney-msg5q265.md): An HTTP client for Erlang. Simple, reliable, fast.
- [Finch](https://talira.ai/catalog/finch-wt98daa2.md): Performance-focused HTTP client for Elixir
- [ibrowse](https://talira.ai/catalog/ibrowse-pzr0dh4e.md): HTTP client for Erlang with connection pools and streaming

## Sources

[^1]: https://github.com/wojtekmach/req/blob/main/LICENSE.md (checked 27 Nov 2026)
