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: 5.2.3
Depends: R (≥ 3.0.0)
Suggests: spelling, testthat (≥ 1.0.0), knitr, jsonlite, later, rmarkdown, httpuv (≥ 1.4.4), webutils
Published: 2024-09-20
DOI: 10.32614/CRAN.package.curl
Author: Jeroen Ooms ORCID iD [aut, cre], Hadley Wickham [ctb], RStudio [cph]
Maintainer: Jeroen Ooms <jeroenooms at gmail.com>
BugReports: https://github.com/jeroen/curl/issues
License: MIT + file LICENSE
URL: https://jeroen.r-universe.dev/curl https://curl.se/libcurl/
NeedsCompilation: yes
SystemRequirements: libcurl: libcurl-devel (rpm) or libcurl4-openssl-dev (deb).
Language: en-US
Materials: NEWS
In views: WebTechnologies
CRAN checks: curl results

Documentation:

Reference manual: curl.pdf
Vignettes: The curl package: a modern R interface to libcurl (source, R code)
Proxies and Certificates on Windows Networks (source, R code)

Downloads:

Package source: curl_5.2.3.tar.gz
Windows binaries: r-devel: curl_5.2.3.zip, r-release: curl_5.2.3.zip, r-oldrel: curl_5.2.3.zip
macOS binaries: r-release (arm64): curl_5.2.3.tgz, r-oldrel (arm64): curl_5.2.3.tgz, r-release (x86_64): curl_5.2.3.tgz, r-oldrel (x86_64): curl_5.2.3.tgz
Old sources: curl archive

Reverse dependencies:

