httr: Tools for Working with URLs and HTTP

Useful tools for working with HTTP organised by HTTP verbs (GET(), POST(), etc). Configuration functions make it easy to control additional request components (authenticate(), add_headers() and so on).

Version: 1.4.7
Depends: R (≥ 3.5)
Imports: curl (≥ 5.0.2), jsonlite, mime, openssl (≥ 0.8), R6
Suggests: covr, httpuv, jpeg, knitr, png, readr, rmarkdown, testthat (≥ 0.8.0), xml2
Published: 2023-08-15
Author: Hadley Wickham [aut, cre], Posit, PBC [cph, fnd]
Maintainer: Hadley Wickham <hadley at posit.co>
BugReports: https://github.com/r-lib/httr/issues
License: MIT + file LICENSE
URL: https://httr.r-lib.org/, https://github.com/r-lib/httr
NeedsCompilation: no
Materials: README NEWS
In views: WebTechnologies
CRAN checks: httr results

Documentation:

Reference manual: httr.pdf
Vignettes: Best practices for API packages
Getting started with httr
Managing secrets

Downloads:

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

Reverse dependencies:

Reverse depends: censusr, ClusterJudge, CoronaNetR, CytobankAPI, eFRED, epxToR, httping, hystReet, instaR, kofdata, LightningR, MetChem, micar, octad, OmaDB, onmaRg, opalr, openblender, pogos, repello, request, resourcer, Rfacebook, rgdax, RGoogleAnalyticsPremium, RGoogleFit, Rlabkey, Rlinkedin, rockr, RSauceLabs, rusquant, s3.resourcer, seleniumPipes, SmarterPoland, TMDb
Reverse imports: academictwitteR, ACEP, ACEsearch, acled.api, acs, activatr, acumos, adklakedata, adobeanalyticsr, adsDataHubR, agena.ai, air, aire.zmvm, aiRly, alfr, alfred, algorithmia, alphavantager, altadata, altfuelr, amapGeocode, AMARETTO, amerifluxr, analogsea, AnnoProbe, annotate, AnnotationHub, antaresEditObject, antaresRead, AnVIL, AnVILPublish, AnVILWorkflow, anyflights, anyLib, aopdata, APCalign, appeears, appler, aquodom, arakno, archiveRetriever, archivist, archivist.github, arcpullr, ARDECO, ArrayExpress, aRxiv, atlas, atom4R, auk, ausplotsR, auth0, AutoDeskR, avidaR, aws.alexa, aws.comprehend, aws.ecx, aws.iam, aws.kms, aws.lambda, aws.polly, aws.s3, aws.transcribe, aws.translate, azlogr, AzureAuth, AzureCognitive, AzureContainers, AzureCosmosR, AzureGraph, AzureKeyVault, AzureKusto, AzureQstor, AzureRMR, AzureStor, AzureTableStor, AzureVision, AzureVMmetadata, bambooHR, basedosdados, basemaps, basifoR, BAwiR, bcmaps, bdl, bea.R, benchmarkme, bender, BETS, bib2df, BIGDAWG, bigQueryR, bigrquery, binancer, binman, biobtreeR, bioCancer, BiocBook, BiocCheck, BiocFileCache, biocompute, BiocOncoTK, BiocPkgTools, BiocWorkflowTools, bioimagetools, biomaRt, biomartr, bitmexr, blastula, blsR, bodsr, bonn, boxr, brandwatchR, brickset, briqr, BRVM, bs4Dash, bysykkel, c2z, calpassapi, campfin, camsRad, cancensus, canceR, cansim, canvasXpress, carbonate, caRecall, CatastRo, cBioPortalData, cbioportalR, ccmReportR, cdcfluview, cdlTools, cdrcR, cellbaseR, cellxgenedp, censo2017, censobr, censusapi, cepR, cfbfastR, chatAI4R, chatgpt, chemodiv, chillR, chirps, chromer, circle, citationchaser, civis, cjar, ClickHouseHTTP, clidatajp, clifro, climaemet, ClimMobTools, clockify, cloudfs, cloudos, cloudstoR, clusterProfiler, clustifyr, cmhc, cmmr, cognitoR, cola, colorizer, colouR, colourlovers, cometr, conflr, conjurer, connectapi, connectwidgets, contentid, convertid, CopernicusMarine, countries, covid19br, covid19india, covid19us, covidcast, COVIDIBGE, covr, cpsR, cranlogs, cricketr, cromwellDashboard, cropgrowdays, CropScapeR, crunch, cryptotrackr, cryptowatchR, CSGo, CSHShydRology, csodata, cthist, cTRAP, ctrdata, cumulocityr, CuratedAtlasQueryR, currencyapi, cwbtools, cyclestreets, czechrates, czso, d4storagehub4R, dadjokeapi, dagLogo, daiR, danstat, darksky, databraryr, datadogr, datagovsgR, dataone, dataRetrieval, datarobot, DataSpaceR, DatastreamDSWS2R, dataverse, datelife, datoramar, daymetr, dbhydroR, deepdep, deeplr, deepRstudio, deflateBR, DemografixeR, DescTools, details, dhlabR, diezeit, dimensionsR, DIscBIO, distcomp, dkanr, dmtools, DNH4, do, docuSignr, docxtractr, DominoDataR, Doscheda, dpmr, DramaAnalysis, drawProteins, DrillR, DSMolgenisArmadillo, DSpoty, earthdatalogin, ecb, ecce, echor, ecmwfr, ecochange, ecocomDP, ecos, ECOTOXr, edgar, edgarWebR, EDIutils, educationdata, eia, eiopaR, elevatr, emailjsr, emailvalidation, emayili, emuR, enhancerHomologSearch, enrichR, eodhd, eph, epidata, epidatr, epigraphdb, epitweetr, EpiTxDb, essurvey, estatapi, etrader, eudract, eurlex, europeanaR, europepmc, eurostat, EventStudy, exact.n, ExperimentHubData, ExpressionAtlas, facerec, factset.analyticsapi.engines, FAOSTAT, fastRhockey, fdicdata, FedData, federalregister, fedregs, fedstatAPIr, fenr, fflr, ffscrapr, fgitR, fhircrackr, figma, filebin, finbif, finnishgrid, finreportr, fishualize, fitbitr, fitbitScraper, fitbitViz, fitzRoy, fixr, flashr, flatxml, flightsbr, flora, fmpcloudr, FormShare, foundry, fredr, freecurrencyapi, frenchdata, frictionless, frostr, ftDK, funspotr, GA4GHclient, galvanizer, gargle, gasper, gbfs, gcite, gde, gemma.R, gender, genderBR, geneHummus, genieBPC, geniusr, GenomicDataCommons, GenomicScores, geoAr, geobr, GEOexplorer, geofi, geogenr, geoknife, geometa, geonapi, geosapi, getProxy, gfer, ggmap, ghclass, giscoR, GISSB, gistr, gitear, gitGPT, githubinstall, githubr, gitlabr, gkgraphR, glassdoor, glmSparseNet, gmailr, GNRS, googleAnalyticsR, googleAuthR, googleCloudRunner, googleCloudStorageR, googleComputeEngineR, googledrive, googleErrorReportingR, googlenlp, googlesheets4, googleTagManageR, graphhopper, graphite, gsheet, gtranslate, guardianapi, gwasrapidd, gwavr, gym, hackeRnews, hakaiApi, haploR, harmonydata, hca, helminthR, helsinki, hfhub, hgnc, hlidacr, HMDHFDplus, hoardeR, hoopR, HPiP, htmldf, httpcache, httptest, hubeau, hudr, hwsdr, hypeR, hypothesis, hypothesisr, ibb, ibmAcousticR, icardaFIGSr, IceSat2R, icesConnect, icesDatsu, icesSAG, icesSD, icesVMS, icpsrdata, idbr, idmc, igvR, ihpdr, imdbapi, imgrec, imguR, IMmailgun, ImmuneSpaceR, ineptR, InflectSSP, influxdbclient, influxdbr, insee, intensegRid, InterMineR, IOHanalyzer, ipanema, ipbase, ipkg, iplookupapi, ipumsr, isoWater, ISRaD, itscalledsoccer, JamendoR, japanstat, jgsbook, jmvconnect, journalabbr, jpstat, KEGGlincs, KEGGREST, kiwisR, klassR, knitcitations, KnowSeq, kntnr, KoboconnectR, kosis, lacrmr, LAGOSNE, lambdr, languagelayeR, lares, ldblock, LDlinkR, leanpubr, levi, lifx, limonaid, lineagespot, Linkage, lipidmapsR, longurl, lsnstat, Luminescence, MACER, macrocol, magicLamp, malariaAtlas, manifestoR, manydata, mapboxapi, mapme.biodiversity, mapping, mapsapi, margaret, markmyassignment, MassWateR, mathpix, MazamaLocationUtils, measurementProtocol, mediacloudr, medrxivr, meetupapi, metabolomicsWorkbenchR, MetaculR, meteospain, metro, Microsoft365R, miniCRAN, miRLAB, MixviR, mlflow, mmstat4, mnis, MODISTools, MODIStsp, moexer, MolgenisArmadillo, MolgenisAuth, monashtipr, MortalityLaws, MouseFM, move, mregions, mscstexta4r, mscstts, mscsweblm4r, msig, mstrio, MungeSumstats, mygene, myvariant, nanotatoR, naptanr, NasdaqDataLink, ncRNAtools, ndexr, neo2R, neo4r, NEONiso, neonOS, neonstore, neonUtilities, neotoma2, netDx, netgsa, nettskjemar, neurohcp, newsanchor, nfl4th, ngramr, nhdplusTools, nhdR, NHSDataDictionaRy, njgeo, nJira, njtr1, noaaoceans, nomisr, notifyme, npi, NSO1212, ntdr, nzffdr, nzilbb.labbcat, oai, occCite, ocs4R, OCSdata, octopus, ODataQuery, oddsapiR, odns, OECD, ohsome, okxAPI, oldbailey, omicsViewer, OmnipathR, omu, OnboardClient, onc.api, onemapsgapi, onsr, ontologics, openai, openalexR, openbankeR, openmeteo, OpenML, opensensmapr, openSkies, ores, ORFik, osdatahub, osfr, osmextract, otpr, ottrpal, owdbr, owidR, owmr, ows4R, oysteR, packagefinder, packager, packagetrackr, palaeoverse, PaLMr, PAMmisc, PAMscapes, patentsview, pathlit, paws.common, paxtoolsr, pbr, pcatsAPIclientR, pda, pdfetch, pdftables, pedquant, peermodels, peRspective, pestr, phantasus, phantasusLite, pharmaverse, phenocamr, PhilipsHue, PhotosynQ, piggyback, pins, pivotaltrackR, piwikproR, pkgdown, PL94171, PlanetNICFI, PloGO2, plotly, plumbertableau, pluscode, pmetar, PNADcIBGE, PNDSIBGE, PNSIBGE, pocketapi, polished, polite, polyglotr, PortalHacienda, portalr, PostcodesioR, powerbiR, PPInfer, prettifyAddins, prettymapr, prevederer, previsionio, primerTree, prism, prisonbrief, promote, promr, proPubBills, ProPublicaR, protti, provDebugR, PSAWR, psichomics, ptm, ptvapi, PubChemR, pushoverr, pxweb, PxWebApiData, QBMS, qbr, qiitr, Qtlizer, qualtRics, Quandl, queryup, quincunx, r5r, ractivecampaign, radous, rairtable, RAMClustR, rameritrade, ramlegacy, randquotes, rang, rapiclient, rappsflyer, RAQSAPI, Rarr, ravelRy, raymolecule, rb3, RBaseX, rbcb, rbch, rbioapi, RBNZ, rbtc, rcites, RClimacell, RColetum, RCPA, Rcrawler, RCriteo, RcwlPipelines, RCy3, RCzechia, rdaisi, rDataPipeline, rdfp, rDGIdb, rdhs, rdian, rdnb, RDocumentation, rdomains, RDota2, rdracor, Rduinoiot, ReactomeContentService4R, ReactomeGSA, readabs, readrba, readtext, readysignal, rebird, rechonest, recount3, recoup, redcapAPI, REDCapR, RefManageR, refuge, regcensus, rentrez, repmis, RepoGenerator, repoRter.nih, reproducer, rerddapXtracto, retrosheet, reveneraR, ReviewR, revulyticsR, rfacebookstat, rfaRm, rfieldclimate, rfigshare, rfisheries, rfoaas, rgenius, rgho, RGMQL, rgoogleads, rgoogleclassroom, rgoogleslides, rgtmx, rhdf5client, rhub, rhymer, RiboCrypt, ridigbio, Riex, riingo, rinat, RInno, ripc, riskmetric, RISmed, RivRetrieve, RKorAPClient, rllama, rmangal, rmapzen, RMassBank, rmytarget, rnassqs, rnaturalearth, rnbp, RNeXML, rNOMADS, rnpn, rnrfa, Rnumerai, roadoi, RobinHood, robis, robotstxt, rollbar, rols, ROMDB, RonFHIR, ropendata, ROpenFIGI, ROpenWeatherMap, rorcid, rosetteApi, rotl, rphylopic, rpinterest, rpredictit, RPresto, r.proxy, RPublica, rrefine, rscopus, rscorecard, rsdmx, RSelenium, rsinaica, RSiteCatalyst, RSocrata, Rspotify, rstac, rstatscn, rStrava, rsurveycto, rt, RTCGAToolbox, RTD, Rthingsboard, rtiddlywiki, RTL, rtodoist, rtoot, RTTWebClient, Rtumblr, rtweet, rtypeform, rusda, rvest, rvkstat, rwalkr, rwebstat, rWikiPathways, Rwtss, rwunderground, ryandexdirect, RYandexTranslate, rym, rytstat, RZabbix, rzentra, s3, safedata, salesforcer, saqgetr, SAR, savonliquide, SBGNview, sbtools, SC2API, scfetch, scholar, scrapeR, scrobbler, scryr, scTreeViz, sen2r, sendgridr, sensibo.sky, sergeant, serpstatr, Seurat, sevenbridges, shidashi, shinyhttr, shinyMobile, shinytest, shinytest2, shroomDK, siconvr, sidrar, siebanxicor, SigOptR, simfinapi, skilljaR, skynet, skyscapeR, slackr, sleeperapi, smapr, smartsheetr, snapcount, snotelr, SNPannotator, socialmixr, solvebio, sotkanet, sparklyr, spectator, speechbr, SpidermiR, spidR, spiritR, spotidy, spotifyr, spsUtil, sship, standartox, StanMoMo, statcanR, statnipokladna, statsearchanalyticsr, statswalesr, stevemisc, stortingscrape, stoRy, storywranglr, stplanr, subtee, SUNGEO, suppdata, surfaltr, swatches, swirl, swissparl, SWMPr, tableschema.r, tauturri, TCGAbiolinks, TCGAretriever, TCIApathfinder, teamr, Tejapi, telegram, telegram.bot, terrainr, texreg, tfdeploy, TFutils, ThankYouStars, theiaR, TheOpenAIR, thredds, threesixtygiving, threewords, thunder, tidycensus, tidygeocoder, tidygeoRSS, tidyhydat, tidyquant, tidyqwi, tidyRSS, tidyUSDA, tidyverse, tigris, tinyspotifyr, tm1r, TNRS, togglr, tomba, tqk, traits, traveltimeR, treebase, trelloR, tRNAdbImport, trustedtimestamping, tsentiment, tuber, tubern, Tushare, twfy, twilio, twitteR, UCSCXenaTools, ukgasapi, uklr, ukpolice, UniprotR, UniProt.ws, uptasticsearch, urlshorteneR, usdampr, usdarnass, ustfd, vagalumeR, valet, valhallr, VancouvR, vatcheckapi, vaultr, vcr, vegdata, vembedr, VicmapR, vindecodr, virustotal, vkR, VOSONDash, vosonSML, voson.tcn, votesmart, vstsr, vvcanvas, vvtableau, vvtermtime, walkscore, walmartAPI, washex, wbstats, wdpar, webchem, webdriver, WebGestaltR, webmorphR, webtrackR, whitewater, whoami, wiesbaden, WikidataQueryServiceR, WikidataR, WikipediR, wikiTools, wildviz, workflowr, worldfootballR, wosr, WufooR, XKCDdata, xmlconvert, xplain, yahoofinancer, yfR, yhatr, YTAnalytics, zdeskR, zen4R, zipcodeR, zoltr, zoomr, zzlite
Reverse suggests: altair, ammistability, animint2, AnnotationForge, augmentedRCBD, BayesianReasoning, bayestestR, BeeBDC, BgeeCall, bio3d, biolink, BoSSA, ChromSCape, combiroc, cookiemonster, CopulaDTA, CruzPlot, d3r, DataFakeR, datapack, datawizard, devtools, ENCODExplorerData, excluderanges, fauxpas, faviconPlease, genekitr, geodata, germinationmetrics, ggeffects, ggimage, gluedown, GWENA, hermes, highcharter, huxtable, inlcolor, insight, InterCellar, jsonlite, k5, lintr, log4r, martini, memoise, metamicrobiomeR, MicroMoB, mlr3oml, mpathsenser, naaccr, nat, neurobase, neurocInstall, nflfastR, occupationMeasurement, openairmaps, openmetrics, orderly, packrat, parameters, performance, PetfindeR, PGRdup, pkgnews, PKPDsim, polmineR, projmgr, purrr, qrcode, ravedash, Rcereal, rco, rdflib, REDCapCAST, reproducible, rgee, rglobi, RLSeq, roundhouse, Rpoet, saotd, scGOclust, sdam, sdmpredictors, see, sharpshootR, SIPDIBGE, sits, sjPlot, soilDB, SpaDES.core, staRdom, stars, summclust, TCGAutils, timeperiodsR, toolStability, torchaudio, trackViewer, usedthese, vetiver, viridis, waiter, webfakes, webmockr, wehoop, whomds, winfapReader, xml2

Linking:

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