get_stablecoin_prices
Retrieve historical prices of all stablecoins using API access to DeFiLlama, CoinGecko, and Arkham Intelligence, eliminating the need for individual API key management.
Instructions
GET /stablecoins/stablecoinprices
Get historical prices of all stablecoins.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- defillama_server.py:217-224 (handler)The main handler function for the 'get_stablecoin_prices' tool. It is decorated with @mcp.tool() for registration and fetches historical stablecoin prices from the DefiLlama Pro API endpoint '/stablecoins/stablecoinprices' using the shared make_request helper.@mcp.tool() async def get_stablecoin_prices() -> str: """GET /stablecoins/stablecoinprices Get historical prices of all stablecoins. """ result = await make_request('GET', '/stablecoins/stablecoinprices') return str(result)