Announcements

Build AI-Powered Crypto Trading Bots in Minutes: Token Metrics Partners with Cline for Seamless Crypto API Integration

We're excited to announce a powerful new integration between Token Metrics and Cline bringing together the most advanced crypto API on the market and an AI-native coding environment purpose-built for building and testing AI crypto trading bots.
Token Metrics Team
8 min
MIN

Combine the Best Crypto API with Cline’s AI Coding Environment to Automate Smarter Trades—Faster

The world of crypto development just leveled up.

We're excited to announce a powerful new integration between Token Metrics and Cline (via the Roo Code extension)—bringing together the most advanced crypto API on the market and an AI-native coding environment purpose-built for building and testing crypto trading bots.

This partnership unlocks the ability to rapidly prototype, test, and launch intelligent trading strategies using real-time data from Token Metrics directly inside Cline, making it easier than ever for developers and traders to build in the crypto economy.

In this post, we’ll show you exactly how this works, walk through a working example using the Hyperliquid token, and explain why Token Metrics is the best crypto API to use with Cline for next-gen trading automation.

What Is Cline (Roo Code)?

Cline is an AI-first coding assistant designed to turn ideas into code through conversational prompts. With the Roo Code extension in Visual Studio Code, Cline transforms your IDE into an AI-native environment, allowing you to:

  • Write and debug code using natural language
  • Chain tools and APIs together with zero setup
  • Backtest and optimize strategies within a single flow

By integrating Token Metrics’ cryptocurrency API through its MCP (Multi-Client Protocol) server, developers can access real-time grades, trading signals, quant metrics, and risk insights—all through AI-driven prompts.

This combo of live crypto data and AI-native coding makes Cline one of the fastest ways to build trading bots today.

What Is Token Metrics MCP & API?

The Token Metrics API is the ultimate toolkit for crypto developers. It's a high-performance, developer-focused crypto API that gives you:

  • AI-powered Trader & Investor Grades
  • Buy/Sell Signals for bull/bear market detection
  • Support & Resistance Levels
  • Sentiment Analysis
  • Quantitative Metrics including ROI, performance vs. BTC, and more
  • Full Token Reports & Rankings

These features are now accessible via the MCP server—a gateway that standardizes access to Token Metrics data for AI agents, bots, dashboards, and more.

Whether you’re building a Telegram bot, a trading terminal, or a portfolio optimizer, the Token Metrics MCP setup with Cline makes it seamless.

Step-by-Step: Build a Trading Bot in Cline Using Token Metrics

Here’s a walkthrough of how you can build a complete AI-powered trading bot using Cline and the Token Metrics API.

1. Set Up Your Project in Visual Studio Code

Open VS Code and click “Open Folder.” Name your project something fun—like “Hype Bot.”
Then go to the Extensions tab, search for “Roo Code” (the advanced version of Cline), and install it.

2. Connect to the Token Metrics MCP Server

Once installed:

  • Click the MCP icon in the sidebar.
  • Choose “Edit Global MCP.”
  • Visit the official Token Metrics MCP Instructions and copy the full configuration block.
  • Paste it into your global MCP settings in Cline.

🎉 Now your environment is live, and you’re connected to the best crypto API on the market.

3. Explore the API with a Prompt

Inside Cline, simply prompt:

“Explore the Token Metrics API and analyze the Hyperliquid token.”

In seconds, the agent fetches and returns detailed insights—including investor grade, sentiment shifts, trading volume, and support/resistance levels for Hyperliquid. It even detects patterns not visible on typical trading platforms.

4. Generate a Trading Strategy

Next prompt:

“Create a trading strategy using this data.”

The agent responds with a full Python trading script based on AI signals from the API—complete with buy/sell logic, thresholds, and data pipelines.

5. Run Backtests and Analyze Performance

Cline automatically generates a backtest file and plots a performance chart.

For example:

  • Portfolio grew from $10,000 to $10,600
  • 27 trades, with an 18.5% win rate
  • Maximum drawdown of 14%
  • Realistic insights into risk-adjusted returns

This is real-time data, real code, real results—all built through a few smart prompts.

Why This Partnership Matters

đź”— Natural-Language-Powered Crypto Development

No more hours spent reading docs or integrating messy SDKs. With Cline + Token Metrics, you talk to your agent, and it builds the bot, fetches the data, and runs the strategy.

