Skip to main content

Scrape the latest APY rates for BlockFi Interest Accounts

Project description

PyPI - Python Version


This package is in no way affiliated in any way, shape or form with BlockFi and as such its use is entirely at the user's own risk.


An unofficial API to easily obtain the interest rates of BlockFi Interest Accounts (BIA).

Getting Started


pip install blockfirates


from blockfirates import client

Available Functions

  • get_all_rates
  • get_amount
  • get_apy


Printing info for all currencies:

rates = Client.get_all_rates()
for i in rates:


Printing amount criteria for a specific currency:

Client.get_amount("BTC (Tier 1)")


Printing APY rate for a specific currency:

Client.get_apy("BTC (Tier 1)")


Use Poetry to create a virtual environment based on the pyproject.toml file:

poetry init

Once changes have been committed the package can be updated on both Github and PyPi:

git push -u origin master

poetry publish --build --username $PYPI_USERNAME --password $PYPI_PASSWORD

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 blockfirates, version 0.2.4
Filename, size File type Python version Upload date Hashes
Filename, size BlockFiRates-0.2.4-py3-none-any.whl (2.8 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size BlockFiRates-0.2.4.tar.gz (2.8 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page