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
DOI: 10.32614/CRAN.package.httr
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: amberr, AnVILWorkflow, censusr, ClusterJudge, CytobankAPI, eFRED, epxToR, httping, hystReet, instaR, kofdata, LightningR, limexhub, MacBehaviour, 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, AirExposure, aiRly, alfr, alfred, algorithmia, alphavantager, altadata, altfuelr, amadeus, amapGeocode, AMARETTO, amerifluxr, analogsea, AnnoProbe, annotate, AnnotationHub, antaresEditObject, antaresRead, AnVIL, AnVILBase, AnVILGCP, AnVILPublish, anyflights, anyLib, APCalign, appeears, aquodom, arakno, archiveRetriever, archivist, archivist.github, arcpullr, ARDECO, Argentum, ArrayExpress, aRxiv, atlas, atlasapprox, 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, baseballr, basedosdados, basemaps, basifoR, batchLLM, BAwiR, bcmaps, bdl, bea.R, benchmarkme, bender, BETS, bib2df, BIGDAWG, bigrquery, binancer, binman, biobtreeR, BiocBook, BiocFileCache, biocompute, BiocPkgTools, BiocWorkflowTools, bioimagetools, biomartr, bitmexr, blackmarbler, blastula, blscrapeR, blsR, bodsr, bonn, boxr, brandwatchR, brickset, briqr, BRVM, bs4Dash, bysykkel, c2z, calpassapi, campfin, camsRad, cancensus, cansim, canvasXpress, carbonate, caRecall, cBioPortalData, ccdR, ccmReportR, cdlTools, cdrcR, cellbaseR, cellxgenedp, censo2017, censusapi, cepR, charlesschwabapi, chatAI4R, chatgpt, chemodiv, chillR, chirps, chromer, circle, citationchaser, citmre, civis, cjar, ClickHouseHTTP, clidatajp, clifro, climate, ClimMobTools, clintrialx, clockify, cloudfs, cloudos, cloudstoR, clusterProfiler, clustifyr, cmhc, cmmr, codewhere, cognitoR, cola, colorizer, colouR, colourlovers, cometr, conflr, conjurer, connectapi, connectoModa, connectwidgets, contentid, convertid, countries, covid19br, covid19india, covid19us, covidcast, COVIDIBGE, covr, cpsR, cranlogs, cricketr, cromwellDashboard, cropgrowdays, CropScapeR, crunch, cryptotrackr, cryptowatchR, CSGo, CSHShydRology, csodata, cthist, cTRAP, ctrdata, ctxR, cumulocityr, CuratedAtlasQueryR, currencyapi, cyclestreets, czechrates, czso, d4storagehub4R, dadjokeapi, dagLogo, daiR, danstat, darksky, datadogr, dataone, dataRetrieval, datarobot, DataSpaceR, DatastreamDSWS2R, DatastreamR, dataverse, datoramar, daymetr, dbhydroR, deepdep, deeplr, deepRstudio, deflateBR, DemografixeR, DescTools, details, diezeit, dimensionsR, disastr.api, DIscBIO, distcomp, dkanr, dmtools, DNH4, do, docuSignr, docxtractr, DominoDataR, Doscheda, dpmr, DramaAnalysis, drawProteins, DrillR, DSMolgenisArmadillo, DSpoty, earthdatalogin, ebvcube, ecb, ecce, echor, ecmwfr, ecochange, ecocomDP, ecos, edgar, edgarWebR, EDIutils, educationdata, eia, eiopaR, electionsBR, elevatr, emailjsr, emailvalidation, emayili, emuR, enhancerHomologSearch, eph, epidata, epidatr, epigraphdb, epitweetr, EpiTxDb, essurvey, estatapi, etrader, eudract, eurlex, euroleaguer, europeanaR, europepmc, exact.n, ExperimentHubData, ExpressionAtlas, FaaSr, facerec, factset.analyticsapi.engines, FAIRmaterials, FAOSTAT, fastRhockey, fdicdata, federalregister, FedIRT, fedregs, fedstatAPIr, ffscrapr, fgitR, fhircrackr, fHMM, figma, filebin, finbif, finnishgrid, finreportr, fishRman, fishualize, fitbitr, fitbitScraper, fitbitViz, fitzRoy, fixr, flashr, flatxml, flora, florabr, flourishcharts, fmpcloudr, FormShare, foundry, fqar, fredr, freecurrencyapi, frenchdata, frictionless, frostr, ftDK, funspotr, GA4GHclient, galvanizer, ganGenerativeData, gargle, gasper, gbfs, gcite, gde, gemma.R, GenAI, gender, genderBR, geneHummus, genieBPC, geniusr, GenomicDataCommons, GenomicScores, genular, geoAr, GEOexplorer, geofi, geogenr, geoidep, geometa, geonapi, geonode4R, geoperu, geosapi, getProxy, gfer, ggfigdone, ggmap, ghclass, gie, ginmappeR, GISSB, gistr, gitear, gitGPT, githubinstall, githubr, gitlabr, gkgraphR, glassdoor, glmSparseNet, gmailr, GNRS, Goodreader, googleAnalyticsR, googleAuthR, googleCloudRunner, googleCloudStorageR, googleComputeEngineR, googledrive, googleErrorReportingR, googlenlp, googlesheets4, googleTagManageR, graphhopper, graphite, greenfeedr, groqR, gsheet, gtranslate, guardianapi, gwasrapidd, gwavr, gym, hackeRnews, hakaiApi, haploR, harmonydata, hca, helsinki, hfhub, hgnc, hlidacr, HMDHFDplus, hoardeR, hollr, hoopR, HPiP, htmldf, httpcache, httptest, hubeau, hudr, hwsdr, hypeR, hypothesis, hypothesisr, ibb, ibmAcousticR, icardaFIGSr, IceSat2R, icesConnect, icesDatsu, icesSAG, icesSD, icpsrdata, idbr, idmc, ieugwasr, igvR, igvShiny, ihpdr, imdbapi, imgrec, imguR, IMmailgun, immunogenViewer, InflectSSP, influxdbclient, influxdbr, infoelectoral, insee, intensegRid, IOHanalyzer, ipanema, ipbase, ipkg, iplookupapi, ipumsr, isoWater, ISRaD, istat, itscalledsoccer, JamendoR, japanstat, jgsbook, jmvconnect, journalabbr, jpstat, jstager, KEGGlincs, KEGGREST, klassR, knitcitations, KnowSeq, kntnr, koinar, 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, mapping, mapsapi, margaret, markmyassignment, MassWateR, mathpix, MazamaLocationUtils, mddmaps, measurementProtocol, medfateland, mediacloudr, medrxivr, meetupapi, mergen, metabolomicsWorkbenchR, metaseqR2, meteospain, MetMashR, metricminer, metro, MGnifyR, Microsoft365R, miniCRAN, MIRit, miRLAB, MixviR, mlflow, mmstat4, mnis, modisfast, MODISTools, moexer, MolgenisArmadillo, MolgenisAuth, monashtipr, MortalityLaws, MouseFM, move, mscstexta4r, mscstts, mscsweblm4r, msig, mstrio, MungeSumstats, mygene, myvariant, naptanr, NasdaqDataLink, ncRNAtools, ndexr, neo2R, neo4r, NEONiso, neonOS, neonstore, neonUtilities, neotoma2, netgsa, nettskjemar, neurohcp, newsanchor, nfl4th, NGCHM, ngramr, nhdplusTools, nhdR, NHSDataDictionaRy, njgeo, nJira, njtr1, noegletalR, nomisr, notifyme, npi, nser, NSO1212, NSR, nzffdr, nzilbb.labbcat, oai, oaii, ocs4R, OCSdata, octopus, ODataQuery, oddsapiR, OECD, ohsome, okxAPI, omicsViewer, OmnipathR, omu, OnboardClient, onc.api, One4All, onsr, ontologics, ontoProc, openai, openalexR, openbankeR, openmeteo, OpenMindat, OpenML, openrouteservice, openscoring, openSkies, ORFik, osdatahub, osfr, osmextract, otpr, ottrpal, ouladFormat, owdbr, owidR, owmr, ows4R, oysteR, packagefinder, packager, pageviews, palaeoverse, PaLMr, PAMmisc, PAMscapes, panstarrs, patentsview, pathfindR, pathlit, paws.common, pbr, pcatsAPIclientR, pda, pdfetch, pdftables, pedquant, peermodels, perplexR, pestr, pgxRpi, phantasus, phantasusLite, pharmaverse, phenocamr, PhilipsHue, PhotosynQ, piggyback, pins, pivotaltrackR, piwikproR, PL94171, PlanetNICFI, plotly, plumbertableau, pluscode, pmetar, PNADcIBGE, PNDSIBGE, PNSIBGE, pocketapi, polished, polite, Poly4AT, polyglotr, PortalHacienda, portalr, PostcodesioR, powerbiR, PPInfer, prettifyAddins, prettymapr, prevederer, previsionio, primerTree, prism, prisonbrief, promote, promr, proPubBills, ProPublicaR, protti, provDebugR, PSAWR, psichomics, ptm, ptvapi, PubChemR, PublicWorksFinanceIT, pubmedtk, puremoe, pushoverr, pxweb, PxWebApiData, qbr, qiitr, Qtlizer, qualtRics, Quandl, queryup, quincunx, r.proxy, ractivecampaign, radous, rairtable, RAMClustR, rameritrade, ramlegacy, randquotes, rang, Rapi, rapiclient, rappsflyer, Rarr, ravelRy, raymolecule, RBaseX, rbcb, rbch, rbioapi, RBNZ, rbtc, rcites, RClimacell, RColetum, Rcrawler, RCriteo, RcwlPipelines, RCy3, RCzechia, rdaisi, rDataPipeline, rdfp, rdhs, rdian, rdnb, rdomains, RDota2, rdracor, Rduinoiot, ReactomeGSA, readabs, readrba, readtext, rebird, rechonest, recount3, recoup, REDCapR, RefManageR, refuge, rentrez, repmis, RepoGenerator, repoRter.nih, reproducer, rerddapXtracto, retrosheet, reveneraR, ReviewR, revulyticsR, rfacebookstat, rfaRm, rfieldclimate, rfigshare, rfisheries, rfoaas, rgenius, rgho, rgoogleads, rgoogleclassroom, rgoogleslides, rgtmx, rhdf5client, rhymer, RiboCrypt, ridigbio, Riex, riingo, rinat, RInno, ripc, riskmetric, RISmed, RivRetrieve, rKolada, RKorAPClient, rlandfire, rllama, rmacrostrat, rmapzen, RMassBank, rmytarget, rnassqs, rnaturalearth, rnbp, RNeXML, rNOMADS, rnpn, rnrfa, Rnumerai, roadoi, RobinHood, robis, robotstxt, rollbar, ROMDB, RonFHIR, ropendata, ROpenFIGI, ROpenWeatherMap, rorcid, rosetteApi, rotl, rPDBapi, rphylopic, rpinterest, rpredictit, RPresto, RPublica, rrefine, rsat, rscopus, rscorecard, rsdmx, RSelenium, rsi, rsinaica, rsocialwatcher, RSocrata, Rspotify, rstac, rstatscn, rStrava, rsurveycto, rt, RTCGAToolbox, RTD, Rthingsboard, rtiddlywiki, RTL, rtodoist, rtoot, rtracklayer, RTTWebClient, Rtumblr, rtweet, rtypeform, rvest, rvkstat, rwalkr, rwebstat, rWikiPathways, Rwtss, rwunderground, ryandexdirect, RYandexTranslate, rym, rytstat, RZabbix, rzentra, s3, salesforcer, saqgetr, SAR, savonliquide, SBGNview, sbtools, SC2API, scholar, SchoolDataIT, scrapeR, scrobbler, scryr, scTreeViz, sendgridr, sensibo.sky, sentryR, sergeant, serpstatr, Seurat, sevenbridges, sevenbridges2, sgapi, shidashi, shinyhttr, shinytest, shinytest2, shroomDK, siconvr, sidrar, siebanxicor, SigOptR, simpletex, skilljaR, skyscapeR, slackr, sleeperapi, smartsheetr, snapcount, snotelr, SNPannotator, socialmixr, solvebio, sparklyr, spectator, speechbr, spidR, spiritR, SpliceWiz, spotidy, spotifyr, spsUtil, sship, standartox, StanMoMo, statcanR, statnipokladna, statsearchanalyticsr, statswalesr, stevemisc, stoRy, storywranglr, stplanr, streetscape, STRINGdb, SUNGEO, suppdata, surfaltr, swatches, swirl, swissparl, SWMPr, SWTools, T2DFitTailor, tableschema.r, tauturri, TCGAbiolinks, TCGAretriever, TCIApathfinder, teamr, Tejapi, telegram, telegram.bot, telraamStats, terrainr, texreg, textpress, textrar, tfdeploy, TFutils, ThankYouStars, theiaR, TheOpenAIR, thredds, threesixtygiving, threewords, thunder, tidycensus, tidyedgar, tidygeocoder, tidygeoRSS, tidyquant, tidyRSS, tidyUSDA, tidyverse, tigris, tinyspotifyr, tm1r, TNRS, togglr, tomba, topiclabels, tqk, traveltimeR, treebase, trelloR, trustedtimestamping, tsentiment, tuber, tubern, Tushare, twfy, twilio, twitteR, txdbmaker, UCSC.utils, UCSCXenaShiny, UCSCXenaTools, ukgasapi, uklr, ukpolice, UniProt.ws, UniprotR, uptasticsearch, urlshorteneR, usdampr, usdarnass, usedthese, ustfd, vagalumeR, valet, valhallr, VancouvR, vatcheckapi, vaultr, vcr, vectorsurvR, vegdata, vembedr, VicmapR, vindecodr, virustotal, vkR, voson.tcn, VOSONDash, vosonSML, votesmart, vstsr, vvcanvas, vvtableau, vvtermtime, walkscore, walmartAPI, washex, wbstats, wdpar, webchem, webdriver, WebGestaltR, webtrackR, whitewater, whoami, wiesbaden, WikidataQueryServiceR, WikidataR, WikipediR, wikiTools, workflowr, worldfootballR, wosr, WufooR, XKCDdata, XML2R, xmlconvert, xplain, yahoofinancer, yfR, yhatr, YTAnalytics, zdeskR, zen4R, zipcodeR, zippeR, zoltr, zoomr, zzlite
Reverse suggests: AlphaMissenseR, altair, ammistability, animint2, AnnotationForge, augmentedRCBD, BayesianReasoning, BeeBDC, BgeeCall, bio3d, biolink, BoSSA, celltrackR, ChromSCape, combiroc, cookiemonster, CruzPlot, d3r, DataFakeR, datapack, datawizard, devtools, dwctaxon, easystats, EHRtemporalVariability, ENCODExplorerData, eodhdR2, excluderanges, fauxpas, faviconPlease, FeatureExtraction, genekitr, geodata, germinationmetrics, ggeffects, ggfoundry, ggimage, gluedown, GWENA, hermes, highcharter, httpgd, huxtable, iimi, inlcolor, inldata, insight, InterCellar, jsonlite, k5, lintr, log4r, martini, MatrixQCvis, memoise, metamicrobiomeR, MicroMoB, MiscMetabar, mlr3oml, mpathsenser, naaccr, nat, neurobase, nflfastR, occCite, occupationMeasurement, openairmaps, openmetrics, orderly, overtureR, packrat, pastclim, pcutils, PetfindeR, PGRdup, pkgnews, PKPDsim, polmineR, projmgr, purrr, qrcode, Rcereal, rco, rdflib, REDCapCAST, reproducible, Require, rgee, rglobi, roundhouse, Rpoet, saotd, scGOclust, sdam, sdmpredictors, see, sharpshootR, SIPDIBGE, sjPlot, soilDB, SpaDES.core, staRdom, stars, sugarglider, summclust, TCGAutils, timeperiodsR, toolStability, torchaudio, trackViewer, VariantAnnotation, 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.