# Ky

HTTP client built on the Fetch API that adds retries, timeouts, hooks and errors for non-2xx responses.


Source: https://findsoftware.frbit.cloud/ky/
Last reviewed: 2026-11-16
Listed since: 2026-11-16

## Record

### Links

- repository: https://github.com/sindresorhus/ky

### Identity

- status: active
- maintainer: Sindre Sorhus
- maintainerType: individual
- parent: unknown
- firstRelease: 2018
- hqCountry: unknown

### Kind

- category: library
- hosting: node, deno, bun
- language: javascript
- runtime: node, deno, bun
- runtimeMin: unknown
- basedOn: unknown

### Content

- contentStore: not applicable
- databases: not applicable
- adminUi: not applicable
- headlessApi: not applicable
- templating: not applicable
- i18n: not applicable

### Rendering and deploy

- runsAs: not applicable
- renderingModes: not applicable
- installMethod: npm, cdn

### License

- licenseModel: open-source
- license: MIT

### Releases

- currentMajor: 2
- latestReleaseDate: 2026-10-09

### Adoption

- githubStargazers: 17163
- packagistDownloads: not applicable
- npmWeeklyDownloads: 9737271
- contributors: 119
- pluginCount: unknown
- packagistMonthlyDownloads: unknown
- ecosystemsMonthlyDownloads: unknown
- httpArchiveSites: unknown
- wordpressActiveInstalls: unknown
- dependentRepos: 11957
- dependentPackages: 468

### Sources

- urls: https://api.github.com/repos/sindresorhus/ky (read 2026-11-16)
- maintainer: https://raw.githubusercontent.com/sindresorhus/ky/v2.2.0/license (read 2026-11-16)
- language: https://api.github.com/repos/sindresorhus/ky (read 2026-11-16)
- category: https://github.com/sindresorhus/ky/blob/v2.2.0/readme.md (read 2026-11-16)
- runtime: https://github.com/sindresorhus/ky/blob/v2.2.0/readme.md (read 2026-11-16)
- installMethod: https://github.com/sindresorhus/ky/blob/v2.2.0/readme.md (read 2026-11-16)
- installMethod: https://github.com/sindresorhus/ky/blob/v2.2.0/readme.md (read 2026-11-16)
- license: https://raw.githubusercontent.com/sindresorhus/ky/v2.2.0/license (read 2026-11-16)
- licenseModel: https://raw.githubusercontent.com/sindresorhus/ky/v2.2.0/license (read 2026-11-16)
- npmWeeklyDownloads: https://api.npmjs.org/downloads/range/2026-11-01:2026-11-07/ky (read 2026-11-16)
- dependentPackages: https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/ky (read 2026-11-16)
- dependentRepos: https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/ky (read 2026-11-16)
- firstRelease: https://api.github.com/repos/sindresorhus/ky/commits/v0.2.0 (read 2026-11-16)
- currentMajor: https://api.github.com/repos/sindresorhus/ky/releases (read 2026-11-16)
- latestReleaseDate: https://api.github.com/repos/sindresorhus/ky/releases (read 2026-11-16)
- githubStargazers: https://api.github.com/repos/sindresorhus/ky (read 2026-11-16)
- contributors: https://api.github.com/repos/sindresorhus/ky/contributors?per_page=1 (read 2026-11-16)

## Notes

Ky is an HTTP client for JavaScript built on the Fetch API. It adds method shortcuts, a JSON option, timeouts, retries, upload and download progress, a base URL option and hooks, and it can validate responses with Standard Schema validators. Unlike plain fetch, it treats non-2xx status codes as errors after redirects. Instances made with extend or create carry their own defaults.

The README names got and axios as projects Ky differs from, and it says Got is maintained by the same people as Ky.

## Worth knowing

The README notes that Chromium-based browsers retry 408 responses at the network layer for keep-alive connections, so a request can be retried by both the browser and Ky.

---

Data licensed CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Attributes are recorded, never scored; absent means unknown.
Credit, in full: FindSoftware, CC BY 4.0
