Ky
Tiny modern HTTP client built on the Fetch API, with first-class TypeScript types, retries with backoff, JSON shortcuts, hooks for request and response, and a browser and Node.js target kept intentionally small for contemporary JavaScript runtimes.
Ky at github.com/sindresorhus/ky is a free MIT tiny Fetch-based HTTP client, npm 2.2.0 Node 22+, built on platform Fetch not XHR, first-class TypeScript types, JSON shortcuts, retries with exponential backoff and error matching, request and response hooks, search params and abort passthrough, modern browser and Node target, per-instance defaults for shared headers, maintained by Sindre Sorhus, lightweight raw-fetch upgrade, no sold commercial tier (data as of Nov 22, 2026).
*This is an affiliate link, we may earn a commission at no extra cost to you.
Is Ky free?
Ky: Ky is free open-source software released under the MIT License; the ky package latest 2.2.0 on npm requires Node 22 or above. It sits on top of the platform Fetch API rather than a separate XMLHttpRequest layer, exposing typed request and response helpers for JSON, retries with exponential backoff and error matching, hooks that run before a request and after a response, search parameter handling, and abort signal passthrough. The package targets modern browsers and Node.js, keeps the dependency surface small, and provides per-instance defaults so repeated calls share headers and base configuration. It is maintained by Sindre Sorhus and positioned as a lightweight upgrade over raw fetch for scripted and browser requests. No paid commercial edition or per-seat license is sold by the project (data as of Nov 22, 2026). Check the official page for current status before relying on it.
Frequently Asked Questions
Is Ky free?
The code is free to self-host, but a hosted plan from the vendor may not be. Ky publishes its source, so cost depends on where you run it.
How much does Ky cost?
Ky is free open-source software released under the MIT License; the ky package latest 2.2.0 on npm requires Node 22 or above. It sits on top of the platform Fetch API rather than a separate XMLHttpRequest layer, exposing typed request and response helpers for JSON, retries with exponential backoff and error matching, hooks that run before a request and after a response, search parameter handling, and abort signal passthrough. The package targets modern browsers and Node.js, keeps the dependency surface small, and provides per-instance defaults so repeated calls share headers and base configuration. It is maintained by Sindre Sorhus and positioned as a lightweight upgrade over raw fetch for scripted and browser requests. No paid commercial edition or per-seat license is sold by the project (data as of Nov 22, 2026). Usage volume, plan limits and add-ons can push the bill above the figures shown, so confirm the current numbers on the vendor page before committing.
Where can I check Ky's current pricing?
On Ky's official site, linked from this page. We only publish a price after reading the vendor's own pricing page, so if this page shows no number, it means no traceable public price is on file — not that the tool is free.
What is Ky?
A configured Ky instance holds base URL and defaults, methods issue fetch calls with JSON and retry helpers, hooks inspect or mutate requests and responses, and typed results expose body, headers and status; the Fetch response object remains reachable for advanced cases.
How does pricing work?
The client installs free under MIT with no seat license; it calls whatever HTTP endpoint the project uses, and any paid support arrangement would be outside the open-source project.
How does Ky compare with other tools in Dev Workflow & Productivity?
Ky is listed in the Dev Workflow & Productivity category, alongside 2 other tools we track here. 2 of those 2 peers have a dated price we read from the vendor's own pricing page, and the table below shows each tool's pricing model next to the exact rate on file — so the comparison is between published numbers, not between marketing pages.
| Tool | Pricing model | Key pricing on file | Price checked |
|---|---|---|---|
| Ky | Open source | Ky is free open-source software released under the MIT License; the ky package latest 2.2.0 on npm requires Node 22 or above. It sits on top of the platform Fetch API rather than a separate XMLHttpRequest layer, exposing typed request and response helpers for JSON, retries with exponential backoff and error matching, hooks that run before a request and after a response, search parameter handling, and abort signal passthrough. The package targets modern browsers and Node.js, keeps the dependency surface small, and provides per-instance defaults so repeated calls share headers and base configuration. It is maintained by Sindre Sorhus and positioned as a lightweight upgrade over raw fetch for scripted and browser requests. No paid commercial edition or per-seat license is sold by the project (data as of Nov 22, 2026). | Nov 22, 2026 |
| Axios | Open source | Axios is free open-source software released under the MIT License; the axios package latest 1.21.1 on npm is published without an explicit Node engine field. It wraps browser XMLHttpRequest and Node http adapters behind one promise-based interface: requests are configured with a shared defaults object, interceptors can transform or inspect requests and responses before they reach calling code, JSON bodies are serialized and parsed automatically, and timeouts, cancellation tokens, progress events and base URL settings are supported. The library works in both browser and Node environments and is a common choice for REST API calls from front-end apps and Node scripts. No paid commercial edition or per-seat license is sold by the project (data as of Nov 22, 2026). | Nov 22, 2026 |
| Got | Open source | Got is free open-source software released under the MIT License; the got package latest 16.2.0 on npm requires Node 22 or above. It targets Node.js rather than the browser: requests return promises and can also consume or produce streams, retries are configured with attempt counts and backoff functions, built-in pagination helpers iterate over list endpoints, and hooks, timeouts, header presets, caching and redirect handling are first-class options. The client exposes type-safe request methods and supports custom agents for proxies and connection pooling. It is maintained by Sindre Sorhus and commonly used in Node scripts, CLI tools and automation where convenience utilities matter more than a browser bundle. No paid commercial edition or per-seat license is sold by the project (data as of Nov 22, 2026). | Nov 22, 2026 |
3 of these 3 entries carry a specific price we read from the vendor's site. Where the column says there is no dated price on file, we have not verified a rate — treat that as unknown rather than free, and check the vendor's page before you budget for it.
Full pricing breakdown
Ky's source code is publicly available, so you can run or build it yourself. The project may also sell a paid hosted or cloud plan — check the official site for current pricing.
Open source does not always mean every hosted version is free.
Key pricing: Ky is free open-source software released under the MIT License; the ky package latest 2.2.0 on npm requires Node 22 or above. It sits on top of the platform Fetch API rather than a separate XMLHttpRequest layer, exposing typed request and response helpers for JSON, retries with exponential backoff and error matching, hooks that run before a request and after a response, search parameter handling, and abort signal passthrough. The package targets modern browsers and Node.js, keeps the dependency surface small, and provides per-instance defaults so repeated calls share headers and base configuration. It is maintained by Sindre Sorhus and positioned as a lightweight upgrade over raw fetch for scripted and browser requests. No paid commercial edition or per-seat license is sold by the project (data as of Nov 22, 2026).
Estimate your monthly bill with our calculator →Or build a full stack around your budget →Pricing Guides & Comparisons
Plan prices in these guides are read from each vendor's own pricing page, with the date we checked them.
⭐ Rate this tool
How would you rate this tool?
🚀 Never Miss a New AI Coding Tool
Join 1,000+ developers getting our weekly roundup: new AI tools, student free tiers, exclusive discounts, and side project deals. No spam, unsubscribe anytime.
Current Alternatives
Axios
Promise-based HTTP client for browser and Node.js that supports XMLHttpRequest and HTTP adapters, request and response interceptors, automatic JSON transformation, timeout and cancellation support, and broad use for REST API calls in JavaScript apps.
Got
Feature-rich HTTP client for Node.js built on native http modules, with promise and stream support, retries, pagination helpers, timeouts, hooks, caching and header presets, aimed at Node automation and script requests where the Fetch interface lacks convenience utilities.
Tool Information
- Official Websitegithub.com
- CategoryDev Workflow & Productivity
- PricingOpen Source
- Price checkedNov 22, 2026
