Solana rug check API

A contract check tells you a token can be sold. It does not tell you who holds it. Cookin answers the other half: how much supply sits with coordinated wallets, how many holders historically dump charts, and what the deployer's earlier launches did.

Read the docs Pay per call, no account

What you get back

FieldMeaning
bundles.owned_pct_supply Supply held by coordinated wallet groups.
score.dirty_pct Supply held by wallets Cookin classes as suspicious.
cohorts.sell_impact_pct Supply held by wallets whose exits historically nuke charts.
score.alpha_hands_pct Supply held by wallets that historically pick winners.
status.is_og False when the token reuses another token's name, image or socials.
ratings A green, yellow or red verdict per metric, so you can gate without maths.

One call

$ curl https://api.cookin.fun/v1/tokens/<mint>?fields=score,bundles,status,ratings

{
  "data": {
    "score": { "value": 2.3, "dirty_pct": 61.0, "alpha_hands_pct": 12.4 },
    "bundles": { "count": 4, "red_count": 2, "owned_pct_supply": 27.4 },
    "status": { "is_og": false, "duplication": { "image": true } },
    "ratings": { "score": "red", "bundle": "red", "dirty": "red" }
  }
}

Pay per call in USDC on Solana with x402, from $0.01 and no account, or use a Pro key at 1 SOL per 30 days. A call that errors is never charged. Full price list on the x402 page.

How it works

Every Pump.fun launch is tracked from its first trade. Holders are classified by what they did in previous tokens: did they hold, did they sell in seconds, did their exits move the price. The ratings apply the same thresholds the Cookin interface colours with, so an agent can decide without interpreting each number.

Ways to call it

  • REST, with a Pro key or an x402 payment. See the endpoint docs.
  • MCP, for Claude, Cursor or any MCP client: remote at https://api.cookin.fun/mcp, or locally with npx -y @cookinfun/mcp.
  • SDKs for Node and Python.
  • WebSocket for live trades and new launches, included with Pro. See frames:live.

Questions

Is this a honeypot or mint-authority check?

No, and it is not meant to replace one. Those check the contract. Cookin checks the people: coordinated supply, holder quality, deployer history. Use both.

How fast is the data?

Live. Trades arrive as they land on chain, and the snapshot reflects the token as it stands now, not a cached report.

Can an autonomous agent use it?

Yes. Pay per call with x402 and no account, or use the MCP server so Claude, Cursor or any MCP client can call it directly.

Related