# reqwest

> An ergonomic, batteries-included HTTP Client for Rust.

Source: https://talira.ai/catalog/reqwest-y3820fjs
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
- Pricing: Free and open source
- Free tier: yes
- Self-hostable: yes
- Creator: Sean McArthur (seanmonstar)

reqwest is Rust's most widely used high-level HTTP client, built on [hyper](https://talira.ai/catalog/hyper-aqygzthr.md). It has async and blocking clients, plain, JSON, urlencoded and multipart bodies, a customizable redirect policy, HTTP proxies, HTTPS through the system's native TLS or optionally rustls, a cookie store, and WASM support. A ClientBuilder sets timeouts, the user agent, the redirect policy and a custom DNS resolver.

## Links

- GitHub: https://github.com/seanmonstar/reqwest
- Docs: https://docs.rs/reqwest

## Problems it solves

- make HTTP requests from a Rust program and parse the JSON response
- I need an async HTTP client for a Tokio service that calls other APIs
- download a file over HTTPS in Rust without writing my own TLS setup
- post a multipart form upload from Rust code
- follow redirects myself and check each one before following it
- stream a large response body in chunks instead of loading it all into memory
- plug in my own DNS resolver so outbound requests can't reach internal addresses
- set a connect timeout and a total timeout on every outbound request
- send requests through an HTTP proxy from a Rust CLI
- call a REST API from Rust compiled to WebAssembly

## Features

- async and blocking clients
- JSON, urlencoded and multipart bodies
- customizable redirect policy
- HTTP proxies
- native TLS or rustls
- cookie store
- custom DNS resolvers
- WASM

## Capabilities

- Has official SDKs: plan not known

## Trust

Overall: 0.58 out of 1.
Signals: maintenance 0.66, adoption 0.82, momentum 0.60, community 1.00, backing 0.20, extensibility 0.00.

- last commit 12 days ago
- 9 commits in the last 90 days
- latest release v0.13.5 2 months ago
- 11.9k GitHub stars
- 416 contributors
- accepts sponsorship (Github)
- created by Sean McArthur (seanmonstar)

## Related

- Based on [hyper](https://talira.ai/catalog/hyper-aqygzthr.md)

## Alternatives

- [hyper](https://talira.ai/catalog/hyper-aqygzthr.md): A protective and efficient HTTP library for all.
- [Isahc](https://talira.ai/catalog/isahc-svrhe4cd.md): The practical HTTP client that is fun to use.
- [ureq](https://talira.ai/catalog/ureq-6tedvenj.md): A simple, safe HTTP client
