Skip to content
REST API v2

ICP DeFi Data API

Real-time prices, OHLCV candles, swaps, whale alerts, and DeFi analytics for the Internet Computer ecosystem.

140+ Tokens2,300+ Pools10M+ Swaps28 Endpoints15 Timeframes

Build Anything on ICP

From trading bots to analytics dashboards — one API for all ICP DeFi data.

Trading Bots

OHLCV candles, real-time swaps, price alerts. Build automated strategies on ICP DEXes.

Portfolio Tools

Track token prices, set alerts, and monitor portfolio performance across the ICP ecosystem.

Analytics Dashboards

Token metrics, pool stats, ecosystem data. Build DeFi analytics tools.

Telegram/Discord Bots

Whale alerts, new listings, price notifications. Power your community channels.

Real Data, Real-time

See what you get from a single API call.

GET https://icptokens.net/api/tokens/ryjl3-tyaaa-aaaaa-aaaba-cai · shortened
{
  "canister_id": "ryjl3-tyaaa-aaaaa-aaaba-cai",
  "symbol": "ICP",
  "name": "Internet Computer",
  "decimals": 8,
  "total_supply": "55814622286156289",
  "holder_count": 975687,
  "rank": 1,
  "metrics": {
    "price": { "usd": 2.757, "icp": 1 },
    "fully_diluted_market_cap": { "usd": 1538809136, "icp": 558146223 },
    "volume": { "usd": { "24h": 617576.22, "7d": 3787236.06, "30d": 18148091.2 } },
    "change": { "24h": { "usd": 1.03 }, "7d": { "usd": -8.28 }, "30d": { "usd": -4.54 }, "90d": { "usd": 28.41 } }
  }
}

Pricing

One plan, and it is free. No account, no key, no credit card.

Free

$0/forever

For bots, dashboards and personal projects. ICP Tokens is a non-profit project, so the API stays free.

  • 30 requests/min per IP
  • All public endpoints
  • No API key, no sign-up
  • Full documentation
Start Building

How It Works

Three steps to live data.

01

Explore the Docs

Browse 30 endpoints with request and response examples. No sign-up required.

02

Call the API

Plain HTTPS GET requests that return JSON. No key, no header, nothing to configure.

03

Build

Stay within 30 requests per minute per IP and cache what you can. We handle the infrastructure.

Frequently Asked Questions

Is the API free?

Yes, completely. Every public endpoint is available at 30 requests per minute per IP, with no API key and no sign-up. ICP Tokens is a non-profit project; there is no paid tier.

What if I need more than 30 requests per minute?

Cache responses on your side: prices change every minute at most, so polling faster brings no new data. If your project genuinely needs a higher limit, write to [email protected] and tell us what you are building.

What data is available?

All ICP tokens and pools from ICPSwap, OHLCV candles across 15 timeframes (1m to 1M), whale alerts, ecosystem metrics and TradingView-compatible data feeds — plus on-chain data from our own copy of the ICP and token ledgers: ICP burn vs mint, large transfers, and the balances and transfers of any address.

How reliable is the API?

Automated health checks run every 5 minutes and alert our team when data is delayed. If ICPSwap is slow or down, the last known data stays available and missed trades are filled in when it recovers. The status dot in the site header shows when data is delayed.

Ready to build on ICP?

Join developers building the next generation of DeFi tools on Internet Computer.