⚙️ Best-in-Class Crypto Market Intelligence

Token Metrics provides professional-grade market signals used by hedge funds, traders, and analysts. With 80+ metrics per token, it’s the most detailed cryptocurrency API available—now accessible to indie devs and builders via Cline.

⚡ Build, Test, Iterate—Fast

Backtesting, strategy generation, and data access happen within seconds. This drastically cuts time-to-market for MVPs, AI assistants, and algo bots.

Use Cases You Can Build

  • Hype Token Trading Bots – Surf emerging narratives like Memecoins, RWA, or AI.
  • Risk-Managed Portfolios – Adjust exposure based on grades and market phases.
  • Discord/Telegram Bots – Stream top-performing tokens with real-time buy alerts.
  • CEX/DEX Strategy Automation – Monitor performance across centralized and decentralized exchanges.
  • Quant Research Dashboards – Power internal tools with Token Metrics data for investment committees or research teams.

Why Token Metrics Is the Best Crypto API for Cline Developers

  • âś… Built for AI Workflows – Easy to use via prompts, structured for agent consumption.
  • âś… Real-Time Coverage – Stay updated on narrative-driven tokens before they pump.
  • âś… Secure & Scalable – Use API keys, MCP servers, and secure backtest environments.
  • âś… Free to Start – Includes 5,000 free API calls so you can build before committing.

Final Thoughts

The future of building in crypto is agent-driven, data-rich, and fast.

This integration between Token Metrics and Cline proves that with the right tools, anyone can turn an idea into a trading bot in under 10 minutes—using real-time market data, AI-grade analysis, and seamless backtesting in one workflow.

No manual coding. No noise. Just results.

Start building smarter bots today:
👉 Get your API Key on Token Metrics
👉 Install Roo Code and connect Cline

Watch demo here!

Let’s build the next generation of crypto trading together.

Build Smarter Crypto Apps &
AI Agents in Minutes, Not Months
Real-time prices, trading signals, and on-chain insights all from one powerful API.
Grab a Free API Key
Token Metrics Team
Token Metrics Team

Recent Posts

Research

Fundamental Grade Crypto API: Real Crypto Fundamentals in One Score

Token Metrics Team
3
MIN

Most traders chase price action; Fundamental Grade Crypto API helps you see the business behind the token—community traction, tokenomics design, exchange presence, VC signals, and DeFi health—consolidated into one score you can query in code. In a few minutes, you’ll fetch Fundamental Grade, render it in your product, and ship a due-diligence UX that drives trust. Start by grabbing your key at the Get API Key page, Run Hello-TM to verify your first call, then Clone a Template to go live fast.

What You’ll Build in 2 Minutes

A minimal script to fetch Fundamental Grade from /v2/fundamental-grade for any symbol (e.g., BTC).

  • Optional curl to smoke-test your key in seconds.
  • A drop-in pattern to display the grade + key drivers in dashboards, screeners, and research tools.

Endpoints to consider next

  • /v2/tm-grade (technical/sentiment/momentum)
  • /v2/price-prediction (scenario planning)
  • /v2/resistance-support (risk levels)
  • /v2/quantmetrics (risk/return stats)

Why This Matters

Beyond price, toward quality. Markets are noisy—hype rises and fades. Fundamental Grade consolidates hard-to-track signals (community growth, token distribution, liquidity venues, investor quality, DeFi integrations) into a clear, comparable score. You get a fast “is this worth time and capital?” answer for screening, allocation, and monitoring.

Build trust into your product. Whether you run an investor terminal, exchange research tab, or a portfolio tool, Token Metrics discovery helps users justify positions. Pair it with TM Grade or Quantmetrics for a balanced picture: what to buy (fundamentals) and when to act (signals/levels).

Where to Find

The Fundamental Grade is easily accessible in the top right of the API Reference. Grab the cURL request for seamless access!

Ready to build?

  • Get API Key — generate a key and start free.
  • Run Hello-TM — verify your first successful call.
  • Clone a Template — deploy a screener or token page today.

Watch the demo: VIDEO_URL_HERE. Compare plans: Scale confidently with API plans.

FAQs

1) What does the Fundamental Grade API return?

