# Axios

Promise based HTTP client for the browser and node.js

Repository: https://github.com/axios/axios
Canonical: https://ross.abutalabs.com/products/axios
Homepage: https://axios-http.com
Language: JavaScript
License: MIT
License Family: permissive
Topics: http-client, javascript, nodejs, promise, hacktoberfest
Last push: 2026-08-26T08:20:58+00:00
Link (homepage): https://axios-http.com
Link (site_page): https://axios.rest/pages/getting-started/first-steps

## Health v2 (maintenance only)
Score: 99/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 99, release rhythm 99, longevity 100
- inputs: {"age_days": 4398, "days_push": 7, "days_rel": 9, "gap_med": 8, "n_releases_24m": 40}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 109191, forks 11826 (observed 2026-08-28T04:12:23.831127+00:00)

## What it is
Axios is a promise-based HTTP client for the browser and Node.js, supporting request/response interceptors, automatic JSON transformation, and TypeScript. It is one of the most widely used JavaScript libraries for making API requests.

## Use cases
- make http requests to a rest api from nodejs
- call apis from the browser with promises
- add request and response interceptors to modify headers or handle errors
- upload files with multipart form data
- cancel in-flight http requests
- set global base urls and default headers for api clients

## When to choose
- you need a mature, battle-tested http client with interceptors and automatic JSON handling
- you want the same http client code to work in both browser and Node.js
- your team uses TypeScript and wants strong typing out of the box

## When to avoid
- you only need the modern built-in fetch API and want zero dependencies
- you need advanced streaming or low-level socket control better served by undici or got
- you are building a very small bundle-size-sensitive app where fetch suffices

## Facets
- artifact type: library
- maturity: stable
- function: http-client
- domain: web-development, apis, developer-tools
- platform: browser, cross-platform
- tags: promise-based, interceptors, typescript-support, xhr, rest-client, nodejs, javascript

## Member repositories
- axios/axios (main) score 99
- axios/moxios (plugin) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:12:23.831127+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T16:12:05.952465+00:00, confidence not recorded.
  - readme: https://github.com/axios/axios (fetched 2026-08-28T04:12:23.831127+00:00, sha 8e792dbd800d)
  - homepage: https://axios-http.com (fetched 2026-08-28T17:32:06.375347+00:00, sha 1d8735e6ba9b)
  - site_page: https://axios.rest/pages/getting-started/first-steps (fetched 2026-08-28T17:32:06.384315+00:00, sha 84f265aa55ea)
- Data as of 2026-08-30T08:39:29.467469+00:00.