Reverse depends: CytobankAPI, genomes, GoogleKnowledgeGraphR, HiCBricks, openaistream, RapidoPGS
Reverse imports: addinslist, alarmdata, algaeClassify, allcontributors, AlphaMissenseR, AMAPVox, ami, AnnoProbe, AnnotationHub, AnVILAz, anyflights, anyLib, aopdata, APCalign, arcgisgeocode, ARPALData, asciicast, AssetAllocation, ausplotsR, autoEnsemble, avidaR, aws.ec2metadata, aws.s3, AzureCosmosR, AzureGraph, baf, baizer, bambooHR, basemaps, basifoR, BatchGetSymbols, BFS, BgeeDB, bigrquery, BiocFileCache, biocompute, biomaRt, biomartr, biometryassist, bioRad, biscuiteerData, bitmexr, blastula, bndesr, BridgeDbR, bulkreadr, captr, cartography, CDCPLACES, cder, cellxgenedp, censobr, ceramic, chemodiv, chromote, cimir, ciw, clarifai, clidatajp, climate, cloudstoR, coinmarketcapr, completejourney, conflr, CongressData, contentid, covid19.analytics, covid19br, covid19us, cpp11tesseract, CRANsearcher, credentials, crul, crunch, cryptoQuotes, ctrdata, cyclestreets, czechrates, czso, dadjokeapi, dataRetrieval, DataSpaceR, deeptime, depmap, dhis2r, ebvcube, ecb, ecce, ech, echor, EDIutils, eiopaR, elastic, electionsBR, elevatr, emayili, enrichR, ensembldb, eph, epitweetr, EpiTxDb, eurlex, eurostat, evolMap, EWSmethods, excluder, exifr, exiftoolr, ExperimentHubData, faers, federalregister, felp, feltr, fgga, fHMM, finreportr, fishualize, FjordLight, flashr, flightsbr, foghorn, gasper, gbfs, geneHummus, geniusr, geoAr, geobr, geofi, geoperu, GEOquery, geouy, GetBCBData, GetDFPData, GetLattesData, GetTDData, gie, GIFT, gimms, gitgadget, githubinstall, gitignore, googleCloudRunner, googleCloudStorageR, googlesheets4, googleway, gpg, gptstudio, gptzeror, gridtext, GSODR, gtfstools, gtrendsR, h2otools, healthatlas, heapsofpapers, helsinki, hereR, hfhub, hlidacr, hsrecombi, httptest, httr, httr2, hubUtils, hyd1d, hydflood, ihpdr, imf.data, immunotation, InterVA5, ipeadatar, IsoMemo, ispdata, jgsbook, jsonld, khisr, kmeRtone, KoboconnectR, LACE, LAGOSNE, languagelayeR, legislatoR, libbib, lifeR, lifx, magick, mapboxapi, mapping, mapscanner, maptiles, MassWateR, mcbette, medrxivr, meteospain, Microsoft365R, misuvi, mlim, mlr3oml, modisfast, MouseFM, mregions2, mRpostman, MsBackendMetaboLights, natmanager, neonOS, neonUtilities, NFCP, nfl4th, nflfastR, nflreadr, ngramr, nhdR, njgeo, njtr1, NLPclient, npi, nser, ntdr, nzffdr, OAIHarvester, occCite, ocs4R, omicsViewer, OmnipathR, opencpu, opendatatoronto, OpenML, opentripplanner, osmapiR, osmdata, osrm, ottrpal, owidR, packageRank, pacs, pafdR, pageviews, palaeoverse, paleobioDB, Pandora, panstarrs, parquetize, pastclim, paws.common, pedquant, peermodels, pestr, phantasus, pivotaltrackR, pkgcache, pkgdepends, pkgfilecache, pkggraph, pkgsearch, planscorer, plotgardener, plumbertableau, pmetar, pmparser, PortalHacienda, postdoc, promptr, protti, psychmeta, ptm, pxweb, pyMTurkR, qpdf, Qtlizer, quantmod, r.proxy, r311, r4googleads, radiant.data, radous, ralger, random, randquotes, rATTAINS, Ravages, rcites, rcmdcheck, Rcpi, RCzechia, rdbnomics, rdfp, rdian, rdomains, rdryad, rdtLite, ready4, receptiviti, redcapAPI, REDCapExporter, remmy, request, resmush, restez, rgho, rglobi, rgoogleclassroom, rhub, ricu, rinat, RInno, rio, rirods, riskmetric, rivnet, rix, rJavaEnv, RKorAPClient, rmacrostrat, rnbp, rnpn, rnrfa, robis, rosm, rotl, Rpadrino, rpaleoclim, rphylopic, RPublica, RPushbullet, rpx, rqti, Rrdap, rsat, rsconnect, rsocialwatcher, rsoi, rsurveycto, rtika, rtoot, rtracklayer, rtry, rtsdata, rtweet, rversions, s3fs, salesforcer, sbtools, SchoolDataIT, secret, seeker, selenider, sevenbridges, sevenbridges2, shapley, sharpshootR, shinyloadtest, shopifyr, SMMT, socialmixr, soilDB, sotkanet, statcanR, statnipokladna, statswalesr, stepcount, stevedore, SticsRFiles, stplanr, susographql, SWMPrExtension, tapLock, taxonomizr, telegram, telegram.bot, tesseract, threesixtygiving, thunder, tidyquant, tinyscholar, tinytiger, tower, trelloR, TTR, TwitterAutomatedTrading, uklr, UniprotR, updateme, urlchecker, usethis, V8, vegdata, VicmapR, virtuoso, vmr, W3CMarkupValidator, waffle, washex, wdpar, weatherOz, webdriver, webmockr, webutils, wikitaxa, wikiTools, worldfootballR, xmlrpc2, yahoofinancer, zendown, zenstats, zipcodeR
Reverse suggests: adformR, AlpsNMR, amazonadsR, amazons3R, amazonspR, AMR, appleadsR, appsflyeR, argoFloats, arrow, atrrr, attempt, awinR, baseballr, BayesianReasoning, bayestestR, bingadsR, BiocManager, BIOMASS, blacksheepr, bslib, campaignmanageR, celltrackR, CEOdata, childesr, chronosphere, cometr, commonmark, cookiemonster, countries, covr, cowsay, csquares, datawizard, DescriptiveStats.OBeu, devtools, DiagrammeR, diseasystore, disprose, drake, duckdbfs, duckplyr, dwctaxon, earthdatalogin, easyRNASeq, eCerto, ecochange, ENCODExplorerData, epiflows, epwshiftr, facebookadsR, facebookleadsR, facebookorganicR, fastai, fastRhockey, fauxpas, fbar, FeatureExtraction, fetchGoogleAnalyticsR, fetchSalesforceR, ffscrapr, fitzRoy, forceplate, freesurferformats, gdtools, geysertimes, gmailr, gms, googleadsR, googledrive, gratia, grattan, gtexr, gutenbergr, h2o, heumilkr, hoopR, httptest2, httpuv, inldata, insight, instagramadsR, installr, irg, isoWater, leaflet.extras2, learnr, link2GI, linkedInadsR, maftools, mailchimpR, maketools, mapSpain, mauricer, mcboost, meltr, miloR, minioclient, mockthat, move2, mpathsenser, neonstore, oddsapiR, onsr, openssl, openxlsx, pak, paleotree, pct, pcvr, pepr, pinterestadsR, plotly, polmineR, processx, projmgr, protolite, ps, quarto, quoradsR, RAMClustR, readr, rechaRge, redditadsR, remotes, Require, RestRserve, rfishbase, rgugik, RMySQL, robotstxt, rsi, rxode2, sass, see, semnar, sendmailR, shinyInvoice, shopifyadsR, showtext, showtextdb, SimBu, snapchatadsR, snvecR, sportyR, stats19, stoRy, susieR, svHttp, sysfonts, taboolaR, tarchetypes, targets, testthat, tgver, thematic, tiktokadsR, tiledb, twitteradsR, valr, varbvs, vcr, vegperiod, vetiver, vroom, WDI, webfakes, wehoop, windsoraiR, winfapReader, worcs, xfun, xml2

Linking:

Please use the canonical form https://CRAN.R-project.org/package=curl to link to this page.