Welcome to Flask-JSONRPC’s documentation!

_images/flask-jsonrpc-name.png

Flask-JSONRPC brings full JSON-RPC 2.0 support to your Flask applications. It is designed to feel natural to anyone who already knows Flask, and easy to learn for those who do not.

Flask-JSONRPC provides:

  • a Pythonic decorator-based API for defining JSON-RPC methods

  • automatic request parsing and parameter handling

  • validation based on Python type hints

  • batch request support

  • method namespacing

  • an optional built-in web UI explorer for testing and debugging, available here

  • an extension system that plays nicely with the Flask ecosystem

Flask-JSONRPC follows the JSON-RPC 2.0 specification and integrates naturally with Flask’s routing, blueprints, and application factory patterns.

User’s Guide

API Reference