Elestia Open Source Ratings
7.3

Axios

A strong pick. 3rd of 10 HTTP clients.

Axios is the most widely used promise-based HTTP client for JavaScript. It works in browsers and Node.js and comes with interceptors, timeouts, progress events and good types. It is still a solid, well-maintained pick. However, its share is shrinking as native fetch and small fetch wrappers like Ky take over, and in 2026 it had a hijacked npm release plus a large batch of security advisories.

Best for: Teams that want a full-featured, familiar client with interceptors and upload/download progress, on both browser and Node.js.

WebsiteGitHubnpm

Scores

Overall7.3

How strongly do we recommend it for a new project today?

Claude Opus 5.5: 7.0, likely 6.0 to 8.0

Axios is still a strong, actively maintained, full-featured client and the most familiar one in the category. Its 2026 security record is poor, with a hijacked release and many adapter advisories. For many new projects, native fetch or a light wrapper like Ky is a smaller attack surface. It suits teams that want its interceptors and Node features, but it is no longer the default pick for every new project.

GPT-6.2 Sol: 7.5, likely 6.4 to 8.6

Axios is a strong choice when a new project needs shared authentication, error handling, or file upload progress across browsers and Node.js. Built-in fetch suits routine calls, Ky is a better fit when built-in retries matter, and Undici is a better fit for throughput-sensitive Node.js services. Active maintenance supports Axios, while below-median install growth and the recent publishing compromise limit confidence in it as the default.

Needed by many7.7

How many developers need a tool for this job?

Claude Opus 5.5: 8.0, likely 7.0 to 9.0

Most JavaScript apps send HTTP requests, and Axios covers both browser and server. Many developers now use native fetch without a library, which shrinks the group that needs a client like this. It still serves a very large share of web and Node.js projects.

  • github description: Promise based HTTP client for the browser and node.js
  • pkgpulse.com/guides/axios-vs-ky-2026: Native fetch now ships in all main runtimes, which reduces the need for a library

GPT-6.2 Sol: 7.3, likely 6.2 to 8.5

Making HTTP requests is common in browser and server projects, and Axios works across both without tying teams to a framework. Shared interceptors and upload progress make it useful for a large group, while built-in fetch covers routine calls. Frontend surveys give a clearer picture of demand in web apps than in the wider JavaScript and TypeScript population.

Helps a lot7.8

How well does it do the job for those who need it?

Claude Opus 5.5: 7.5, likely 6.5 to 8.5

Axios has the richest built-in feature set of the mainstream clients: interceptors, instances, automatic JSON handling, progress events, proxy support and adapters for XHR, fetch and Node http. Its types are bundled, and AI agents write correct Axios code reliably. The limits are its size compared with fetch wrappers, an API that differs from the fetch standard, and a run of adapter bugs found in 2026.

GPT-6.2 Sol: 8.1, likely 7.1 to 9.1

Axios 1.21.1 has a well-documented TypeScript API, configurable clients, structured errors, and upload progress. Its examples give coding agents a clear pattern for routine calls, though their accuracy is unmeasured. Ky includes retries, and Undici delivered higher throughput in a local Node.js load test whose results may vary by workload.

Holds up over time7.5

Will it still be a good choice in two years?

Claude Opus 5.5: 7.5, likely 6.5 to 8.5

The project is very active: 506 commits and 24 releases in the past year, 55 open issues against more than 5,000 closed, and a release on 2026-11-09. Release power and day-to-day work rest heavily on a small core around one lead maintainer, and that account was the one compromised. The ecosystem is moving toward fetch-based clients, but Axios's installed base makes abandonment unlikely within two years.

GPT-6.2 Sol: 7.4, likely 6.2 to 8.5

Axios had 506 commits and 24 releases in the past year, with more commits than Ky or Got and an estimated annual budget of about $144,000. Version 1.21.1 fixed a Next.js build regression within two weeks, although the project-wide issue response time is unclear. npm lists one package maintainer, and NestJS now documents a fetch-based client as its replacement for the Axios module.

Used widely8.3

How many use it, and is that growing?

Claude Opus 5.5: 9.0, likely 8.0 to 9.5

Axios has about 582 million downloads in 4 weeks and 453,000 dependent repos, which is among the highest direct-choice numbers in the category. Got and node-fetch show more dependents, but much of their use is transitive. Downloads doubled year over year (ratio about 2.0), but that is below the 4.1 median, so Axios is losing share to fetch-based tools like undici, ofetch and openapi-fetch.

  • npm downloadsLast4Weeks: 582M, up from 293M a year earlier (ratio about 2.0, below the 4.1 median)
  • dependents repos: 453,457 dependent repos and 97,210 dependent packages
  • github stars: 109k stars, far more than any peer

