Launch your first on‑chain call in three quick steps
Get your free API key
Install the SDK
pip install compass_api_sdk
npm install @compass-labs/api-sdk
Make your first call
from compassapisdk import CompassAPISDK, models with CompassAPISDK( api_key_auth="<YOUR_API_KEY_HERE>", ) as compass_api_sdk: res = compass_api_sdk.token.price(chain=models.TokenPriceChain.ARBITRUM_MAINNET, token=models.TokenPriceToken.WBTC) # Handle response print(res)
Explore our guides
Get your free API key here and start building!
Was this page helpful?