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.

Files for flask-rest-api, version 0.17.1
Filename, size File type Python version Upload date Hashes
Filename, size flask_rest_api-0.17.1-py3-none-any.whl (31.0 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size flask-rest-api-0.17.1.tar.gz (56.6 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page