$npx skillfedfor your agent

flask-restx

Fully featured framework for fast, easy and documented API development with Flask

Worth itPyPI Python ModulesReleased Sep 20252.1M downloads / moBSD-3-ClausePure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — flask_restx-1.3.2-py2.py3-none-any.whl
v1.3.2 · released 2025-09-23 · Python >=3.9 · 6 runtime deps: aniso8601, jsonschema, referencing, Flask, werkzeug, importlib-resources

Yes. Flask-RESTX is a stable, actively maintained extension with low install friction, no known vulnerabilities, and permissive licensing. It's well-suited for developers building REST APIs on Flask who want automatic documentation and schema validation without the overhead of a full framework migration. The recent maintenance history and broad Python version support make it a reliable choice.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.9+; Flask 2.0+ (version 1.3.0+ supports Flask 3.0.0).
  • Low install friction with a pure-wheel distribution.
  • Actively maintained as of September 2025 with recent commits and community stewardship since early 2023.

License · maintenance · safety

BSD-3-Clause (permissive) — BSD-3-Clause is permissive; you can use this in commercial and proprietary projects with minimal restrictions beyond retaining the license notice.

last release 2025-09-23 (325 days) · last repo commit 2026-04-14 · 2,234 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 2,088,467 downloads/mo, #3,304 on PyPI

Verify before relying

pip install flask-restx

from flask import Flask
from flask_restx import Api, Resource

app = Flask(__name__)
api = Api(app)
ns = api.namespace('items')

@ns.route('/')
class ItemList(Resource):
    def get(self):
        return {'items': []}

if __name__ == '__main__':
    app.run()
  • Whether the package's Swagger/OpenAPI generation covers all modern OpenAPI 3.x features or remains limited to earlier specs.
  • Performance characteristics when documenting large APIs with hundreds of endpoints.
Same gist for agents: .md · .json

What it is and what it does

Flask-RESTX is a community-maintained extension for Flask that simplifies REST API development by providing a set of decorators and utilities to define endpoints, validate request/response schemas, and automatically generate Swagger documentation. It encourages best practices with minimal boilerplate—you define your API resources as classes, decorate them with namespace and HTTP method handlers, and Flask-RESTX handles routing, validation via jsonschema, and interactive API documentation.

The package depends on Flask, werkzeug, aniso8601 for date parsing, jsonschema for validation, and importlib-resources for resource loading. It's designed for developers already familiar with Flask who want to move faster when building documented APIs without switching to a heavier framework. The library is actively maintained, supports Python 3.9 through 3.12, and has been updated to work with modern Flask and Werkzeug versions.

Use it for

  • Build a REST API with automatic Swagger/OpenAPI documentation without writing separate spec files.
  • Define request/response schemas using Flask-RESTX field models and validate payloads automatically.
  • Organize endpoints into logical namespaces and expose them through a single Api instance.
  • Generate interactive API documentation that clients can use to explore and test endpoints.
  • Migrate from Flask-RESTPlus to a maintained fork with ongoing community support and compatibility updates.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Worth it

Yes.

Flask-RESTX is a stable, actively maintained extension with low install friction, no known vulnerabilities, and permissive licensing. It's well-suited for developers building REST APIs on Flask who want automatic documentation and schema validation without the overhead of a full framework migration. The recent maintenance history and broad Python version support make it a reliable choice.

Install

flask-restx on PyPI

Before you install

Low install friction with a pure-wheel distribution. Actively maintained as of September 2025 with recent commits and community stewardship since early 2023.

Requires Python 3.9+; Flask 2.0+ (version 1.3.0+ supports Flask 3.0.0).

License in practice

BSD-3-Clause is permissive; you can use this in commercial and proprietary projects with minimal restrictions beyond retaining the license notice.

Quickstart

pip install flask-restx

from flask import Flask
from flask_restx import Api, Resource

app = Flask(__name__)
api = Api(app)
ns = api.namespace('items')

@ns.route('/')
class ItemList(Resource):
    def get(self):
        return {'items': []}

if __name__ == '__main__':
    app.run()

Verify before relying

  • Whether the package's Swagger/OpenAPI generation covers all modern OpenAPI 3.x features or remains limited to earlier specs.
  • Performance characteristics when documenting large APIs with hundreds of endpoints.

Package facts

LicenseBSD-3-Clause permissive
Python supportSupports the current Python release >=3.9
Install frictionLow. Pure-Python wheel
Runtime dependencies
6 packages
aniso8601jsonschemareferencingFlaskwerkzeugimportlib-resources
MaintenanceActively maintained 325 days since the last release
Last repo commit
First released
Downloads2,088,467 / month, #3,304 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableEnvironment :: Web EnvironmentIntended Audience :: DevelopersLicense :: OSI Approved :: BSD LicenseOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.9Programming Language :: Python :: Implementation :: PyPyTopic :: Software Development :: Libraries :: Python ModulesTopic :: System :: Software Distribution

Evidence: flask_restx-1.3.2-py2.py3-none-any.whl

Tags

Capabilities
flask rest api frameworkswagger openapi documentationrest api with decoratorsflask api scaffoldingautomatic api documentationrest endpoint validationflask rest extension
Topics
rest-apiswagger-openapiflask-extension
PyPI keywords
flaskrestxrestapiswaggeropenapi

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “flask rest extension”

  • flask-restxFlask-RESTX extends Flask with decorators and tools to quickly build…
  • flask-restplusFlask-RESTPlus adds decorators and tools to Flask for building REST…
  • Flask-DatadogFlask-Datadog provides a Flask extension to access DogStatsd metrics…

Give your agent the search over MCP, or paste the wish link into any chat.

More Python Modules packages

idna Worth it
PyPI · Python Modules · released Jun 2026

Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.

Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.

BSD-3-Clausepure Python · 3.9+
1.8Bdownloads / mo
setuptools Worth it
PyPI · Python Modules · released Aug 2026

Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.

MITpure Python · 3.10+
1.6Bdownloads / mo
PyYAML Worth it
PyPI · Python Modules · released Sep 2025

PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.

MITcompiled wheel · 3.8+
1.2Bdownloads / mo
pydantic Worth it
PyPI · Python Modules · released May 2026

Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.

MITpure Python · 3.9+
1.1Bdownloads / mo
annotated-types Worth it
PyPI · Python Modules · released Jul 2026

Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.

Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…

MITpure Python · 3.10+
871.3Mdownloads / mo
typing-inspection Worth it
PyPI · Python Modules · released Aug 2026

Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.

MITpure Python · 3.10+
783.0Mdownloads / mo

See also flask-restplus · flask-swagger-ui · flask-openapi3 · flask-openapi3-swagger · flask-swagger · Flask-RESTful · flask-apispec · flask-pydantic-spec · flasgger · quart-schema