# encode/apistar

The Web API toolkit. 🛠

Repository: https://github.com/encode/apistar
Canonical: https://ross.abutalabs.com/products/apistar
Homepage: https://docs.apistar.com
Language: Python
License: BSD-3-Clause
License Family: permissive
Topics: api, rest, python
Archived: true
Last push: 2022-02-24T05:00:58+00:00

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

## Adoption (not part of the score)
Stars 5543, forks 406 (observed 2026-08-28T04:09:22.240376+00:00)

## What it is
API Star is a Python toolkit for working with OpenAPI and Swagger schemas, providing schema validation, static API documentation generation, and a dynamic client library for making API requests. Since version 0.6 it is framework-agnostic tooling rather than a web framework, usable standalone or integrated into other frameworks.

## Use cases
- validate openapi schema files
- generate api documentation from swagger spec
- make api requests from an openapi schema
- build static docs site for a rest api
- validate requests and responses against a schema
- preview api docs while editing schema

## When to choose
- you need to validate or lint OpenAPI/Swagger documents with contextual errors
- you want static, themeable API documentation generated from a schema
- you need a lightweight dynamic client driven by an OpenAPI spec

## When to avoid
- you want a full web framework or server - the server was removed after 0.5
- you need actively maintained tooling - the latest release is from 2022
- you need modern OpenAPI tooling with ongoing ecosystem support

## Facets
- artifact type: library
- maturity: maintenance
- function: api-framework, http-client, documentation, cli, type-system
- domain: apis, web-development, developer-tools, documentation
- platform: python, cli, cross-platform
- tags: openapi, swagger, api-documentation, schema-validation, api-client

## Member repositories
- encode/apistar (main) score 10

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:09:22.240376+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-29T17:55:41.428332+00:00, confidence not recorded.
  - readme: https://github.com/encode/apistar (fetched 2026-08-28T04:09:22.240376+00:00, sha 552a13686844)
  - homepage: https://docs.apistar.com (fetched 2026-08-29T08:50:59.713281+00:00, sha 3fd890a49943)
  - site_page: https://docs.apistar.com/api-documentation (fetched 2026-08-29T08:50:59.722095+00:00, sha d9c0a0e5acfb)
- Data as of 2026-08-30T08:39:29.467469+00:00.
