# ecyrbe/zodios

typescript http client and server with zod validation

Repository: https://github.com/ecyrbe/zodios
Canonical: https://ross.abutalabs.com/products/zodios
Homepage: https://www.zodios.org/
Language: TypeScript
License: MIT
License Family: permissive
Topics: zod, http, typescript, api, nodejs, openapi, rest
Last push: 2026-08-26T14:52:38+00:00

## Health v2 (maintenance only)
Score: 67/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 99, release rhythm 8, longevity 100
- inputs: {"age_days": 1662, "days_push": 7, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1915, forks 57 (observed 2026-08-28T04:05:53.753717+00:00)

## What it is
Zodios is a TypeScript REST API toolbox providing an end-to-end typesafe HTTP client (built on axios) and an optional Express-compatible server, both validated with Zod schemas from a shared API declaration. It includes plugins, React/Solid hooks based on tanstack-query, and OpenAPI/Swagger generation.

## Use cases
- declare a REST API once and share types between frontend and backend
- make typesafe HTTP requests with automatic response validation via zod
- build a typesafe Express server with input validation
- generate OpenAPI specs and Swagger UI from API definitions
- use react hooks for data fetching with autocompletion
- integrate a typesafe API into a NextJS app
- add auth token injection or fetch adapter via plugins

## When to choose
- you use TypeScript with zod and want end-to-end typesafety for REST APIs
- you want a single shared API definition for client and server teams
- you want axios-compatible clients with autocompletion and runtime validation
- you want an Express-compatible server with typed routes and OpenAPI generation

## When to avoid
- you use GraphQL instead of REST
- your project is plain JavaScript without zod and you don't need validation
- you need a non-Node backend runtime unsupported by express
- you prefer tRPC or another RPC-style typesafe API approach

## Facets
- artifact type: library
- maturity: active
- function: http-client, http-server, web-framework, api-framework, middleware, api-documentation, testing
- domain: web-development, backend, frontend, apis, developer-tools
- platform: browser
- tags: zod, axios, rest-client, end-to-end-typesafety, openapi-generator, tanstack-query, express, nextjs, nodejs, typescript, web-server

## Member repositories
- ecyrbe/zodios (main) score 67

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:53.753717+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:10:23.409255+00:00, confidence not recorded.
  - readme: https://github.com/ecyrbe/zodios (fetched 2026-08-28T04:05:53.753717+00:00, sha 5f8a04b92203)
  - homepage: https://www.zodios.org/ (fetched 2026-08-29T10:49:55.761936+00:00, sha ac24dfd86e91)
  - site_page: https://www.zodios.org/docs/intro (fetched 2026-08-29T10:49:55.770889+00:00, sha 94a2eae102ec)
  - site_page: https://www.zodios.org/docs/server/next (fetched 2026-08-29T10:49:55.772728+00:00, sha 6e81d567e1c2)
  - registry_npm: https://registry.npmjs.org/zodios (fetched 2026-08-29T10:49:55.774487+00:00, sha 902d1f725c5c)
- Data as of 2026-08-30T08:39:29.467469+00:00.
