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.0.tar.gz (8.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

DeFiLlama-2.2.0-py3-none-any.whl (8.7 kB view details)

Uploaded Python 3

File details

Details for the file defillama-2.2.0.tar.gz.

File metadata

  • Download URL: defillama-2.2.0.tar.gz
  • Upload date:
  • Size: 8.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.3

File hashes

Hashes for defillama-2.2.0.tar.gz
Algorithm Hash digest
SHA256 04c5f5119644053bfa113a0fb275b839f07b3e2e60130f9fcb8fe05063cd8e5f
MD5 eca0df1d29e8d6fd637466ede2e0dbd6
BLAKE2b-256 a2ceb931bd67e2ddf0196a1ab991005a7db8e823846d3ee8efa60dbe63173c8c

See more details on using hashes here.

File details

Details for the file DeFiLlama-2.2.0-py3-none-any.whl.

File metadata

  • Download URL: DeFiLlama-2.2.0-py3-none-any.whl
  • Upload date:
  • Size: 8.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.3

File hashes

Hashes for DeFiLlama-2.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 748704fcf445b3623ddbfc3ee3c443284b1c118976799467f95b4b6f41e578a1
MD5 4d5acabcdbbf6d6f08453f2bccf9182a
BLAKE2b-256 7a59f84ee16541d7dda94075ae64a11209efa0fd8eb43cd0252841fe4291be11

See more details on using hashes here.

Supported by

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