Build a Custom Solana Memecoin Scanner in 80 Lines With /api/v1/tokens

Build a custom Solana token scanner with `/api/v1/tokens`: market-cap and liquidity bands, freshness, DEX/launchpad, authority state, supply-burn evidence, organic volume, MEV share, liquidity-to-MC and momentum filters.

MadeOnSol··Updated · 8 min read
Build a Custom Solana Memecoin Scanner in 80 Lines With /api/v1/tokens

Every Solana memecoin trader ends up wanting the same thing eventually: a scanner that filters the firehose down to their specific rules — not GMGN's defaults, not Photon's "trending" sort, not Bullx's hot tab. You want mc between $100K and $2M, liquidity above $5K, on PumpSwap, less than 25% MEV share, gained at least 30% in the last hour, authorities revoked. Eleven filters in one query, exactly that combination.

GET /api/v1/tokens is that endpoint. It exposes a growing server-side filter surface over the live token-price view, with nine sort modes and pagination up to a 10,000 raw-candidate offset. This post walks through the full filter surface, what each filter is doing under the hood, and an example scanner you can run from a single API call.

The filter surface in one table

FilterTypeWhat it does
min_mc / max_mcUSD floatFilter on current market cap (price × on-chain supply).
min_liqUSD floatFilter on USD-denominated liquidity in the primary pool. Defaults to 2000 — opt out with min_liq=0.
active_hhours, 0–8760Drop tokens whose last trade is older than this many hours. Defaults to 168h (7 days); 0 disables the freshness bound.
primary_dexenumOne of pumpfun, pumpswap, raydium, raydium_clmm, meteora, orca.
authority_revokedbooltrue requires BOTH mint and freeze authority revoked. false returns tokens with at least one authority live.
exclude_token2022booltrue excludes Token-2022 mints.
lp_burnedboolDeprecated. Matches only verified LP-custody evidence; unknown matches neither value. There is currently no Solana LP-custody writer, so do not use this as a safety gate.
deployer_tierenumOne of elite, good, moderate, rising, cold, unranked.
launchpadenumLaunchpad of origin — pumpfun, launchlab, or bags (distinct from primary_dex, since bags tokens trade on Meteora).
supply_burnboolFilter on the token-supply burn signal (separate from LP custody).
min_volume_1h_usdUSD floatFloor on organic (MEV-stripped) volume in the last hour.
max_mev_share_pct0–100Cap on the MEV share of cumulative tracked volume.
min_liq_mc_ratio / max_liq_mc_ratioratioBound liquidity relative to market cap. A conservative default minimum is applied unless you pass 0.
mc_change_1h_min_pct / mc_change_1h_max_pctpercentBand-pass filter on % MC change over the last hour.
sortenummc_desc, mc_asc, last_trade_desc, liquidity_desc, cumulative_volume_desc, mc_change_5m_desc, mc_change_1h_desc, volume_1h_desc, trending.
limit / offsetintUp to 100 per page, up to 10K offset.

min_volume_1h_usd, max_mev_share_pct, and mc_change_1h_* run DB-side too, against a read-time view that exposes the velocity metrics as sortable/filterable columns — no over-fetch. deployer_tier and launchpad are post-filters because they come from joined metadata. The current route scans candidate pages in sort order until it fills the requested result set, exhausts candidates, or reaches a scan/time budget. Read pagination.post_filtered, scan_truncated and next_offset rather than assuming one fixed over-fetch window.

Why a min_liq=2000 default

If you look at the long tail of token_prices, there are tens of thousands of tokens with absurd MC values that nobody trades — pools with $50 of liquidity but a stamped supply of one trillion, producing a phantom $5M MC. They're not interesting and they crowd the top of any naive MC sort. The default min_liq=2000 filters them out at the API layer.

