# ureq

> A simple, safe HTTP client

Source: https://talira.ai/catalog/ureq-6tedvenj
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Library
- Categories: [libraries / http clients](https://talira.ai/categories/libraries/http-clients), [languages / rust](https://talira.ai/categories/languages/rust)
- Licence: MIT OR Apache-2.0[^2]
- Pricing: Free and open source[^2]
- Free tier: yes[^2]
- Self-hostable: yes[^1]
- API: yes[^1]
- Creator: Martin Algesten

ureq is a blocking HTTP client for Rust, written in pure Rust with `unsafe` code forbidden. It uses blocking I/O instead of async, which keeps its API simple and its dependency tree small, and suits CLIs and scripts that don't run an async runtime. An `Agent` holds a connection pool and an optional cookie store; features turned on as needed add JSON through serde, multipart forms, gzip and brotli, charset decoding and SOCKS proxies. TLS comes from rustls (the default) or native-tls, with Mozilla's roots or the platform's verifier, and timeouts can be set for the whole call or each phase. Martin Algesten created it; [reqwest](https://talira.ai/catalog/reqwest-y3820fjs.md) is the usual async alternative.

## Links

- GitHub: https://github.com/algesten/ureq
- Docs: https://docs.rs/ureq

## Problems it solves

- make HTTP requests from a small Rust CLI without pulling in Tokio and an async runtime
- call a JSON API from synchronous Rust code with as few dependencies as possible
- an HTTP client crate with no unsafe code for a security-sensitive Rust tool
- set separate timeouts for DNS, connect, sending and receiving in a blocking Rust client
- send Rust HTTP requests through a SOCKS5 proxy or the HTTPS_PROXY environment variable
- verify TLS certificates with the operating system's trust store instead of a bundled list
- keep my Rust binary small while still downloading files over HTTPS

## Features

- pure Rust, forbids unsafe code
- blocking I/O, no async runtime
- Agent with connection pooling and an optional cookie store
- rustls (default) or native-tls
- webpki roots or the platform certificate verifier
- JSON via serde, multipart forms, form encoding
- gzip and brotli decompression, charset decoding
- HTTP CONNECT and SOCKS4/5 proxies, proxy environment variables
- global, per-call and per-phase timeouts
- based on the http crate's types
- pluggable Transport and Resolver traits (unversioned)

## Limitations

- Doesn't offer an async API: it uses blocking I/O to keep the API simple and dependencies few[^1]

## Capabilities

- Has an API: plan not known

## Trust

Overall: 0.28 out of 1.
Signals: backing 0.20, extensibility 0.20.

- created by Martin Algesten

Warnings:

- GitHub activity not fetched yet

## Alternatives

- [reqwest](https://talira.ai/catalog/reqwest-y3820fjs.md): An ergonomic, batteries-included HTTP Client for Rust.
- [Isahc](https://talira.ai/catalog/isahc-svrhe4cd.md): The practical HTTP client that is fun to use.
- [hyper](https://talira.ai/catalog/hyper-aqygzthr.md): A protective and efficient HTTP library for all.

## Sources

[^1]: https://github.com/algesten/ureq (checked 20 Nov 2026)
[^2]: https://github.com/algesten/ureq/blob/main/Cargo.toml (checked 20 Nov 2026)
