Real-Time Price-at-Trade Enrichment: Why Spot APIs Lie on Fast Memecoins

Every KOL trade and copy-trade signal MadeOnSol emits carries `market_cap_usd_at_trade` and `price_usd_at_trade` — the market cap and USD price at the exact swap moment, stamped from our in-memory mc-tracker. No round-trip to Dexscreener, no spot-lag drift, no wrong-pool phantom price.

MadeOnSol··Updated · 8 min read
Real-Time Price-at-Trade Enrichment: Why Spot APIs Lie on Fast Memecoins

Disclosure: This article contains affiliate links. If you sign up through them, MadeOnSol may earn a commission at no extra cost to you. This never affects our rankings, ratings, or reviews.

If you've ever copy-traded a KOL on a fast-moving memecoin, you've felt this problem: the signal fires, your bot calls /dexscreener/price/{mint} to size the entry, and the number is already 15-30 seconds old. On a token moving 40% per minute, that's the difference between a clean entry and chasing a wick.

The standard memecoin data stack — Dexscreener, Birdeye, Jupiter price API — all serve spot prices, refreshed on poll. Polling intervals on the free tiers run 5-30 seconds. Even paid tiers lag swap firehose by several seconds because the price is computed off pool reserves which need a sync hop, not the actual swap that just happened.

MadeOnSol takes a different approach: every KOL trade we publish carries market_cap_usd_at_trade and price_usd_at_trade — the canonical MC and USD price at the exact moment the swap fired, stamped server-side before the event ever leaves our infrastructure. No additional API call. No round-trip to a third party. No drift.

What's actually stamped

Look at any row from /api/v1/kol/feed:

{
  "wallet_address": "AbCdEf...",
  "kol_name": "@somealpha",
  "action": "buy",
  "token_mint": "4k3Dyj...",
  "token_symbol": "PEPECAT",
  "sol_amount": 2.4,
  "tx_signature": "5xPq...",
  "traded_at": "2026-05-14T11:42:17.342Z",
  "market_cap_usd_at_trade": 287_000,
  "price_usd_at_trade": 0.000287,
  "token_age_minutes": 8,
  "kol_winrate_7d": 71.4,
  ...
}

That MC and price are not pulled from a cache when the event is read. They were captured when the kol-tracker ingested the swap, before anything got serialized to Postgres, before the event was published to madeonsol_events. By the time a copy-trade bot receives the signal one second later, the number is already historical truth — it's not going to drift while the bot decides what to do.

Same fields live on every /api/v1/copytrade/signals payload, and the response body of /api/v1/kol/first-touches:

{
  "signal_id": 81342,
  "subscription_id": 12,
  "fired_at": "2026-05-14T11:42:18.501Z",
  "source_wallet": "AbCdEf...",
  "kol_name": "@somealpha",
  "action": "buy",
  "token_mint": "4k3Dyj...",
  "source_sol_amount": 2.4,
  "suggested_sol_amount": 1.0,
  "tx_signature": "5xPq...",
  "traded_at": "2026-05-14T11:42:17.342Z",
  "market_cap_usd_at_trade": 287_000,
  "price_usd_at_trade": 0.000287,
  "market_cap_usd": 312_000,
  "last_price_usd": 0.000312
}

Two pairs, because both questions matter:

  • *_at_trade — what was the cap when the KOL fired? Sizes your reaction trade fairly.
  • market_cap_usd / last_price_usd — what is the current cap by the time you read this? Tells you whether you've already lost the entry.

The delta between them is your copy-trade lag in MC terms. If a signal arrives where market_cap_usd / market_cap_usd_at_trade > 1.4, you're already 40% behind the KOL's fill; act on that, not on a stale price you pulled five seconds ago.

Why mc-tracker beats spot APIs

MadeOnSol runs a dedicated service called mc-tracker that owns canonical token state. Its job in one paragraph: subscribe to the dual-region Kaldera gRPC stream of every swap on 11 Solana DEX programs (pump.fun, PumpSwap, Raydium AMM/CPMM/CLMM, Orca Whirlpool, Meteora DBC/DAMM/DLMM/CPAMM, launchlab/bonk.fun), classify each swap, and update a hot in-memory Map<mint, TokenState> of last-price + 15-minute VWAP + market cap + liquidity. State is written to Postgres in batches every few seconds for persistence, but every read by kol-tracker hits the in-memory layer directly.

So when a KOL swap fires:

  1. Kaldera gRPC → dex-stream classifies the swap → publishes to mc_swaps pg_notify channel.
  2. mc-tracker receives the swap, updates its in-memory price for the affected mint within milliseconds.
  3. kol-tracker observes the same swap via its own gRPC filter, looks up the now-updated MC + price from mc-tracker via local HTTP (port 3007), stamps it onto the trade row.
  4. Row inserts into kol_trades with market_cap_usd_at_trade and price_usd_at_trade populated.
  5. kol:trade event publishes through pg_notify → WS streaming + webhook fan-out.

