Skip to content
JS
Comparison

axios vs got

axios is a promise-based HTTP client for the browser and Node.js, and got is an HTTP request library for Node.js with streams, retries, hooks and pagination.

HTTP clientsPackage data 25 Sept 2026
axiosv1.20.0, 26 Aug 2026

Promise-based HTTP client for the browser and Node.js.

$ npm install axios
gotv16.0.0, 30 Aug 2026

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

$ npm install got
MetricaxiosgotDifference
Weekly downloads85,399,82930,398,057axios 2.8x higher
12-month download growth+47%+28%axios +19 pts
Gzip size---
Minified size---
Dependencies410got 6 more
Unpacked size1.9 MB438 kBgot 4.4x smaller
Latest release1.20.0, 26 Aug 202616.0.0, 30 Aug 2026got 5 days more recent
Releases, last 12 months2518axios 7 more
First published29 Aug 201427 Mar 2014got 5 months earlier
GitHub stars109,21214,946axios 7.3x higher
Open issues481axios 47 more
Open pull requests470axios 47 more
Contributors665205axios 3.2x higher
Commits, last 52 weeks466203axios 2.3x higher
TypeScript typesBundledBundledSame
Module formatESM + CommonJSESM onlyDiffers
RuntimesBrowser, Node.js, Deno, BunNode.jsOnly axios: Browser, Deno, Bun
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.

axios85.4m latest weekgot30.4m 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.

axios

Major versions
  1. 0.1.029 Aug 2014
  2. 1.0.04 Oct 2022
Last 5 releases
  1. 0.34.016 Sept 2026
  2. 1.20.026 Aug 2026
  3. 1.19.029 Jul 2026
  4. 1.18.122 Jun 2026
  5. 1.18.014 Jun 2026
138 releases in total, 25 in the last 12 months

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
axios

Promise-based, configurable instances with request and response interceptors

got

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

axios
  • Uses XMLHttpRequest in the browser and the Node.js http module on the server.
  • Has a fetch adapter since v1.7.0, used by default when the xhr and http adapters are unavailable.
  • Request and response interceptors can modify or transform data before it is sent or handled.
  • The README gives install commands for npm, Bun and Deno.
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.
  • Need both ESM and CommonJS entry pointsaxios (axios: ESM + CommonJS; got: ESM only)
  • Need to load it with require()axios
  • Need TypeScript types in the package itselfBoth
  • Need to run in Browseraxios (as listed in its README)
  • Need to run in Denoaxios (as listed in its README)
  • Need to run in Bunaxios (as listed in its README)
  • Only targeting Node.jsBoth run in Node.js (got is Node.js only)
  • Node.js version requirementaxios: none declared; got: >=22 (engines field in package.json)
  • Need the more recent releasegot (16.0.0 on 30 Aug 2026 vs 1.20.0 on 26 Aug 2026)
  • Higher weekly npm downloadsaxios (85.4m vs 30.4m)

Each line is generated from the data above.

Indexability: Indexed: 20 US searches/month across both orderings ("axios vs got", "got vs axios").