Got
A strong pick. 4th of 10 HTTP clients.
Got is a full-featured HTTP client for Node.js only. It has built-in retries, hooks, pagination, streams and HTTP/2, and it is well maintained, with a large bug-fix push in 2025–2026. For plain requests, built-in fetch or Ky is the simpler choice today, and Got's downloads are growing more slowly than the median.
Best for: Node.js-only services and API SDKs that need retries, pagination, hooks or streaming built in.
Scores
Overall7.2
How strongly do we recommend it for a new project today?
Claude Opus 5.5: 6.5, likely 5.5 to 7.5
Got is a strong, actively maintained pick for Node.js-only code that needs advanced request features. Built-in fetch, undici and Ky now cover most needs with less weight and wider runtime support. It is ESM-only, has frequent breaking majors and is losing ground on downloads, so it is a specialist choice rather than the default.
- pkgpulse.com/guides/got-vs-undici-vs-node-fetch-http-clients-nodejs-2026: Suggests native fetch for simple calls and Got for complex server use
- npmjs.com/package/got-fetch: Ecosystem points to built-in fetch; the Got readme suggests Ky for browsers
- npm downloads ratio: About 2.0 against the 4.1 median
GPT-6.2 Sol: 7.8, likely 6.7 to 8.9
Got earns its place in a new Node.js service when retries, per-phase timeouts, and stream handling would otherwise take custom code. Node's built-in fetch covers routine requests, Ky fits shared browser and server code, and undici has stronger throughput evidence. The active release history supports choosing Got for those advanced needs, with recent upgrade friction and limited evidence on v16 performance keeping the range wide.
- github.com/sindresorhus/got/blob/v16.2.0/readme.md: Documents the advanced APIs and points developers with simpler needs toward alternatives
- nodejs.org/api/globals.html#fetch: Routine requests can use Node's built-in fetch
- adventures.nodeland.dev/archive/which-http-client-for-nodejs-should-nodejs-stop: An older benchmark by undici contributors favors undici.request for throughput
- github.com/sindresorhus/got/releases/tag/v16.0.0: Major release documents transport changes that affect upgrades
- github commitsLastYear, releasesLastYear; peers: Got is actively maintained, with fewer commits than Axios or undici
Needed by many5.5
How many developers need a tool for this job?
Claude Opus 5.5: 6.0, likely 5.0 to 7.0
Most JavaScript developers need to send HTTP requests, but Got serves only Node.js server code. It does not cover browsers or edge runtimes. Built-in fetch also covers many simple server cases, which leaves Got the projects that need its advanced features.
- github description: Describes itself as an HTTP request library for Node.js
- pkgpulse.com/guides/got-vs-undici-vs-node-fetch-http-clients-nodejs-2026: Does not work on Cloudflare Workers or Vercel Edge
GPT-6.2 Sol: 4.9, likely 3.8 to 6.0
Node.js is widely used, and Got serves backends, CLIs, and other Node applications that make outbound requests. Browser code is outside its scope, and built-in fetch covers routine Node requests. The survey measures runtime use, so the share of developers who need Got's additional controls is uncertain.
- survey.stackoverflow.co/2026/technology/data: 46.4% of respondents to the web technologies question reported using Node.js
- github.com/sindresorhus/got/blob/v16.2.0/package.json: Declares Node.js 22+ and native ESM
- nodejs.org/api/globals.html#fetch: Node ships a stable, browser-compatible fetch
Helps a lot8.0
How well does it do the job for those who need it?
Claude Opus 5.5: 7.5, likely 6.5 to 8.5
Got has the richest feature set of the Node clients: retries, hooks, pagination, streams, HTTP/2, a cache and typed .json<T>(). v16.2 adds Standard Schema validation. The v16.1 bug hunt fixed many cases where behaviour did not match the docs, which suggests earlier versions had rough edges. Independent benchmarks place it behind undici on raw throughput.
- github.com/sindresorhus/got/releases: v16 rewrote HTTP/2 and the DNS cache; v16.2 added Standard Schema support
- pistack.xyz/posts/2026-07-28-typescript-http-client-libraries-axios-got-undici-ky-node-fetch-comparison: Only library in the comparison with built-in pagination; about 9k req/s against undici's 15k
- npm hasTypes: Ships its own TypeScript types
GPT-6.2 Sol: 8.4, likely 7.3 to 9.4
The typed API and examples make common calls easy to write, and v16.2 adds runtime JSON validation. Hooks, retries, streaming, and detailed timeout and error information make it especially capable for integrations. The recent HTTP/2 rewrite removed proxy support and needed follow-up fixes for hangs. Independent benchmarks predate v16, and there is little direct evidence on how reliably coding agents handle its advanced options.
- github.com/sindresorhus/got/blob/v16.2.0/readme.md: Documents typed usage, hooks, streams, retries, timeouts, and error metadata
- github.com/sindresorhus/got/releases/tag/v16.2.0: Adds Standard Schema validation to the JSON API
- github.com/sindresorhus/got/releases/tag/v16.0.0: Introduces the built-in HTTP/2 client and drops HTTP/2 proxy support
- github.com/sindresorhus/got/releases/tag/v16.1.0: Fixes HTTP/2 hangs and edge cases in streams, retries, timeouts, and types
- github.com/emanuelcasco/http-packages-benchmark: Older independent benchmark places Got near fetch in average latency in one workload
Holds up over time7.0
Will it still be a good choice in two years?
Claude Opus 5.5: 7.0, likely 6.0 to 8.0
Got is very active, with 180 commits, 14 releases in the past year and no open issues or PRs. Two maintainers do most of the work, and there is no clear funding beyond sponsorships. Major versions come often, with v15 and v16 within months of each other. The ecosystem is moving toward built-in fetch and undici on the server.
- github commitsLastYear / releasesLastYear: 180 commits and 14 releases
- github openIssues / openPullRequests: 0 open issues and 0 open PRs
- bluesky top post: Maintainer reports an update that resolved 100+ issues
- github.com/sindresorhus/got/releases: v16.0.0 brought several breaking changes
GPT-6.2 Sol: 7.0, likely 5.8 to 8.2
Fourteen releases and 180 commits in a year show active maintenance, and the project acknowledges sponsor support. Recent commits and release tags are concentrated under one maintainer, and GitHub limits new pull requests to collaborators. The v15 and v16 migrations and a Homebridge user's report of ESM friction show that upgrades can require real work. The zero open issue count gives little information about response times.
- github commitsLastYear, releasesLastYear, openIssues, openPullRequests: 180 commits, 14 releases, and no open issues or pull requests in the snapshot
- github.com/sindresorhus/got/commits: Recent commits and release tags are concentrated under Sindre Sorhus
- github.com/sindresorhus/got/blob/v16.2.0/readme.md: Acknowledges sponsorship and directs support requests to discussions
- github.com/sindresorhus/got/releases/tag/v15.0.0: Raises the Node minimum and replaces promise cancellation with AbortController
- github.com/sindresorhus/got/releases/tag/v16.0.0: Documents breaking changes to HTTP/2 and DNS configuration
- github.com/homebridge/homebridge/issues/3744: A plugin developer reported ESM friction and switched to Axios
Used widely6.8
How many use it, and is that growing?
Claude Opus 5.5: 6.5, likely 5.5 to 7.5
Got has 211M downloads in 4 weeks and 1.33M dependent repositories, but much of that use is transitive, through CLI tooling such as package-json and update-notifier, or through old codebases. Its download ratio is about 2.0, well below the 4.1 median, so its share is shrinking. Ky, undici and ofetch are growing much faster.
- npm downloadsLast4Weeks / downloadsSame4WeeksYearAgo: 210.9M against 103.8M, a ratio of about 2.0 against the 4.1 median
- dependents repos: 1.33M repos, second only to node-fetch among the peers
- bluesky posts: 5 posts, against 83 for Axios and 59 for undici
- transitive installs: Many downloads come from tools that depend on Got, not from direct choice
GPT-6.2 Sol: 7.1, likely 5.9 to 8.4
Ecosyste.ms found 1.33 million dependent repositories, more than for Axios and fewer than for node-fetch in this snapshot. Four-week installs rose from 104 million to 211 million, about 2.03 times, below the catalog median of 4.1 and behind Ky and undici. Crawlee illustrates how another package can bring in Got, and automated installs further obscure how many projects choose it. Recent Bluesky attention was modest compared with Axios and undici.
- npm downloadsLast4Weeks, downloadsSame4WeeksYearAgo; medianDownloadsRatio: 211 million versus 104 million installs, about 2.03 times against a 4.1 median
- dependents repos, packages; peers dependentRepos: 1.33 million repositories and 9,787 packages counted, with fewer repos than node-fetch
- github stars; bluesky posts; peers: About 15,000 stars and five collected Bluesky posts, with more attention for Axios and undici
- crawlee.dev/js/docs/guides/http-clients: Crawlee's default client indirectly installs Got through got-scraping
Vouched for6.3
Who stands behind it being good?
Claude Opus 5.5: 5.5, likely 4.5 to 6.5
Independent 2026 comparisons recommend Got for feature-heavy Node.js work. Many widely used tools depend on it. There are no recent survey satisfaction numbers for it, and community attention is low compared with Axios and undici.
- pkgpulse.com/guides/got-vs-undici-vs-node-fetch-http-clients-nodejs-2026: Recommended for retries, pagination and SDK wrappers
- pistack.xyz/posts/2026-07-28-typescript-http-client-libraries-axios-got-undici-ky-node-fetch-comparison: Recommended for maximum Node-specific capability
- hackerNews stories: No matching recent stories
GPT-6.2 Sol: 7.1, likely 5.8 to 8.3
Renovate pins Got 16.2.0, and Microlink documents passing HTTP options through to Got. Crawlee still defaults to a Got-based client, though Apify has deprecated that wrapper and points new projects to Impit. Those integrations show real use, while older benchmarks and sparse satisfaction data leave more uncertainty about how the current release compares.
- github.com/renovatebot/renovate/blob/main/package.json: Renovate lists Got 16.2.0 as a direct dependency
- github.com/microlinkhq/function: Microlink documents forwarding request settings to Got through its client
- crawlee.dev/js/docs/guides/http-clients: Crawlee documents its Got-based default client
- github.com/apify/got-scraping: Apify ended support for its Got wrapper and directs new projects to Impit
- github.com/emanuelcasco/http-packages-benchmark: Independent latency and throughput benchmark covers an older Got release
Safe6.9
How safe is it to depend on?
Claude Opus 5.5: 7.0, likely 6.0 to 8.0
Got has one moderate advisory, from 2022 and since fixed, and none in the last 24 months. v16 reduced its dependencies and strips credentials across origins. Its Scorecard is 5.4, with zero on code review, branch protection, pinned dependencies and SAST. Releases depend on a small number of publishers. The licence is MIT.
- advisories: 1 advisory in total (GHSA-pfrx-2q88-qq97, 2022) and 0 in the last 24 months
- scorecard: 5.4 overall; Code-Review 0, Branch-Protection 0, Pinned-Dependencies 0
- npm dependencies: 10 direct dependencies
- github.com/sindresorhus/got/releases: v16 strips authorization and cookie headers on cross-origin changes
GPT-6.2 Sol: 6.8, likely 5.6 to 8.0
Got uses the permissive MIT license, and its one recorded advisory was patched on both affected release lines. The bundle records no advisories in the last two years. Ten direct dependencies and weak Scorecard results for review, branch protection, and dependency pinning increase supply-chain exposure. The repository declares an npm release script and recent GitHub releases name one releaser, while npm publishing access and release provenance remain unverified.
- npm dependencies, license; advisories total, last24Months: Ten dependencies, MIT license, and one recorded advisory with none in the last two years
- github.com/advisories/GHSA-pfrx-2q88-qq97: Moderate 2022 advisory fixed in v11.8.5 and v12.1.0
- scorecard score, checks: 5.4 overall, zero for review, branch protection, and pinning, with signed releases unscored
- github.com/sindresorhus/got/blob/v16.2.0/package.json: The release script uses np
- github.com/sindresorhus/got/releases: Recent GitHub release entries identify the same releaser
Good
- Retries with backoff and Retry-After, lifecycle hooks, pagination and progress events are built in.
- `.extend()` makes it easy to build preconfigured clients and typed SDK wrappers.
- Very active maintenance: 14 releases in the last year and zero open issues or PRs.
- v16 strips credentials on cross-origin redirects and drops dependencies, which tightens security.
Bad
- Runs on Node.js only, with no support for browsers, Cloudflare Workers or edge runtimes.
- ESM-only, and frequent major versions (v15 and v16 in 2026) bring breaking changes.
- Large install size compared with Ky or built-in fetch.
- Built-in fetch and undici now cover most server needs, and undici is faster.
The numbers
- npm downloads, 4 weeks
- 211M ×2.0 in a year
- GitHub stars
- 15k
- Commits, 12 months
- 180
- npm version
- 16.2.0 Oct 2026
- Versions, 12 months
- 14
- Advisories, 24 months
- 0 of 1 ever
- OpenSSF Scorecard
- 5.4 out of 10, Nov 2026
- Licence
- MIT
Read on 21 November 2026 from GitHub (sindresorhus/got), npm (got), OSV and the OpenSSF Scorecard.