Axios

A promise-based HTTP client for the browser and Node.js with interceptors and automatic JSON handling.

Axios wraps XMLHttpRequest in browsers and the http module in Node.js with a consistent promise API. Interceptors, request cancellation, timeouts and automatic JSON transforms made it a long-time default. Native fetch now covers many basic needs, but Axios remains common in existing codebases.

Type
Library
Category
Web
Maintainer
Axios maintainers
First released
2014
License
Open source (MIT)
Pricing
Open source
Level
Beginner
Technologies
javascript, typescript, nodejs
GitHub stars
109,549
Weekly downloads
152,263,132 (npm)
Latest release
[object Object]
Last verified
26 Nov 2026

What Axios is used for

  • HTTP requests from front ends
  • API clients in Node.js

Strengths

  • Interceptors for auth and logging
  • Same API in browser and Node
  • Good error objects

Limitations

  • Extra dependency where fetch suffices
  • Larger than minimal fetch wrappers

How it relates to other tools

Built with the same technologies

Official links

Sources

Explore