Skip to main content

Unofficial DeFi Llama API client.

Project description

DeFiLlama

Python 3.6 Python 3.7 Python 3.8 Python 3.9 Python 3.10

License

Build

Unofficial DeFi Llama API client in python

For detailed information about the API endpoints, see DeFi Llama API Documentation

Installation:

use pip to install:

pip install DeFiLlama

Authentication:

Endpoints are accessible without an API key.


Example usage:

from defillama import DefiLlama

# initialize api client
llama = DefiLlama()

# Get all protocols data
response = llama.get_all_protocols()

# Get a protocol data
response = llama.get_protocol(name='uniswap')


Donate & Help maintain the library

Paypal


Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

defillama-2.2.1.tar.gz (8.6 kB view hashes)

Uploaded Source

Built Distribution

DeFiLlama-2.2.1-py3-none-any.whl (8.7 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page