Skip to content
JS
Comparison

got vs superagent

got is an HTTP request library for Node.js with streams, retries, hooks and pagination, and superagent is an HTTP request library for the browser and Node.js, with the same API in both.

HTTP clientsPackage data 25 Sept 2026
gotv16.0.0, 30 Aug 2026

HTTP request library for Node.js with streams, retries, hooks and pagination.

$ npm install got
superagentv10.4.1, 23 Sept 2026

HTTP request library for the browser and Node.js, with the same API in both.

$ npm install superagent
MetricgotsuperagentDifference
Weekly downloads30,398,05716,110,103got 1.9x higher
12-month download growth+28%+43%superagent +15 pts
Gzip size---
Minified size---
Dependencies109got 1 more
Unpacked size438 kB592 kBgot 35% smaller
Latest release16.0.0, 30 Aug 202610.4.1, 23 Sept 2026superagent 23 days more recent
Releases, last 12 months183got 15 more
First published27 Mar 201422 Aug 2011superagent 2.6 years earlier
GitHub stars14,94616,636superagent +11%
Open issues10got 1 more
Open pull requests00Same
Contributors205--
Commits, last 52 weeks20331got 6.5x higher
TypeScript typesBundledNoneDiffers
Module formatESM onlyCommonJSDiffers
RuntimesNode.jsBrowser, Node.jsOnly superagent: Browser
LicenseMITMITSame

Green marks the smaller size or the more recent release. Bold marks the higher count, with no judgement implied. Sizes are for the whole package per Bundlephobia. Growth compares the average of the last 4 weeks with the first 4 weeks of the 52-week series.

got30.4m latest weeksuperagent16.1m latest week
Week of 23 Sept 2025Week of 15 Sept 2026
Weekly npm downloads, 52 weeks. Y axis starts at zero. Values are not smoothed.

got

Major versions
  1. 0.1.027 Mar 2014
  2. 1.0.05 Aug 2014
  3. 2.0.023 Nov 2014
  4. 3.0.06 May 2015
  5. 4.0.025 Jul 2015
  6. 5.0.018 Oct 2015
  7. 6.0.07 Jan 2016
  8. 7.0.029 May 2017
  9. 8.0.016 Nov 2017
  10. 9.0.04 Aug 2018
  11. 10.0.01 Dec 2019
  12. 11.0.020 Apr 2020
  13. 12.0.010 Dec 2021
  14. 13.0.027 May 2023
  15. 14.0.029 Nov 2023
  16. 15.0.01 Apr 2026
  17. 16.0.030 Aug 2026
Last 5 releases
  1. 16.0.030 Aug 2026
  2. 15.1.02 Jul 2026
  3. 15.0.728 Jun 2026
  4. 15.0.621 Jun 2026
  5. 15.0.56 May 2026
186 releases in total, 18 in the last 12 months

superagent

Major versions
  1. 0.1.122 Aug 2011
  2. 1.0.011 Mar 2015
  3. 2.0.029 May 2016
  4. 3.0.019 Nov 2016
  5. 4.0.017 Nov 2018
  6. 5.0.228 Mar 2019
  7. 6.0.08 Aug 2020
  8. 7.0.07 Jan 2022
  9. 8.0.024 Jun 2022
  10. 9.0.023 Apr 2024
  11. 10.0.05 Aug 2024
Last 5 releases
  1. 10.4.123 Sept 2026
  2. 10.4.022 Sept 2026
  3. 10.3.06 Jan 2026
  4. 10.2.322 Jul 2025
  5. 10.2.27 Jul 2025
166 releases in total, 3 in the last 12 months
got

Promise-based and stream-based, extendable instances with hooks

superagent

Chainable request builder, callback (.end) or promise (.then / await)

got
  • Node.js only. Its own comparison table lists no browser support.
  • Native ESM with no CommonJS export since v12.
  • The README recommends ky, by the same maintainers, for most users, as it is smaller, works in the browser and is built on Fetch.
superagent
  • Requests are built by chaining methods such as .send() and .set(), then sent with .end() or awaited.
  • Supports both callbacks and promises.
  • Has a plugin system. Browser builds are published in the package's dist folder and on CDNs.
  • Need both ESM and CommonJS entry pointsNeither (got: ESM only; superagent: CommonJS)
  • Need to load it with require()superagent
  • Need TypeScript types in the package itselfgot (got: Bundled; superagent: None)
  • Need to run in Browsersuperagent (as listed in its README)
  • Only targeting Node.jsBoth run in Node.js (got is Node.js only)
  • Node.js version requirementgot: >=22; superagent: >=14.18.0 (engines field in package.json)
  • Need the more recent releasesuperagent (10.4.1 on 23 Sept 2026 vs 16.0.0 on 30 Aug 2026)
  • Higher weekly npm downloadsgot (30.4m vs 16.1m)

Each line is generated from the data above.