Measured in production (2026-09-19), the enriched trade row is written a median of about 340 ms after the swap's slot; the final hop from our bus to your socket or webhook is not instrumented yet, so we do not quote an end-to-end number. The price on the event is the one computed from that same swap, same pool, with no separate API call required. If you want to query that same in-memory state directly for any mint — cap, VWAP, liquidity, volume windows, and the MEV split in one shot — that's exactly what the /v1/token/{mint} endpoint returns.

Now compare a typical Dexscreener-based path:

  1. Your copy-trade bot receives a swap event (from somewhere).
  2. Bot polls Dexscreener /tokens/v1/solana/{mint} for current price.
  3. Dexscreener returns a price that was synced from on-chain pool reserves N seconds ago (N varies; for popular tokens N is often 5-15s on free tier).
  4. Your bot sizes the trade off a number that drifted while you waited for the HTTP response.

The two paths produce visibly different fills on tokens moving fast enough that 5-15 second drift matters — which is most of the interesting memecoin tape.

Building a product on Solana or Robinhood Chain data?

Skip the Geyser pipeline — embed KOL flow, deployer reputation, and the all-DEX firehose over REST, WebSocket, or webhooks. The Business tier (€400/mo) is the self-serve embed license at 500k calls/day — Enterprise adds white-label & redistribution.

See Business pricing

Three specific things this unlocks

1. Fair copy-trade sizing

If a KOL bought at $200K MC and the bot tries to size 1.0 SOL by current $400K MC, the copy is buying half the conviction the source wallet did. market_cap_usd_at_trade lets you scale the entry to the original cap so the position carries the same relative position size to the KOL's exposure.

function adjustedSize(sourceSol: number, mcAtTrade: number, mcNow: number) {
  // If MC has doubled, halve the size — same dollar exposure as the KOL's entry.
  // If MC dropped, increase the size — KOL got a worse entry than you can.
  if (!mcAtTrade || !mcNow) return sourceSol;
  return sourceSol * (mcAtTrade / mcNow);
}

This pattern (already used internally on the proportional copy-trade sizing mode) lets your bot make smarter sizing decisions automatically.

2. Backtest entry MC without rebuilding history

Every historical row in kol_trades carries the MC at the time of the trade. So when you backfill an analysis like "what's the average MC at which scout-tier KOLs first-buy fresh tokens?" you don't have to look up historical pool reserves at the trade timestamp — the number is already in the row.

SELECT
  AVG(market_cap_usd_at_trade) FILTER (WHERE action = 'buy') AS avg_entry_mc,
  PERCENTILE_CONT(0.5) WITHIN GROUP (ORDER BY market_cap_usd_at_trade) AS median_entry_mc
FROM kol_trades
WHERE wallet_address IN (SELECT wallet_address FROM mv_kol_scout_score WHERE scout_tier = 'S')
  AND traded_at > now() - interval '30 days';

That query runs in the millisecond range on our data because every row is pre-stamped. Doing the same against a generic swap-history dataset means joining each row against a price snapshot, which is the painful part.

3. Cluster-entry classification

The coordination and first-touches endpoints already use this internally: every cluster row carries market_cap_usd_at_first_buy — the cap stamped on the chronologically-first KOL buy in the cluster. Combined with the current cap, a single number tells you whether "8 KOLs coordinated on this token" means they all entered together at $40K MC (alpha cluster) or they piled in after the move started at $1.2M MC (late-stage chase).

curl -H "Authorization: Bearer msk_..." \
  "https://madeonsol.com/api/v1/kol/coordination?period=6h&min_kols=5&min_mc_usd=20000&max_mc_usd=200000"

min_mc_usd and max_mc_usd filter on the entry MC, not the current MC — exactly the band-pass filter that separates real alpha clusters from chase clusters.

What "real-time" actually means here

A small caveat — "real-time" in this context means "computed from the swap stream sub-second of confirmation," not "computed from the mempool." We index from CONFIRMED-commitment swaps (single-confirmation finality) because PROCESSED-commitment swaps occasionally reorg on Solana, and a reorg'd price stamp is worse than a one-second-old one. For the latency-critical sniper edge case where you want pre-confirmation MC, the DEX firehose channel (dex:trades) emits PROCESSED-commitment swaps — but those are intentionally NOT used to enrich *_at_trade fields because they can flip.

If you're using *_at_trade for trade sizing, you're getting a value that's both fast and stable.

Tier access

Every authenticated tier gets the *_at_trade fields on every endpoint that emits them — BASIC, PRO, and ULTRA. There's no precision downgrade. The fields are part of the canonical event shape, not an upgrade unlock.

EndpointCarries *_at_trade?
GET /v1/kol/feedyes
GET /v1/kol/first-touchesyes
GET /v1/copytrade/signalsyes
ws://...stream channel kol:tradesyes
ws://...stream channel copytrade:signalsyes
Webhook event copytrade:signalyes

The same mc-tracker state that stamps *_at_trade also drives the momentum windows in Reorg-Safe Velocity Windows and the organic/MEV volume split in Your Memecoin Volume Number Is Lying — worth pairing with trade-time stamps if you're sizing off more than just price.

