OpenViSTAI · Agents · Blockchain · Crypto
Menu
Developer Tools

Blockfrost Python

Blockfrost Python is an open-source Python 3 SDK for accessing the Blockfrost.io API, with examples for Cardano data, IPFS file operations and Secure Webhooks signature verification.

Independent OpenViST project profile, based on linked sources.

Blockfrost Python — OpenViST project profile in Developer Tools.
OpenViST project illustration. See the linked sources for product details.
Understand the project

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.
Before you choose

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_MAINNET environment variable.

Check current requirements in the official documentation. Source-based guidance does not mean OpenViST has run or independently tested this project.

Source-based practical guide

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

  1. Install the package with the command below.

    Documented command
    pip install blockfrost-python
  2. Create a project at Blockfrost.io and retrieve its API key.

  3. 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.
Evidence and transparency

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