Axios
Promise-based HTTP client for browser and Node.js with interceptors.
HTTP clients and networking npm MIT
Used in agent projects
1,264
10.0% of 12,697 public repos built with AI coding agents
Rank in http clients and networking
#1 of 29
by use in those projects
Downloads
115M
npm, last 7 days, axios
GitHub stars
109K
last push Oct 9, 2026
How Axios is used
Axios is a dependency in 1,264 of the 12,697 public GitHub projects set up for AI coding agents that we scanned (10.0%), #1 of 29 in http clients and networking. The most used alternative there is Requests. Projects that use it most often also use dotenv (37.6%), TypeScript (68.2%), Solana Web3.js (35.8%). It is more common in projects set up for Junie (32.9%) than for Claude Code (7.1%).
Often used with Axios
| dotenv | 37.6% of Axios projects · 2.4× more than average |
|---|---|
| TypeScript | 68.2% of Axios projects |
| Solana Web3.js | 35.8% of Axios projects · 2.2× more than average |
| Tailwind CSS | 50.6% of Axios projects · 1.5× more than average |
| ESLint | 51.7% of Axios projects |
| React | 53.7% of Axios projects |
| ts-node | 19.4% of Axios projects · 2.8× more than average |
| Solana SPL Token | 18.6% of Axios projects · 2.6× more than average |
By coding agent
| Cursor | 10.3% of projects set up for it |
|---|---|
| Claude Code | 7.1% of projects set up for it |
| GitHub Copilot | 7.2% of projects set up for it |
| Gemini CLI | 12.1% of projects set up for it |
| OpenAI Codex | 10.0% of projects set up for it |
| OpenCode | 12.5% of projects set up for it |
| Devin Desktop | 9.9% of projects set up for it |
| Junie | 32.9% of projects set up for it |
Share of public repos configured for each agent that list Axios as a dependency.
Install
| Package | npm install axios |
|---|---|
| Main stacks | TypeScript / JavaScript (730), Next.js (345), PHP (107), Python (42) |
| Example projects | apify/apify-mcp-server, un-pany/v3-admin-vite, LeagueAkari/LeagueAkari, David-Crty/databasement, vega-org/vega-app |
Alternatives to Axios
| Tool | Used in agent projects | Downloads / wk | GitHub stars | License |
|---|---|---|---|---|
| Requests pypi Elegant Python HTTP library for making web requests. |
675 (5.3%) | 309M | 54.6K | Apache-2.0 |
| aiohttp pypi Async HTTP client/server framework for Python with WebSocket support. |
295 (2.3%) | 117M | 16.6K | — |
| ws npm Simple, fast WebSocket client and server for Node.js with full RFC support. |
287 (2.3%) | 283M | 22.8K | MIT |
| websockets pypi WebSocket implementation for Python with RFC 6455 and 7692 compliance. |
286 (2.3%) | 109M | 5,732 | — |
| httpx pypi Modern Python HTTP client with async support, replacing the standard requests library. |
266 (2.1%) | 16M | 15.6K | BSD-3-Clause |
| node-fetch npm Bring the Fetch API to Node.js for making HTTP requests. |
219 (1.7%) | 207M | 8,852 | MIT |
| urllib3 pypi HTTP client with thread-safe connection pooling, file uploads and advanced features. |
193 (1.5%) | 338M | 4,071 | — |
| AnyIO pypi Async I/O framework supporting both asyncio and Trio with high-level networking abstractions. |
186 (1.5%) | 206M | 2,555 | — |