got vs ky

got is downloaded 6.4× more often than ky (143,651,475 vs 22,536,796 per month), so it has the larger community and more answered questions online. ky ships 84% less gzipped JavaScript (7.0 kB vs 44.2 kB), which matters if bundle size is a priority. Both projects are actively maintained.

Metricgotky
Weekly downloads33,119,6165,603,302
Monthly downloads143,651,47522,536,796
GitHub stars14,90916,899
Minified size144.7 kB20.1 kB
Minified + gzipped44.2 kB7.0 kB
Dependencies120
Open issues00
Last commit2026-05-072026-05-08
Latest version15.0.52.0.2
LicenseMITMIT

When to choose which

got

Powerful HTTP client for Node.js.

Choose it when: Server-side Node where you need retries, streams, pagination and hooks. Not for the browser.

  • + Retries, streams, hooks
  • + Great for backend
  • - Node only
  • - Heavier

ky

A tiny, modern fetch wrapper.

Choose it when: Modern browsers/runtimes where you want a small client built on fetch with retries and hooks out of the box.

  • + Tiny
  • + Retries built-in
  • + fetch-based, modern
  • - Requires fetch (modern envs)
  • - Fewer plugins than axios

Feature comparison

Featuregotky
RuntimeNode onlyBrowser + Node 18+
Built onhttpfetch
Interceptors / hooks✓ Yes✓ Yes
Automatic JSON✓ Yes✓ Yes
Built-in retries✓ Yes✓ Yes

got

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

ky

Tiny and elegant HTTP client based on the Fetch API

Related comparisons

Embed this comparison

A live badge for your README — it updates as the numbers change.

got vs ky downloads
[![got vs ky](https://devcompare.dev/badge/got-vs-ky.svg)](https://devcompare.dev/compare/got-vs-ky)

Data from npm, Bundlephobia and GitHub. Last updated 2026-06-02.