These two fields were the seed of a much bigger rollout: Market Cap Everywhere covers how the same market_cap_usd_at_trade stamping was extended to coordination clusters, leaderboards, webhooks, and the Telegram bot.

Resources

If your bot pulls Dexscreener for every signal, you're paying two latency taxes: the swap-to-publish drift, and the publish-to-poll drift. The first you can't avoid; the second you can. Use the stamps in the payload.

Tools mentioned

Compare features and read reviews.

Live health scores, average ratings, and direct links on MadeOnSol.

Get this data via API

Stream real-time KOL trades, PnL rankings, and coordination signals programmatically.

Start free
import { MadeOnSol } from "madeonsol";

const client = new MadeOnSol({ apiKey: "msk_your_key" });

// Real-time KOL trades
const { trades } = await client.kol.feed({ limit: 10, action: "buy" });

// KOL convergence signals
const { tokens } = await client.kol.coordination({ min_kols: 3 });
npm install madeonsolFull API docs

Building a product on Solana or Robinhood Chain data?

MadeOnSol isn't an RPC or another generic token API — it's Solana & Robinhood Chain memecoin intelligence that's painful to build in-house, pulled from dual-region gRPC shred streams and our own Robinhood Chain node, pushed to your app as events land.

Signals you'd otherwise build

KOL & smart-money flow from 2,000+ labeled wallets, deployer reputation, coordination clusters, linked-wallet entity resolution, and an all-DEX firehose.

Embed it in your product

The Business tier (€400/mo, self-serve) licenses you to display MadeOnSol data inside your own product — 500k calls/day, 15 WS + 6 firehose connections. Enterprise above adds white-label & redistribution rights and custom endpoints.

Evaluate first, commit later

Test everything on a free ULTRA key — no commitment. If it fits, we scope volume or white-label pricing.

Keep reading

More from the blog.

All API Guides
Copy-Trade Solana KOL Wallets: Build a Paper-Trading Bot in 5 Minutes

Developer Tools

Copy-Trade Solana KOL Wallets: Build a Paper-Trading Bot in 5 Minutes

Watch live smart-money trades on Solana and paper-trade them in real time: open a virtual position when a tracked KOL buys, close when they sell, and track PnL from the market-cap multiple. This tutorial walks the open-source kol-copytrade-bot-starter — ~300 lines, one dependency, free API key — and shows how to filter by KOL win rate, deployer tier, and multi-KOL confirmation before risking anything real.

5 minJuly 5, 2026
Solana Smart Money Tracker: Find Wallets Worth Following

Guides

Solana Smart Money Tracker: Find Wallets Worth Following

A walkthrough with live Solana data: judge a wallet's track record, separate realized from unrealized profit, and check a wallet's later sales before you follow its buy.

33 minOctober 28, 2026
How to Get pump.fun Token Trades via API: the Per-Mint Trade Tape (2026)

Guides

How to Get pump.fun Token Trades via API: the Per-Mint Trade Tape (2026)

One GET returns every buy and sell on a pump.fun token, newest first, with the executed price, the pool price at that slot, the wallet and the early-buyer rank. Cursor paging, buy/sell and wallet filters, and what the coverage block tells you before you trust the numbers.

9 minSeptember 5, 2026
How to Stream New Solana Token Launches over WebSocket: Deploys, Graduations, Surges (2026)

Guides

How to Stream New Solana Token Launches over WebSocket: Deploys, Graduations, Surges (2026)

One socket, three channels: sniper:deploys pushes every pump.fun launch a few hundred milliseconds before the chain confirms it, token:graduations pushes every bonding-curve completion, token:surges pushes young tokens running 3×, 6× or 8× against their launch cap. Handshake, real frames, filters, and what each channel does not tell you.

10 minSeptember 5, 2026
How to Track Solana KOL Wallet Trades via API: since-Cursor Polling or WebSocket Push (2026)

Guides

How to Track Solana KOL Wallet Trades via API: since-Cursor Polling or WebSocket Push (2026)

Two ways to follow the trades of 1,000+ tracked Solana KOL wallets: poll GET /api/v1/kol/feed with the next_since cursor, or subscribe to the kol:trades WebSocket channel. Real response fields, the per-KOL scores that ride on every row, and how to pick wallets from the leaderboard.

9 minSeptember 5, 2026
Mizar Review 2026: Multi-Chain Copy Trading and DCA Bots — Including Solana

Reviews

Mizar Review 2026: Multi-Chain Copy Trading and DCA Bots — Including Solana

Mizar bundles copy trading, DCA, and automated take-profit/stop-loss into one pay-per-trade platform across Solana, Ethereum, Base, and BNB Chain. Here's what it costs, what it does well, and why it's not a Solana-exclusive tool.

5 minJuly 6, 2026

Enjoyed this article?

Explore the live data.

Real-time KOL trades, Pump.fun deployer intel, and 1,200+ ranked Solana & Robinhood Chain tools — free to explore.

Open the KOL Tracker