For everyone except the most fringe sniper use case, leave the default in place. To explicitly include the phantom tokens (e.g., to audit them or to scan brand-new mints that haven't pooled yet), pass min_liq=0.

Response shape

{
  "tokens": [
    {
      "mint": "4k3Dyj...",
      "symbol": "PEPECAT",
      "name": "Pepe Cat",
      "price_usd": 0.00029,
      "market_cap_usd": 287_000,
      "fdv_usd": 290_000,
      "liquidity_usd": 14_200,
      "primary_dex": "pumpswap",
      "authorities_revoked": true,
      "lp_burned": true,
      "is_token_2022": false,
      "last_trade_time": "2026-05-14T11:42:17Z",
      "mc_change_5m_pct": 8.2,
      "mc_change_1h_pct": 41.7,
      "organic_volume_1h_usd": 81_000,
      "mev_share_pct": 18.4
    }
  ],
  "pagination": {
    "limit": 50,
    "offset": 0,
    "returned": 28,
    "has_more": false,
    "post_filtered": true
  },
  "filters": { "min_mc": 100000, "max_mc": 2000000, "min_liq": 5000, ... }
}

The filters echo is useful when debugging scanners — it tells you what the server actually applied, including the min_liq_default_applied: true flag when you didn't override the default.

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

Example: a momentum-aware safety scanner

Here's the eleven-filter query from the intro, in a single SDK call:

import { MadeOnSol } from "madeonsol";

const client = new MadeOnSol({ apiKey: process.env.MADEONSOL_API_KEY! });

async function safeMomentumScanner() {
  const { tokens } = await client.tokens.list({
    min_mc: 100_000,
    max_mc: 2_000_000,
    min_liq: 5000,
    active_h: 2,
    primary_dex: "pumpswap",
    authority_revoked: true,
    min_volume_1h_usd: 25_000,
    max_mev_share_pct: 25,
    mc_change_1h_min_pct: 30,
    sort: "mc_change_1h_desc",
    limit: 50,
  });

  return tokens.map((t) => ({
    symbol: t.symbol,
    mint: t.mint,
    mc: t.market_cap_usd,
    pct_1h: t.mc_change_1h_pct,
    vol_1h: t.organic_volume_1h_usd,
    mev: t.mev_share_pct,
  }));
}

In English: "PumpSwap-graduated tokens between $100K and $2M MC, with both authorities revoked, with at least $25K of clean organic volume in the last hour, MEV share below 25%, gained at least 30% in the last hour, traded in the last 2 hours."

Choose the cadence from your quota and use case rather than copying a 5-second loop. A request every 5 seconds is 17,280 calls/day — above PRO's 10,000/day allowance. A 30-second cadence is 2,880/day and fits PRO comfortably; higher-frequency scanners should use ULTRA/BUSINESS or event-driven feeds.

Picking the right sort

Nine sorts cover the obvious scanner patterns:

  • mc_desc — "biggest first." Default. Useful when you've banded MC and want the top movers in the band.
  • mc_asc — "smallest first." Pair with min_mc=50000 to scan fresh micro-caps without the dust tail.
  • last_trade_desc — "freshest tape." The best sort for entry signals — your top results are tokens that are actually trading right now.
  • liquidity_desc — "deepest first." For larger size; deepest pools take the best fills.
  • cumulative_volume_desc — "most-traded since we started tracking." Useful for liveness checks; a token at the top of this list is one with sustained interest, not a one-candle wonder.
  • mc_change_5m_desc / mc_change_1h_desc — direct momentum sorts, computed DB-side off the same velocity view the filters read from. This is the native pct_1h_desc view scanners used to have to fake with last_trade_desc + mc_change_1h_min_pct.
  • volume_1h_desc — "hottest tape right now" by organic 1h volume, distinct from cumulative_volume_desc.
  • trending — a composite rank (recent volume × positive momentum), recency-bounded so stale tokens can't camp at the top.

What's NOT in the filter set

Things you might expect to filter on but can't (today):

  • Holder count. Not a /tokens list filter — holder data is read live from the ledger per mint, not pre-indexed across 100K+ tokens. Once your scanner has narrowed the list, call GET /api/v1/tokens/{mint}/holders (PRO) for each candidate: it runs a full holder census and returns the exact holder_count, the top holders (pools, curves and burns excluded and named) and a concentration block (top10_share, deployer_pct, kol_pct, bundle_pct). The /tokens/{mint}/cap-table endpoint covers early-buyer quality, which is the other question holders are usually a proxy for.
  • Twitter / Telegram presence. No social-metadata index. Tokens with strong socials usually surface through volume and MC change anyway.
  • Deployer tier below a single label. deployer_tier (elite/good/moderate/rising/cold/unranked) is available as a post-filter on this endpoint, but it's a coarse label. For anything deeper than that — reading how a deployer's quality has changed over time — the deployer-hunter endpoints (/v1/deployer-hunter/recent-bonds, /v1/deployer-hunter/alerts) and our guide on the deployer trajectory API and reading a wallet's career arc are the right surface.
  • Bonded vs pre-bond on pump.fun. Filter on primary_dex=pumpfun for pre-bond and primary_dex=pumpswap for graduated. The bonding event always moves liquidity to PumpSwap, so the DEX flip is your signal.

Tier and rate limits

TierDaily quotaBurst/api/v1/tokens access
BASIC / Free200/day60/min— (403)
PRO10,000/day300/minyes, up to 100 rows
ULTRA100,000/day600/minyes, up to 100 rows
BUSINESS500,000/day3,000/minyes, up to 100 rows

/api/v1/tokens is PRO+; Enterprise inherits at least Business access with contract-specific limits.

Resources

Stop screen-scraping GMGN. Build the scanner you actually want, with exactly the filters that match your edge.

September 2026 refresh

The scanner guide now follows the live route instead of the May-era filter count. Important changes: active_h defaults to 7 days, liquidity-to-market-cap has its own plausibility gate, supply_burn is distinct from LP custody, and lp_burned is deprecated because there is currently no Solana LP-custody writer. The broken sort example was fixed, post-filter pagination now describes the scan contract, and the cadence section includes real quota math plus Business access.

Source: API reference and the live /api/v1/tokens route contract.

Tools mentioned

Compare features and read reviews.

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

Build a deployer sniper bot

Access deployer alerts, bonding stats, and tier data via API. Free tier: 200 requests/day.

Start free
import { MadeOnSol } from "madeonsol";

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

// Elite deployer alerts with KOL buy enrichment
const { alerts } = await client.deployer.alerts({ limit: 5 });

// Top deployers by bonding rate
const { deployers } = await client.deployer.leaderboard({ tier: "elite" });
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
DexScreener API Alternative: 5 Things It Can't Do (That MadeOnSol Can)

API Guides

DexScreener API Alternative: 5 Things It Can't Do (That MadeOnSol Can)

DexScreener's free API is a current-state read layer: a focused public endpoint set, no historical data, and no WebSocket. If you've hit those walls, here's what the MadeOnSol API gives you instead, and what each plan lets you build.

11 minMay 30, 2026
Solana Deployer API: Track 900K+ Token Creators by Bonding Rate

API Guides

Solana Deployer API: Track 900K+ Token Creators by Bonding Rate

The MadeOnSol Deployer Hunter API gives you programmatic access to 1.1M+ indexed Pump.fun token deployers (85K+ reputation-scored) by historical bonding rate, tier, and trajectory — plus real-time alerts when elite deployers launch. Here's the full endpoint surface.

10 minMay 30, 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
Pump.fun Deployer Alerts in Your Discord: Build the Bot in 5 Minutes

Developer Tools

Pump.fun Deployer Alerts in Your Discord: Build the Bot in 5 Minutes

Get a Discord embed the moment a proven Solana deployer — one with a real bonding track record on pump.fun or LaunchLab — launches a new token or one of their tokens bonds. This tutorial walks the open-source deployer-alert-discord-bot starter: zero dependencies, ~130 lines, a Discord webhook, and a free MadeOnSol API key.

4 minJuly 5, 2026
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
How to Find Pump.fun Tokens Before KOLs Tweet About Them (2026)

Guides

How to Find Pump.fun Tokens Before KOLs Tweet About Them (2026)

By the time a KOL tweets a pump.fun token, the best entry is already gone. The real edge is on-chain, before the announcement. Here's what the data shows about KOL timing — and how to use it.

11 minMay 31, 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