A JSON payload with the overall score/grade plus component scores (e.g., community, tokenomics, exchange presence, VC backing, DeFi health) and timestamps. Use the overall grade for ranking and component scores for explanations.

2) How fast is the endpoint? Do you publish SLOs?

The API is engineered for predictable latency. For high-traffic dashboards, add short-TTL caching and batch requests; for alerts, use jobs/webhooks to minimize round-trips.

3) Can I combine Fundamental Grade with TM Grade or signals?

Yes. A common pattern is Fundamental Grade for quality filter + TM Grade for technical/sentiment context + Trading Signals for timing and Support/Resistance for risk placement.

4) How “accurate” is the grade?

It’s an opinionated synthesis of multiple inputs—not financial advice. Historical studies can inform usage, but past performance doesn’t guarantee future results. Always layer risk management and testing.

5) Do you offer SDKs and examples?

You can use REST directly (see JS/Python above). The docs include quickstarts, Postman, and ready-to-clone templates—start with Run Hello-TM.

6) Polling vs webhooks for fundamentals updates?

For UI pages, cached polling works well. For event-style notifications (upgrades/downgrades), prefer webhooks or scheduled jobs to avoid spiky traffic.

7) What about pricing, limits, and enterprise SLAs?

Begin free and scale as you grow. See API plans for allowances; enterprise SLAs and support are available—contact us.

Research

Fundamental Grade Crypto API: Invest with Conviction Using Real Project Signals

Token Metrics Team
4
MIN

Most traders chase price action; Fundamental Grade Crypto API helps you see the business behind the token—community traction, tokenomics design, exchange presence, VC signals, and DeFi health—consolidated into one score you can query in code. In a few minutes, you’ll fetch Fundamental Grade, render it in your product, and ship a due-diligence UX that drives trust. Start by grabbing your key at the Get API Key page, Run Hello-TM to verify your first call, then Clone a Template to go live fast.

What You’ll Build in 2 Minutes

A minimal script to fetch Fundamental Grade from /v2/fundamental-grade for any symbol (e.g., BTC).

  • Optional curl to smoke-test your key in seconds.
  • A drop-in pattern to display the grade + key drivers in dashboards, screeners, and research tools.

Endpoints to consider next:

  • /v2/tm-grade (technical/sentiment/momentum)
  • /v2/price-prediction (scenario planning)
  • /v2/resistance-support (risk levels)
  • /v2/quantmetrics (risk/return stats)

Why This Matters

Beyond price, toward quality. Markets are noisy—hype rises and fades. Fundamental Grade consolidates hard-to-track signals (community growth, token distribution, liquidity venues, investor quality, DeFi integrations) into a clear, comparable score. You get a fast “is this worth time and capital?” answer for screening, allocation, and monitoring.

Build trust into your product. Whether you run an investor terminal, exchange research tab, or a portfolio tool, Fundamental Grade lets users justify positions. Pair it with TM Grade or Quantmetrics for a balanced picture: what to buy (fundamentals) and when to act (signals/levels).

Where to Find The Fundamental Grade

The Fundamental Grade is easily accessible in the top right of the API Reference. Grab the cURL request for seamless access!

Build Smarter Crypto Apps & AI Agents with Token Metrics

Token Metrics provides real-time prices, trading signals, and on-chain insights all from one powerful API. Grab a Free API Key

How It Works (Under the Hood)

Fundamental Grade aggregates multiple project-quality signals into a normalized score and label (e.g., Strong / Average / Weak). Typical sub-signals include:

  • Community: momentum across channels (dev activity/user traction signals where applicable).
  • Tokenomics: supply schedule, distribution, unlock dynamics, incentives.
  • Exchange Presence: venue coverage, depth/liquidity proxies.
  • VC/Investor Signals: quality/durability of backing and ecosystem support.
  • DeFi Health: integrations, TVL context, composability footprint.

At query time, you call /v2/fundamental-grade with a symbol; responses include the overall score plus component scores you can visualize. For dashboards with many assets, batch fetches and short-TTL caching keep pages responsive. If you push alerts (e.g., “Fundamental Grade upgraded”), prefer webhooks or queued jobs to avoid hammering the API.

