Lifecycle: superseded

httr is superseded: only changes necessary to keep it on CRAN will be made. We recommend using httr2 instead.

CRAN status R-CMD-check Codecov test coverage

The aim of httr is to provide a wrapper for the curl package, customised to the demands of modern web APIs.

Key features:

httr wouldn’t be possible without the hard work of the authors of curl and libcurl. Thanks! httr is inspired by http libraries in other languages, such as Resty, Requests and httparty.


To get the current released version from CRAN:


To get the current development version from github:

# install.packages("devtools")

Code of Conduct

Please note that the httr project is released with a Contributor Code of Conduct. By contributing to this project, you agree to abide by its terms.