# Mint

> Functional, low-level HTTP/1 and HTTP/2 client for Elixir

Source: https://talira.ai/catalog/mint-9ymp6msa
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Library
- Categories: [libraries / http clients](https://talira.ai/categories/libraries/http-clients), [languages / elixir](https://talira.ai/categories/languages/elixir)
- Licence: Apache-2.0[^2]
- Pricing: Free and open source[^2]
- Free tier: yes[^2]
- Backed by: [Eric Meadows-Jönsson](https://talira.ai/orgs/eric-meadows-jonsson.md), [Andrea Leopardi](https://talira.ai/orgs/andrea-leopardi.md)

Mint is a low-level HTTP client for [Elixir](https://talira.ai/catalog/elixir-edq5dfnt.md) with HTTP/1.1 and HTTP/2 support. Instead of running its own processes, it represents a connection as an immutable data structure wrapping a TCP or SSL socket, so the developer decides the architecture: one process handling several connections, or different kinds of processes for different connections. It picks HTTP/1 or HTTP/2 when connecting and streams responses back in parts (status, headers, data, done). It has no pooling or WebSocket support itself: [Finch](https://talira.ai/catalog/finch-wt98daa2.md) builds connection pooling on top of it, and mint_web_socket adds WebSockets. Its authors are Eric Meadows-Jönsson and Andrea Leopardi.

## Links

- GitHub: https://github.com/elixir-mint/mint
- Docs: https://hexdocs.pm/mint

## Problems it solves

- make HTTP/2 requests from Elixir without a process per connection
- build my own connection pool or HTTP client on a low-level Elixir library
- stream a large HTTP response in Elixir piece by piece

## Features

- HTTP/1.1 and HTTP/2, chosen when connecting
- Process-less: a connection is an immutable data structure
- Streams responses in parts: status, headers, data and done
- Uses the system's CA certificates on Erlang/OTP 25 and later

## Limitations

- No connection pooling or WebSocket support of its own: Finch and mint_web_socket add them on top.[^1]

## Trust

Overall: 0.58 out of 1.
Signals: maintenance 0.87, adoption 0.63, momentum 0.35, community 0.75, backing 0.30, extensibility 0.00.

- last commit 12 days ago
- 40 commits in the last 90 days
- 1.4k GitHub stars
- 76 contributors
- backed by Eric Meadows-Jönsson and Andrea Leopardi

## Related

- Works with [Elixir](https://talira.ai/catalog/elixir-edq5dfnt.md)

## Alternatives

- [HTTPoison](https://talira.ai/catalog/httpoison-cgavy63p.md): Yet another HTTP client for Elixir, powered by hackney
- [Finch](https://talira.ai/catalog/finch-wt98daa2.md): Performance-focused HTTP client for Elixir
- [Req](https://talira.ai/catalog/req-x4psqdpb.md): A batteries-included HTTP client for Elixir
- [hackney](https://talira.ai/catalog/hackney-msg5q265.md): An HTTP client for Erlang. Simple, reliable, fast.
- [Tesla](https://talira.ai/catalog/tesla-17em3bn3.md): The flexible HTTP client library for Elixir, with middleware and multiple adapters
- [Gun](https://talira.ai/catalog/gun-h0c80c5e.md): Erlang HTTP/1.1, HTTP/2 and Websocket client

## Sources

[^1]: https://github.com/elixir-mint/mint/blob/main/README.md (checked 28 Nov 2026)
[^2]: https://github.com/elixir-mint/mint/blob/main/LICENSE.txt (checked 28 Nov 2026)