Production Checklist

  • Rate limits: Know plan caps; add client throttling and request queues.
  • Retries/backoff: Exponential backoff + jitter; surface actionable error messages.
  • Idempotency: Prevent duplicate downstream actions on retried calls.
  • Caching: Use memory/Redis/KV with short TTLs; pre-warm popular symbols.
  • Webhooks & jobs: For alerts, use signed webhooks or scheduled jobs; log delivery outcomes.
  • Pagination/Bulk: When covering many tokens, paginate or process in batches.
  • Error catalog: Map 4xx/5xx to user-visible fixes; log request IDs.
  • Observability: Track p95/p99 and error rate per endpoint; alert on spikes.
  • Security: Keep API keys in secrets managers; rotate regularly.

Use Cases & Patterns

  • Screener Maker: Rank tokens by Fundamental Grade, filter by market cap/sector, and add “rising fundamentals” badges for discovery.
  • Dashboard Builder: On each token page, show the headline grade with a component chart; link to methodology for transparency.
  • Research & PM Tools: Flag downgrades/upgrades to prompt re-evaluation; attach notes to component changes (e.g., DeFi health drop).
  • Allocator / Risk: Require a minimum Fundamental Grade before inclusion; rebalance only when grade crosses thresholds.
  • Community/Discord: Post weekly upgrades as digest messages with links back to your app.

Next Steps

  • Get API Key — generate a key and start free.
  • Run Hello-TM — verify your first successful call.
  • Clone a Template — deploy a screener or token page today.
  • Watch the demo: VIDEO_URL_HERE
  • Compare plans: Scale confidently with API plans.

FAQs

1) What does the Fundamental Grade API return?

A JSON payload with the overall score/grade plus component scores (e.g., community, tokenomics, exchange presence, VC backing, DeFi health) and timestamps. Use the overall grade for ranking and component scores for explanations.

2) How fast is the endpoint? Do you publish SLOs?

The API is engineered for predictable latency. For high-traffic dashboards, add short-TTL caching and batch requests; for alerts, use jobs/webhooks to minimize round-trips.

3) Can I combine Fundamental Grade with TM Grade or signals?

Yes. A common pattern is Fundamental Grade for quality filter + TM Grade for technical/sentiment context + Trading Signals for timing and Support/Resistance for risk placement.

4) How “accurate” is the grade?

It’s an opinionated synthesis of multiple inputs—not financial advice. Historical studies can inform usage, but past performance doesn’t guarantee future results. Always layer risk management and testing.

5) Do you offer SDKs and examples?

You can use REST directly (see JS/Python above). The docs include quickstarts, Postman, and ready-to-clone templates—start with Run Hello-TM.

Research

Indices Hub: Join the Waitlist for TM Global 100 (2025)

Token Metrics Team
5
MIN

If you’ve been waiting for a simple, rules-based way to own the Token Metrics Global 100—without micromanaging tokens—this hub is for you. The TM Global 100 is a rules-based crypto index that holds the top 100 assets in bull markets and moves to stablecoins in bear markets, with weekly rebalancing and transparent holdings/transaction logs you can verify at any time. It’s designed for hands-off allocators who want disciplined exposure and for active traders who want a core that adapts to regimes—without guesswork or endless rebalancing. Below you’ll find how it works, who it’s for, and exactly how to join the waitlist so you’re first in line when trading opens.

→ Join the waitlist to be first to trade TM Global 100.

Why Indices Matter in October 2025

Search intent right now: investors want credible, rules-based crypto exposure that can participate in upside while reducing drawdown pain. A crypto index is a basket of assets selected and maintained by rules—so you avoid one-off bets and constant manual rebalancing.

With liquidity rotating quickly across sectors, weekly rebalancing helps maintain alignment with current market-cap leaders, while regime switching provides a disciplined, pre-defined response to bearish conditions. The result is a clear, consistent process that removes emotional decision-making and operational drag.

Definition

A crypto index is a rules-based basket of digital assets that’s constructed, weighted, and rebalanced on a set schedule.

How the TM Global 100 Index Works (Plain English)

  • Regime switching: Bullish: Hold the top-100 crypto assets by market cap.
  • Bearish: Exit all positions into stablecoins and wait for a new bullish signal.
  • Weekly rebalancing: Reflects updated rankings and weights across the market-cap universe.
  • Transparency: Strategy modal shows methodology and thresholds; Gauge → Holdings Treemap → Transactions Log make every change visible.

