Skip to main content

๐Ÿ‘‹ Overview

Koi API is the Solana launchpad market as data: every transaction on every launchpad we index, the moment it happens, and the trade history of the launchpads' coins back to March 2025.

๐Ÿ“ฆ What you getโ€‹

  • Full Data Stream: one event per transaction. Trades with a per-swap breakdown, pool reserves and fees; launches with their mint and freeze authorities and the launcher's own buy; migrations, pool creates, liquidity, creator-fee claims and fee sweeps. On pump.fun, PumpSwap, Bonk and StonkFun, Meteora (DBC, DAMM v2, DAMM v1, DLMM), Raydium (CPMM, AMM v4, CLMM) and Orca. Every event also says what its transaction paid to land: priority fee, tip and compute units.
  • Shreds: the same launches and trades read from the shreds, before the block executes: who sends what, on which coin, buy or sell, the amount in and the limit out, the fee and the tip. Earlier, and with less in it, since nothing has run yet: act on Shreds, account with the Full Data Stream.
  • Historical data: the launchpad coins' trades, launches and graduations from our trade database, by the UTC hour as compressed JSON lines, back to March 2025. Buy the days you need.
  • Local trading: buy and sell any coin on pump.fun, PumpSwap, LaunchLab, Meteora and Raydium in one request. Your wallet signs on your machine; we send it, or your own RPC does.

๐Ÿ’ณ Pricesโ€‹

Data Stream plan$130 a month: the Full Data Stream on 3 sockets and Shreds on 2, resume with sinceSlot, all three regions
Free triala new account that never had a plan can try the Data Stream plan once, free, from the dashboard: once per account and once per address
Historical databy the day: 1 day $6, 7 days $40, 1 month (up to 31 days) $150, the cheapest mix taken for you. No plan needed
Local trading0.25% per trade, inside the transaction. No plan and no key needed

Paid in USDC or SOL. Everything on the pricing page.

๐Ÿ”‘ Your keyโ€‹

Sign in to the dashboard and take the Data Stream plan: your key, sk_โ€ฆ, is shown there. Send it as ?key= or an x-api-key header, or as auth: { api_key } on Socket.IO. Keep it to yourself: whoever has it uses your plan. Historical data is bought in the same dashboard and downloaded with the same key.

๐ŸŒ Addressesโ€‹

RegionAddress
Frankfurtfra.api.koi.tools
Amsterdamams.api.koi.tools
New Yorknyc.api.koi.tools

The same stream and the same key in each; pick the one next to your bot (Regions).

๐Ÿš€ First connectionโ€‹

import WebSocket from "ws"; // npm install ws

const ws = new WebSocket("wss://fra.api.koi.tools/api/stream/ws?key=sk_โ€ฆ");
ws.on("message", (raw) => {
const e = JSON.parse(raw);
if (e.type) return; // connected, resumed, pong, โ€ฆ: about the socket itself
console.log(e.action, e.protocol, e.mint, e.quoteAmount);
});

With no filter that is the whole market. Narrow it with protocols and actions, or resume after a disconnect with sinceSlot: see the Full Data Stream.

โ“ Helpโ€‹

Ask in the Telegram group. Include what you sent, what came back and the time.