2 Open Source Alternatives to Axios

There are 2 open-source alternatives to Axios in this directory. The most popular is TanStack Query with 44.2k GitHub stars, followed by Ofetch(5.2k stars). All are open source, free to use, and many can be self-hosted.

Quick comparison

Open-source alternatives to Axios, ranked by GitHub stars
#ToolStarsLanguageLicense
1TanStack Query

A powerful library for asynchronous state management and server-state utilities with data fetching capabilities for web applications, supporting TS/JS, React Query, Solid Query, Svelte Query, and Vue Query.

44.2kTypeScriptMIT License
2Ofetch

A better Fetch API implementation that works seamlessly on Node.js, browsers, and web workers.

5.2kTypeScriptMIT License

All open-source alternatives to Axios

Frequently asked questions

What are the best open-source alternatives to Axios?

The top three are TanStack Query(44.2k stars), Ofetch(5.2k stars). All are open source and free to use.

Are these alternatives to Axios free?

Yes. Every tool listed here is open source and free to use in your own projects. Many can be self-hosted on your own infrastructure, which means no subscription fees and full control over your data.

Can I self-host an alternative to Axios?

Many of the alternatives listed are self-hostable. Each tool's page lists hosting details, system requirements, and licensing terms.

Stay Updated!

Get notified about new tools and updates to existing ones.