What you’ll see on launch: Price tile, gauge (“rebalances weekly”), 100 tokens, one-click Buy Index flow, and a 90-second checkout via embedded wallet.‍See the strategy and rules.

Benefits at a Glance (Why This Beats DIY)

  • Time saved: No more manual coin-picking, sizing, and calendar rebalances.
  • Lower execution drag: One click vs. dozens of individual orders that can add slippage.
  • Stay current: Weekly rebalances help you capture market-cap changes without constant monitoring.
  • Discipline in drawdowns: Automatic switch to stablecoins removes panic decisions.
  • Radical visibility: Holdings treemap, table, and transactions log show what you own and what changed—every week.
  • Operational simplicity: Embedded wallet and a unified dashboard; no juggling chains and exchanges.

Step-by-Step: How to Get Early Access (Waitlist)

  1. Open the Indices Hub: Head to the Token Metrics Indices hub.
  2. Choose TM Global 100: Open the index page and review the Gauge → Strategy → Holdings.
  3. Join the Waitlist: Add your email to be notified the moment trading opens.
  4. (Optional) Connect Wallet: Pre-connect your wallet for a faster launch-day checkout.

Launch-Day Flow (~90 seconds): Tap Buy Index, review fees/slippage, confirm, and see your position in My Indices. Track Rebalances: After each weekly rebalance or regime change, check the Transactions Log for updates.

→ Join the waitlist to be first to trade TM Global 100.

Decision Guide: Is This Right for You?

  • Hands-Off Allocator: Want broad exposure without micromanaging? Yes—rules-based + weekly rebalances.
  • Active Trader: Need a core that sits in stables during bears while you hunt edges elsewhere? Fits.
  • TM Member/Prospect: Already trust Token Metrics research? This is the rules-based version of “own the market.”
  • Risk-Aware Newcomer: Prefer a clear framework over vibes? Methodology is visible and auditable.
  • DIY Basket Builder: Tired of missed rebalances and slippage? One click can reduce execution drag.
  • Data-First Analyst: Want to verify? See the holdings, weights, and transaction history anytime.

FAQs

1) What is a TM Global 100 index?

It’s a rules-based crypto index that holds the top 100 assets by market cap in bullish regimes and moves to stablecoins in bearish regimes. It rebalances weekly and shows transparent holdings and transactions.

2) How often does the index rebalance?

Weekly, with additional full-portfolio switches when the market regime changes.

3) What triggers the move to stablecoins?

A proprietary market signal. When bearish, the index exits all token positions into stablecoins and waits for a bullish re-entry signal.

4) Can I fund with USDC or fiat?

At launch, funding and settlement options surface based on the embedded wallet and supported chains. USDC payouts are supported for selling; additional entry options may be introduced later.

5) Is the wallet custodial?

No. The Embedded Wallet is self-custodial—you control your funds while using a streamlined, on-chain checkout.

6) How are fees shown?

Before you confirm, the Buy flow shows estimated gas, platform fee, maximum slippage, and the minimum expected value.

7) How do I join the waitlist?

Go to the Token Metrics Indices hub or the TM Global 100 strategy page and submit your email. We’ll notify you the moment trading opens.

Security, Risk & Transparency

  • Self-custody: Embedded smart wallet; you hold the keys.
  • 2FA & session hygiene: Use strong auth practices for your TM account.
  • Fee clarity: Gas, platform fee, and slippage are displayed before you confirm.
  • Auditability: Holdings, treemap, and transactions log are always visible.
  • Model limits: Regime logic can be wrong, and markets can gap; rules reduce discretion—not risk.
  • Regional availability: Product surfaces may vary by region as we expand.

Crypto is volatile and can lose value. Past performance is not indicative of future results. This article is for research/education, not financial advice.

Conclusion

If you want a disciplined, rules-based core that adapts to market regimes, Token Metrics Global 100 is built for you. Weekly rebalances, transparent holdings, and one-click buy remove operational friction so you can focus on your strategy.

→ Join the waitlist to be first to trade TM Global 100.
Choose from Platinum, Gold, and Silver packages
Reach with 25–30% open rates and 0.5–1% CTR
Craft your own custom ad—from banners to tailored copy
Perfect for Crypto Exchanges, SaaS Tools, DeFi, and AI Products