Skip to content
Agents tracked: 440 Downloads (7d): 202M down 19.5% GitHub stars: 10.4M Releases (7d): 607 Agent status: all upSince last limit reset: Claude 28d · Codex 0d Updated Oct 21, 2026

openapi-fetch

Lightweight type-safe fetch client for OpenAPI schemas, 6kb minified.

HTTP clients and networking npm MIT

Used in agent projects
7
0.1% of 4,818 JS/TS repos built with AI coding agents; 24 counting our dependency samples
Gid Score
57 /100
#918 of 3,794 tools, #31 in http clients and networking · ranking
Rank in http clients and networking
#43 of 108
by use in those projects
Downloads
6.6M
npm, last 7 days, openapi-fetch
GitHub stars
8,404
672 forks · last push Sep 25, 2026

How openapi-fetch is used

openapi-fetch is a dependency in 7 of the 6,208 public GitHub projects set up for AI coding agents that we scanned, too few to describe it from them alone. Our scan also samples projects by dependency (Solana 2,661, Ethereum and EVM 1,496, 3D and games 2,818, agent frameworks and SDKs 10,983); counting those, it appears in 24 projects, and what it is used with below comes from all of them. The most used alternative in our scan is Axios (473 projects). Projects that use it most often also use Vitest (87.5%), OpenAPI TypeScript (83.3%), TanStack Query (70.8%).

openapi-fetch popularity over time

Top tools by Gid Score

openapi-fetch: downloads per weeknpm, openapi-fetch 6,555,107

Gid Score 57: downloads 81, use in agent projects 30, GitHub stars 47, downloads trend 64 (each 0-100). How it is calculated.

Often used with openapi-fetch

Vitest87.5% of openapi-fetch projects · 4.3× more than average
OpenAPI TypeScript83.3% of openapi-fetch projects · 272.3× more than average
TanStack Query70.8% of openapi-fetch projects · 9.6× more than average
tsx70.8% of openapi-fetch projects · 4.7× more than average
Zod83.3% of openapi-fetch projects · 3.3× more than average
Testing Library66.7% of openapi-fetch projects · 6.6× more than average
Vite70.8% of openapi-fetch projects · 3.6× more than average
dotenv62.5% of openapi-fetch projects · 4.0× more than average

From all 24 projects in our scan that use openapi-fetch, including the dependency samples.

By coding agent

Claude Code0.2% of projects set up for it

Share of public repos configured for each agent that list openapi-fetch as a dependency.

How openapi-fetch is funded

Most funded tools

Open Collective: OpenAPI TypeScript

Received, last 12 months$1,365 Oct 2025 – Sep 2026
Estimated annual budget$1,125 Open Collective's estimate
Balance$4,653
Raised since the start$6,298 · $1,645 paid out
Typical month median, last 12 months$89 · $309 over 24 months
Last 12 months vs the 12 before-69%
Contributors, last 12 months8

Top company backers all time

nanabit$1,800 since Jul 2024

Jul 2024Sep 2026

Money by month. First money received in Jul 2024. The typical month is the median: one big one-off donation does not move it.

The same collective is named by 1 more tool in our catalog: OpenAPI TypeScript.

USD after payment processor fees, as Open Collective reports it; fiscal host Open Source Collective. Source

Ways to fund openapi-fetch

Open Collective

As the maintainers list them in FUNDING.yml on GitHub. Checked Oct 20, 2026.

Install

Packagenpm install openapi-fetch
Main stacksNext.js (14), TypeScript / JavaScript (8), Python (1), React Native / Expo (1)
Example projectslobehub/lobehub, vual/lobe-chat-pro, adeze/raindrop-mcp, isaccanedo/lobe-chat, kingston/outline-sync

Alternatives to openapi-fetch

All http clients and networking

Tools that do the same job, so a project picks one or the other. Add-ons and libraries used alongside openapi-fetch are not listed here; they are in "Often used with".

Tool Gid Score Used in agent projectsDownloads / wk GitHub starsLicense
Axios npm
Promise-based HTTP client for browser and Node.js with interceptors.
89 473 (9.8%) 66.6M 109K MIT
undici npm
High-performance HTTP/1.1 client for Node.js and Deno.
72 101 (2.1%) 133M 7,717 MIT

More in HTTP clients and networking: Requests httpx ws aiohttp websockets redis (Python) postgres node-fetch

Is openapi-fetch right for your project? Ask AgentGid →