curl: A Modern and Flexible Web Client for R

The curl() and curl_download() functions provide highly configurable drop-in replacements for base url() and download.file() with better performance, support for encryption (https, ftps), gzip compression, authentication, and other 'libcurl' goodies. The core of the package implements a framework for performing fully customized requests where data can be processed either in memory, on disk, or streaming via the callback or connection interfaces. Some knowledge of 'libcurl' is recommended; for a more-user-friendly web client see the 'httr' package which builds on this package with http specific tools and logic.

Version: 4.2
Depends: R (≥ 3.0.0)
Suggests: askpass, spelling, testthat (≥ 1.0.0), knitr, jsonlite, rmarkdown, magrittr, httpuv (≥ 1.4.4), webutils
Published: 2019-09-24
Author: Jeroen Ooms ORCID iD [aut, cre], Hadley Wickham [ctb], RStudio [cph]
Maintainer: Jeroen Ooms <jeroen at>
License: MIT + file LICENSE
URL: (docs) (devel) (upstream)
NeedsCompilation: yes
SystemRequirements: libcurl: libcurl-devel (rpm) or libcurl4-openssl-dev (deb).
Language: en-US
Materials: NEWS
In views: WebTechnologies
CRAN checks: curl results


Reference manual: curl.pdf
Vignettes: The curl package: a modern R interface to libcurl
Proxies and Certificates on Windows Networks
Package source: curl_4.2.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
OS X binaries: r-release: curl_4.2.tgz, r-oldrel: curl_4.2.tgz
Old sources: curl archive

Reverse dependencies:

Reverse depends: CytobankAPI, GoogleKnowledgeGraphR, VarfromPDB
Reverse imports: abbyyR, addinslist, anyLib, aws.ec2metadata, BatchGetSymbols, bigrquery, biomartr, bioRad, bomrang, brranching, captr, cder, ceramic, cimir, citr, clarifai, clinPK, codemetar, coinmarketcapr, completejourney, CRANsearcher, credentials, crul, crunch, crypto, ctrdata, cwbtools, dataRetrieval, datarobot, DataSpaceR, ecb, elastic, EventStudy, exifr, exiftoolr, FedData, federalregister, fingertipscharts, fingertipsR, finreportr, foghorn, forestChange, geneHummus, geniusr, geojsonsf, geoknife, geoviz, GetBCBData, getCRUCLdata, GetDFPData, GetHFData, GetLattesData, GetTDData, gimms, gitgadget, githubinstall, gitignore, googleCloudStorageR, googledrive, googleway, gpg, GSODR, gtrendsR, httr, ipeadatar, istacr, itunesr, jenkins, jsonld, jsr223, kokudosuuchi, LAGOSNE, languagelayeR, magick, malariaAtlas, metR, MODIS, moveVis, mRpostman, multicastR, nasapower, nhdR, OAIHarvester, opencpu, OpenML, osmdata, osmplotr, pafdR, pageviews, pak, pdfetch, pedquant, pivotaltrackR, pkgcache, pkggraph, PWFSLSmoke, pyMTurkR, qpdf, qrandom, quantmod,, random, randquotes, rcitoid, RCzechia, rdbnomics, rdfp, rdian, rdryad, rdtLite, readabs, readthat, request, rgho, RGISTools, rglobi, rijkspalette, RInno, rio, rmd, rnbp, rnrfa, rosm, RPublica, RPushbullet, rsconnect, rsoi, rtika, rtsdata, rversions, scidb, secret, shopifyr, socialmixr, splashr, stevedore, stplanr, swissdd, taxizedb, telegram,, tesseract, textreadr, tidyUSDA, TTR, udapi, usethis, V8, valetr, virtuoso, W3CMarkupValidator, wdpar, webdriver, webmockr, webutils, wikitaxa, wrswoR.benchmark, xmlrpc2
Reverse suggests: AMR, attempt, BiocManager, childesr, commonmark, cowsay, CytobankAPIstats, data.table, datapackage.r, DescriptiveStats.OBeu, devtools, drake, dwapi, dynwrap, epiflows, fauxpas, fbar, fivethirtyeight, gdtools, grattan, gtsummary, gutenbergr, httpuv, installr, jsonlite, pct, pds3, plotly, processx, projmgr, protolite, ps, rchie, readr, remotes, RMySQL, RxODE, showtext, showtextdb, stats19, sysfonts, testthat, valr, varbvs, vegperiod, vroom, xml2


Please use the canonical form to link to this page.