Skip to main content

Build a REST API with Flask

Project description

Deprecation warning: flask-rest-api has been renamed to flask-smorest.

Latest version Python versions marshmallow 2/3 compatible OpenAPI Specification 2/3 compatible License Build status Code coverage Documentation

Build a REST API with Flask and marshmallow.

flask-rest-api relies on marshmallow, webargs and apispec to provide a complete REST API framework.


  • Serialization, deserialization and validation using marshmallow Schema.

  • OpenAPI (Swagger) specification automatically generated, and exposed with ReDoc or Swagger UI.

  • Pagination.

  • ETag.


pip install flask-rest-api

flask-rest-api supports Python >= 3.5.


Full documentation is available at

Support flask-rest-api

flask-rest-api is built on marshmallow, webargs and apispec.

If you’d like to support the future of the project, please consider contributing to marshmallow’s Open Collective:

Donate to our collective


MIT licensed. See the LICENSE file for more details.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

flask-rest-api-0.17.1.tar.gz (56.6 kB view hashes)

Uploaded Source

Built Distribution

flask_rest_api-0.17.1-py3-none-any.whl (31.0 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page