Practical overview
When it fits
Use it when a Python application needs the documented Blockfrost API workflows or webhook signature verification.
Who it is for
- Python developers building applications that use Blockfrost API data.
- Developers handling IPFS files through Blockfrost.
- Flask developers receiving and validating Blockfrost Secure Webhooks.
Documented uses
- Check API health and retrieve Cardano account rewards or address details.
- Collect paginated reward results in an SDK call.
- Add a local file to IPFS and read file contents through the gateway.
- Verify a webhook request signature before processing its event payload.
Requirements & limits
The README says users must sign in to Blockfrost.io, create a project and retrieve an API key before using the SDK. The public repository identifies an Apache-2.0 license.
- The repository provides Python examples for both Cardano and IPFS, plus a separate webhook-signature example.
- The Cardano example defaults to mainnet and shows selecting testnet through the base URL.
- The README demonstrates response handling as SDK objects, JSON or pandas data for the health example.
- Integration tests require the
BLOCKFROST_PROJECT_ID_MAINNETenvironment variable.
Check current requirements in the official documentation. Source-based guidance does not mean OpenViST has run or independently tested this project.
Install and configure the Python SDK
Prepare a Python environment to use Blockfrost Python with a Blockfrost project key.
Before you start
- Python 3
- A Blockfrost.io account and project, with its API key
Steps
Install the package with the command below.
pip install blockfrost-pythonCreate a project at Blockfrost.io and retrieve its API key.
Provide the key as the SDK's project ID or set
BLOCKFROST_PROJECT_ID.
Expected outcome
The package is installed and the documented API-key configuration is ready for SDK usage.
Guide limitations
- This guide covers installation and credentials, not execution of a particular API operation.
Sources & review
Source record details
- Source availability
- Active
- Sources checked
- 13 October 2026
- Original website title
- blockfrost/blockfrost-python · Official homepage title · retained in its source language

