
Zodios
TypeScript API client and optional Express API server whose endpoint definitions are validated with Zod schemas.
Zodios is a TypeScript API client for REST endpoints. Endpoints are declared once as a list of methods, paths, optional aliases and Zod schemas for parameters and responses, and the client then offers typed calls with autocompleted paths and parameters and checks each response against its schema. The client is based on axios, and the shared definitions are based on Zod. The documentation describes Zodios as a set of packages: beyond the core client there are plugins, React and Solid hooks based on TanStack Query, an Express adapter and an OpenAPI generator, and the declarations can be shared between a client and a server.
Worth knowing
Zodios embeds none of its dependencies, so a project installs the peer dependencies it needs. The README says autocompletion works best with a TypeScript language server, even in plain JavaScript.
Identity
- Status
- Active
- Maintainer
- ecyrbe4
- Maintained by
- Individual
- First release
- 20225
Rendering and deploy
- Install with
- npm3
Releases
Adoption
Sources
- 2026-11-17: links, Built on
www.zodios.org/ - 2026-11-17: links, Written in, License, GitHub stars
api.github.com/repos/ecyrbe/zodios - 2026-11-17: links, Categories, Install with
github.com/ecyrbe/zodios/blob/main/README.md - 2026-11-17: Maintainer, License model
github.com/ecyrbe/zodios/blob/main/LICENSE - 2026-11-17: First release
github.com/ecyrbe/zodios/releases/tag/v2.0.0 - 2026-11-17: Current major version, Last release
github.com/ecyrbe/zodios/releases/tag/v10.9.6 - 2026-11-17: npm downloads a week
api.npmjs.org/downloads/range/2026-11-01:2026-11-07/@zodios/core - 2026-11-17: Contributors
api.github.com/repos/ecyrbe/zodios/contributors?per_page=1 - 2026-11-17: Dependent packages, Dependent repositories
packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@zodios/core