The official SDK for Token Metrics AI API - providing professional investors and traders with comprehensive cryptocurrency analysis, AI-powered trading signals, market data, and advanced insights.
Build AI-driven trading agents for real crypto alpha. Empowering you to build AI-driven trading agents that capture market-leading alpha trading.
Watch our team's presentation at ETH Bucharest: Build AI Crypto Trading Bots & Agents in 2 Lines
- AI-Driven Precision for Crypto: Utilize advanced machine learning models trained on crypto market dynamics to generate actionable trading signals
- Crypto Trading Agents: Build agents that can take consistently winning trades on exchanges—both centralized and decentralized
- Real Crypto Alpha Generation: Rely on backtested AI grades to drive decisions that yield tangible profitability in the crypto space
- Comprehensive Market Data: Access detailed information on thousands of cryptocurrencies
- AI-Powered Analysis: Get trading and investment grades based on advanced AI models
- Technical Indicators: Access technical analysis grades and quantitative metrics
- Price Data: Retrieve historical OHLCV (Open, High, Low, Close, Volume) data
- Trading Signals: Receive AI-generated long and short trading signals
- AI Agent: Interact with Token Metrics' AI chatbot for market insights
- AI Reports: Access detailed technical, fundamental, and trading reports
- Simple Interface: Intuitive API with Pandas DataFrame integration
pip install tmai-api
npm install tmai-api
from tmai_api import TokenMetricsClient
# Initialize the client with your API key
client = TokenMetricsClient(api_key="your-api-key")
# Get information for top cryptocurrencies
tokens = client.tokens.get(symbol="BTC,ETH")
const { TokenMetricsClient } = require('tmai-api');
// Initialize the client with your API key
const client = new TokenMetricsClient('your-api-key');
// Get information for top cryptocurrencies
client.tokens.get({ symbol: 'BTC,ETH' })
.then(tokens => {
console.log(tokens);
});
Token Metrics API is available through multiple platforms and integrations:
- Official MCP Server - Model Context Protocol server for AI assistants and agents
- Rapid API - Access our API through the RapidAPI marketplace
- Postman - Explore and test our API endpoints with our Postman collection
- Zapier - Connect Token Metrics with thousands of other apps through Zapier automations
- Quicknode - Access our API through the Quicknode marketplace
- Token Metrics API Documentation
- Developer Guide - Comprehensive guide for developers
- Python SDK Documentation
- JavaScript SDK Documentation
- Token Metrics Crypto API Integration With OpenAI SDK - Learn how to use the Token Metrics crypto API with OpenAI SDK to power AI-driven crypto apps, trading tools, and intelligent automation workflows.
- Using Token Metrics Crypto API Inside Cursor IDE - See how developers build faster using the Token Metrics crypto API in Cursor IDE. Streamline crypto data access inside your AI-powered coding workflow.
- Token Metrics Crypto API Integration Tutorial For Cline - Discover how Cline integrates with the Token Metrics crypto API to power real-time crypto data pipelines, trading bots, and autonomous agents.
- How Claude Integrates With Token Metrics Crypto API - Watch how Claude AI connects with the Token Metrics crypto API to deliver smarter crypto insights, data access, and automated research tools.
- Langchain And Token Metrics Crypto API Integration - Learn how to integrate Langchain with the Token Metrics crypto API to build intelligent crypto agents and trading tools using real-time data.
- QuickNode Integration With Token Metrics Crypto API - See how to combine QuickNode with Token Metrics crypto API to supercharge blockchain apps, trading infrastructure, and data automation workflows.
Create market-leading trading tools, DeFAI apps, and agentic dashboards.
Deploy autonomous agents that maximize returns with real-time crypto data.
Command unbelievable scale when you infuse AI Agents into your profit strategies.
- CEX Trading Agents: Automate profitable trades on centralized exchanges
- DEX Trading Agents: Execute on-chain trades on decentralized exchanges
- Market Prediction Dashboards: Build real-time dashboards with market insights
- Telegram/Discord Agents: Create interactive agents for trading alerts
- Web/Mobile/Desktop Applications: Develop user-friendly applications for crypto trading
We have a collection of sample applications and hackathon projects that demonstrate real-world usage of the Token Metrics AI API:
- Hackathon Projects - Collection of projects from hackathons
- Python Examples - Example scripts using the Python SDK
- JavaScript Examples - Example scripts using the JavaScript SDK
Contributions are welcome! Please feel free to submit a Pull Request.
If you've built a project using the Token Metrics API and would like to have it featured in our examples, please submit a pull request with your project details.
This SDK is distributed under the MIT License. See the LICENSE file for details.
Empowering investors with AI-powered crypto insights