Best Alternatives to axios

Promise-based HTTP client for browser and Node.js

Why look for an alternative?

Axios adds ~14kB gzipped to your bundle. With native fetch now available in Node.js 18+, many projects no longer need a third-party HTTP client. Alternatives like ky offer a modern fetch wrapper with less weight, while got provides more features for complex Node.js use cases.

Current

axios

v1.13.6 · MIT

Promise based HTTP client for the browser and node.js

Weekly Downloads

97.3M

Bundle (gzip)

13.9 kB

node-fetch

v3.3.2 · MIT

Minimal fetch polyfill for older Node.js versions

Weekly Downloads

117.5M

Bundle (gzip)

22.6 kB

UniversalLightweight

undici

v7.22.0 · MIT

Node.js's own HTTP client — fastest raw performance, official npm package

Weekly Downloads

59.3M

Bundle (gzip)

Node onlyTypeScriptActively maintainedZero deps

got

v14.6.6 · MIT

Feature-rich HTTP client for Node.js with retry, pagination and streams

Weekly Downloads

30.8M

Bundle (gzip)

TypeScriptNode onlyActively maintained

superagent

v10.3.0 · MIT

Chainable HTTP client with plugin support, works in browser and Node.js

Weekly Downloads

16.5M

Bundle (gzip)

UniversalBrowserTypeScript

ky

v1.14.3 · MIT

Tiny fetch wrapper (4kB) with retry, timeout and hooks — ideal for browser apps

Weekly Downloads

5.5M

Bundle (gzip)

4.9 kB

ESMTypeScriptBrowserUniversalLightweightTree-shakeable

ofetch

v1.5.1 · MIT

Better fetch API with auto-parsing, error handling and isomorphic support

Weekly Downloads

4.9M

Bundle (gzip)

3.8 kB

UniversalTypeScriptESMTree-shakeable

More HTTP Client Packages

See the Full Download History

Compare axios and its alternatives side by side with download trends over time.

Open in npm Trends