# flask-api/flask-api

Browsable web APIs for Flask.

Repository: https://github.com/flask-api/flask-api
Canonical: https://ross.abutalabs.com/products/flask-api
Homepage: https://flask-api.github.io/flask-api/
Language: Python
License: NOASSERTION
License Family: other
Last push: 2025-05-13T06:12:16+00:00

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

## Adoption (not part of the score)
Stars 1474, forks 196 (observed 2026-08-28T04:04:49.734497+00:00)

## What it is
Flask API is a drop-in replacement for Flask that adds browsable web APIs with content negotiation and smart request parsing, similar to Django REST framework. It lets you return plain dicts or lists from views and automatically renders JSON or an HTML browsable API based on the client's Accept header.

## Use cases
- build browsable REST APIs with Flask
- return JSON from Flask views without manual serialization
- add content negotiation to a Flask app
- parse JSON and form request data in Flask
- create a Django REST framework-like API in Flask

## When to choose
- you want a quick, minimal way to expose browsable APIs from an existing Flask app
- you like DRF's browsable API but prefer Flask's simplicity
- you need automatic content negotiation between JSON and HTML responses

## When to avoid
- you need a full-featured REST toolkit with serializers, auth, and viewsets - use Flask-RESTful or DRF instead
- you are starting a new project - the project is in maintenance mode and the author recommends API Star
- you need support for recent Flask versions beyond the pinned 1.1+ requirement

## Facets
- artifact type: library
- maturity: maintenance
- function: api-framework, web-framework, http-server, serialization, middleware
- domain: web-development, backend, apis
- platform: python
- tags: flask, browsable-api, content-negotiation, rest, django-rest-framework-style, web-server

## Member repositories
- flask-api/flask-api (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:49.734497+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-30T04:34:33.553060+00:00, confidence not recorded.
  - readme: https://github.com/flask-api/flask-api (fetched 2026-08-28T04:04:49.734497+00:00, sha f37df5334919)
  - homepage: https://flask-api.github.io/flask-api/ (fetched 2026-08-29T11:41:56.664802+00:00, sha 7d7f1e6881cd)
- Data as of 2026-08-30T08:39:29.467469+00:00.
