# sindresorhus/got

🌐 Human-friendly and powerful HTTP request library for Node.js

Repository: https://github.com/sindresorhus/got
Canonical: https://ross.abutalabs.com/products/got
Language: TypeScript
License: MIT
License Family: permissive
Topics: http-client, http-request, http, https, nodejs, npm-package
Last push: 2026-07-17T21:38:13+00:00

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

## Adoption (not part of the score)
Stars 14937, forks 996 (observed 2026-08-28T04:11:08.959865+00:00)

## What it is
Got is a human-friendly and powerful HTTP request library for Node.js, offering JSON mode, retries, pagination, hooks, and stream support. It is a mature alternative to the native http module, though the maintainers now recommend Ky for browser-compatible or Fetch-based needs.

## Use cases
- make http requests from node.js
- call rest apis with  payloads
- download files with streams
- retry failed http requests automatically
- paginate through api endpoints
- replace axios or node-fetch in a node backend

## When to choose
- you need a feature-rich http client in Node.js with retries, hooks, and pagination
- your project is ESM-based and Node-only
- you want fine-grained control over requests, redirects, and timeouts

## When to avoid
- you need browser support or a Fetch-based client (use Ky instead)
- your project still uses CommonJS, since Got is ESM-only
- you only need simple fetch calls (use fetch-extras or native fetch)

## Facets
- artifact type: library
- maturity: stable
- function: http-client
- domain: web-development, backend, apis, developer-tools
- platform: -
- tags: http-request, esm, promise-based, retry, streaming, typescript, nodejs

## Member repositories
- sindresorhus/got (main) score 94

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:11:08.959865+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-29T17:06:51.287147+00:00, confidence not recorded.
  - readme: https://github.com/sindresorhus/got (fetched 2026-08-28T04:11:08.959865+00:00, sha 8b5e074514b6)
- Data as of 2026-08-30T08:39:29.467469+00:00.