GPT-6.2 Sol: 7.5, likely 6.4 to 8.6

Ecosyste.ms found about 453,000 dependent repos and 97,000 dependent npm packages, and Axios has about 109,000 GitHub stars. Four-week installs nearly doubled to 582 million, but the 1.99× growth falls well below the 4.1× catalog median and trails Ky's 2.8×. Automated installs and SDK dependencies inflate downloads, and much of the recent social attention concerns the npm compromise. Direct adoption is substantial, with less certainty about how many new projects choose it.

  • dependents repos and packages: 453,457 indexed repos and 97,210 npm packages.
  • github stars and peers: Axios leads the peer set in stars and trails Got and node-fetch in indexed dependent repos.
  • npm downloadsLast4Weeks, npm downloadsSame4WeeksYearAgo, medianDownloadsRatio and peers: 582.4M versus 293.2M installs, or 1.99× against the 4.1× median. Ky grew 2.8×.
  • bluesky and hackerNews top: 83 Bluesky links lead the peer set. Top posts on both services center on the compromise.
  • github.com/twilio/twilio-node/src/base/RequestClient.ts: Twilio's SDK uses Axios, creating installs through another package.
  • 2025.stateofreact.com/so-SO/libraries: 83.4% of respondents to the Axios question reported having used it.
Vouched for7.4

Who stands behind it being good?

Claude Opus 5.5: 7.0, likely 6.0 to 8.0

Axios runs in production at a huge number of companies, and independent 2026 comparisons still recommend it for backend and feature-heavy use. The compromise coverage showed how deeply large organisations, including OpenAI, depend on it. Surveys give no clear satisfaction data, and recent write-ups often recommend fetch or Ky for new browser code.

GPT-6.2 Sol: 7.8, likely 6.7 to 8.9

Twilio's Node SDK uses Axios for requests, and OpenAPI Generator maintains a stable Axios-based TypeScript generator. Developers in a Next.js discussion value its simpler API and shared browser and server interface, while others prefer built-in fetch or Ky. NestJS's move to fetch and limited survey evidence on satisfaction and retention temper the endorsements.

Safe5.2

How safe is it to depend on?

Claude Opus 5.5: 4.5, likely 3.5 to 6.0

In March 2026 attackers socially engineered the lead maintainer and published malicious releases that dropped a remote access trojan. The releases were live for about 3 hours before npm removed them. There are also 51 advisories in 24 months, including a batch of HIGH-severity SSRF and prototype-pollution issues in September 2026. On the positive side, it has only 4 dependencies, an MIT licence, a Scorecard of 7.1 and trusted publishing on 1.x. Code-Review, SAST and Fuzzing still score low.

GPT-6.2 Sol: 5.9, likely 4.7 to 7.2

Two malicious npm releases were removed within three hours in March 2026, and npm records GitHub Actions trusted publishing and build provenance for 1.21.1. Axios fixed recent high-severity issues in 1.20.0 and updated a vulnerable dependency in 1.21.1. The MIT licence is permissive, and the package has four direct dependencies. A single listed npm maintainer and weak Scorecard results for branch protection, review, fuzzing, and static analysis leave meaningful uncertainty.

Good

  • Interceptors, instances, timeouts, cancellation and progress events are built in and well documented.
  • The same API works in browsers (XHR or fetch adapter) and Node.js (http adapter).
  • Huge ecosystem, so AI coding agents and tutorials produce correct Axios code almost every time.
  • Very active: about 500 commits and 24 releases in the past year, with bundled TypeScript types.

Bad

  • In March 2026 a hijacked maintainer account published malicious 1.14.1 and 0.30.4 releases that installed a remote access trojan.
  • 51 advisories in 24 months, including header-injection, SSRF and prototype-pollution issues in its adapters.
  • Bigger bundle than Ky, Wretch or native fetch, which matters in browser and edge code.
  • Downloads grow slower than the median, so new projects are moving toward fetch-based tools.

The numbers

npm downloads, 4 weeks
582M +99% in a year
GitHub stars
109k
Commits, 12 months
506
npm version
1.21.1 Nov 2026
Versions, 12 months
24
Advisories, 24 months
51 of 56 ever
OpenSSF Scorecard
7.1 out of 10, Nov 2026
Licence
MIT

Read on 21 November 2026 from GitHub (axios/axios), npm (axios), OSV and the OpenSSF Scorecard.

HTTP clients

  1. 8.3undici
  2. 7.8Ky
  3. 7.3Axios
  4. 7.2Got
  5. 6.2Wretch
  6. 6.2ofetch
  7. 5.2SuperAgent
  8. 3.4openapi-fetch
  9. 2.8node-fetch
  10. 1.3Request
Compare all 10 on six scores