RonkeRONKEVERSE
$RONKElive ↗

Ronke Score API

Read the Ronke Score, holdings, badges, and Ronkeverse rarity from your own game, bot, or site. Public, free, no key required, read-only.

Read this first

The data is a daily snapshot

Everything here is rebuilt twice a day (from 06:17 and 12:43 UTC) and does not change in between. meta.as_of tells you which rebuild you are looking at. A player who buys $RONKE will not see their score move until the next rebuild, so do not poll this every minute and do not treat it as live chain state.

A wallet with no score is not an error

Wallets scoring zero are never stored, so an unknown wallet returns 200 with found:false, score 0, and rank null. Treat that as "no standing yet", not as a failure - otherwise every new player sees an error screen. rank is null rather than last place, because unranked and genuinely-last are different facts.

Building with an AI assistant?

Point it at /llms.txt. That is this entire reference - every endpoint, the caveats above, worked examples, and the error table - as one plain-text document written for a model to read. Paste the URL into Claude (or let an agent fetch it) and it has everything it needs to write a correct integration.

# Hand the whole API reference to a coding agent:
curl https://ronke-score-nine.vercel.app/llms.txt

# ...or just paste that URL into the chat.

Quick start

Every response is { data, meta }. Errors are { error: { code, message } }. CORS is open, so you can call this straight from a browser.

const res = await fetch(
  "https://ronke-score-nine.vercel.app/api/v1/score/0x36175b2c13e39de1a79583fa3476d124dc8dfb70"
);
const { data, meta } = await res.json();

// score, rank and percentile all come back. Build on whichever
// fits your design - and name your own tiers. We don't ship tier
// bands, because your game knows how many ranks it wants.
data.score;       // 4820   - what holders recognise
data.rank;        // 312    - null if the wallet has no score
data.percentile;  // 94.9   - out of meta.population scored wallets

console.log(data.score, data.rank, data.percentile, "as of", meta.as_of);

Checking a whole lobby or Discord guild? Use the batch endpoint - up to 50 wallets per request, so a few hundred members is a handful of calls, not hundreds.

// One request, one cache entry - not 40 lookups.
const wallets = [...guildMembers].sort();          // sort = better cache hits
const res = await fetch(`https://ronke-score-nine.vercel.app/api/v1/scores?addresses=${wallets.join(",")}`);
const { data } = await res.json();

for (const s of data.scores) {
  // found:false just means "no score yet" - never an error.
  await setRole(s.address, s.rank != null && s.rank <= 500 ? "og" : "member");
}

Running a periodic re-check to prune roles from people who sold? Pull the whole scored set once and diff it locally. Watch meta.as_of so you only do the work when there is actually new data - the rebuild runs once a day, so a faster poll interval buys you nothing.

// Only re-check when there IS new data. The rebuild runs once a
// day, so polling faster than that just burns requests.
let applied = null;

setInterval(async () => {
  // Cheap gate: has anything been rebuilt since we last acted?
  const meta = await (await fetch("https://ronke-score-nine.vercel.app/api/v1/meta")).json();
  if (meta.data.as_of === applied) return;

  const dump = await (await fetch("https://ronke-score-nine.vercel.app/api/v1/scores/all")).json();

  // Trust the DUMP's own as_of, not /meta's. They are cached separately, so
  // right after a rebuild /meta can report fresh data while the dump is still
  // serving the previous one. Skipping here just retries on the next tick.
  if (dump.meta.as_of !== meta.data.as_of) return;

  // Never prune on a partial set - you would strip roles from everyone
  // who happened to fall outside it.
  if (!dump.data.complete) return;

  const byAddress = new Map(dump.data.scores.map((s) => [s.address, s]));
  for (const member of guildMembers) {
    const s = byAddress.get(member.address.toLowerCase());
    // Absent = no score at all. That's your cue to remove the role.
    await setRole(member, s != null && s.rank <= 500 ? "og" : null);
  }
  applied = dump.meta.as_of;
}, 30 * 60 * 1000);

Endpoints

GET/api/v1/score/{address}cached 1h

One wallet's Ronke Score

Score, sub-scores, full points breakdown, rank, and percentile for a single wallet. A wallet with no score returns 200 with found:false and score 0 - not a 404 - because wallets scoring zero are never stored.

Parameters

  • address (path, required) - A 0x wallet address, or a .ron name that has been seen by the nightly sync. Names that have never held a Ronke asset are not resolvable - use the address.

Example response

{
  "data": {
    "address": "0x36175b2c13e39de1a79583fa3476d124dc8dfb70",
    "name": "ronke.ron",
    "found": true,
    "score": 4820,
    "rank": 312,
    "percentile": 94.9,
    "subscores": {
      "ronke": 1200,
      "ronkestr": 620,
      "nft": 3000,
      "units": 66,
      "staking": 0
    },
    "breakdown": {
      "collector_points": 450,
      "oneofone_count": 1,
      "units_count": 5,
      "…": "…"
    }
  },
  "meta": {
    "as_of": "2026-08-06T07:10:00.000Z",
    "api_version": "v1",
    "score_version": "v1-3f9a2c11",
    "population": 6112
  }
}
GET/api/v1/scorescached 1h

Many wallets' scores in one request

Batch lookup for up to 50 addresses. Results come back in the order you asked, including duplicates, so you can zip them onto your request list. Use this instead of looping the single endpoint - it is one database round-trip and one cache entry.

Parameters

  • addresses (query, required) - Comma-separated 0x addresses, max 50. .ron names are not accepted here. Sort them for the best cache hit rate. One malformed address rejects the whole request rather than silently returning fewer results.

Example response

{
  "data": {
    "scores": [
      {
        "address": "0x1111…",
        "found": true,
        "score": 4820,
        "rank": 312,
        "percentile": 94.9
      },
      {
        "address": "0x2222…",
        "found": false,
        "score": 0,
        "rank": null,
        "percentile": null
      }
    ],
    "count": 2
  },
  "meta": {
    "as_of": "2026-08-06T07:10:00.000Z",
    "population": 6112,
    "…": "…"
  }
}
GET/api/v1/scores/allcached 1h

Every scored wallet, in one response

The whole scored set, compact - address, score, rank, percentile. Built for periodic re-checks (pruning roles from members who sold) where you need to see everyone at once. Roughly 6,200 rows today. Check the complete flag rather than assuming a 200 means you got everything. Wallets with no score are absent, not listed with score 0 - the same meaning as found:false on the single-wallet endpoint. Every current Ronkeverse NFT holder is included. Cached for an hour rather than 15 minutes - the data only changes once a day, and this is the one response where a cache miss is expensive. Read meta.as_of off this response to know exactly which rebuild you are holding; do not assume it matches what /meta reported, since the two are cached separately.

Example response

{
  "data": {
    "scores": [
      {
        "address": "0xf0229d…",
        "score": 8012,
        "rank": 1,
        "percentile": 99.98
      },
      {
        "address": "0xfeae9f…",
        "score": 6590,
        "rank": 2,
        "percentile": 99.97
      }
    ],
    "count": 6199,
    "complete": true
  },
  "meta": {
    "as_of": "2026-08-06T07:10:00.000Z",
    "population": 6199,
    "…": "…"
  }
}
GET/api/v1/leaderboardcached 1h

Top wallets by Ronke Score

Ranked entries with score, rank, percentile, and sub-scores. limit and offset are hard-capped; exceeding either is a 400 rather than a silent clamp, so you never page against a truncated window without knowing it.

Parameters

  • limit (query, optional, default 25) - Rows to return, 1-100.
  • offset (query, optional, default 0) - Rows to skip, max 5000.

Example response

{
  "data": {
    "entries": [
      {
        "address": "0x1111…",
        "name": "ronke.ron",
        "score": 8830,
        "rank": 1,
        "percentile": 99.98,
        "subscores": {
          "ronke": 3200,
          "ronkestr": 1100,
          "nft": 4530,
          "units": 0,
          "staking": 0
        }
      }
    ],
    "count": 1,
    "limit": 25,
    "offset": 0
  },
  "meta": {
    "as_of": "2026-08-06T07:10:00.000Z",
    "population": 6112,
    "…": "…"
  }
}
GET/api/v1/wallet/{address}cached 1h

What a wallet actually holds

Per-asset balances and holding behaviour, held Ronkeverse token IDs with rarity, and earned badges. Use balance_raw (exact base units, a string) for anything numeric - balance_whole is a convenience float and is lossy at large balances.

Parameters

  • address (path, required) - A 0x wallet address, or a .ron name that has been seen by the nightly sync. Names that have never held a Ronke asset are not resolvable - use the address.

Example response

{
  "data": {
    "address": "0x36175b2c13e39de1a79583fa3476d124dc8dfb70",
    "found": true,
    "holdings": [
      {
        "asset": "ronke_token",
        "label": "$RONKE",
        "balance_raw": "1500000000000000000000000000",
        "balance_whole": 1500000000,
        "token_count": 0,
        "is_held": true,
        "duration_days": 210,
        "diamond_bucket": "diamond",
        "never_sold": true
      }
    ],
    "nfts": [
      {
        "token_id": "777",
        "rarity_rank": null,
        "tier": "community_1of1",
        "image_url": null
      }
    ],
    "badges": [
      {
        "key": "diamond_hands",
        "tier": null,
        "context": {}
      }
    ]
  },
  "meta": {
    "as_of": "2026-08-06T07:10:00.000Z",
    "…": "…"
  }
}
GET/api/v1/nft/{tokenId}cached 24h

One Ronkeverse token

Rarity rank, tier, traits with collection-wide probability, image, and current owner. 1/1 tokens carry a tier and a null rarity_rank on purpose - they sit outside the standard 1..N rarity ladder rather than at the top of it.

Parameters

  • tokenId (path, required) - Ronkeverse token id, 1-6969.

Example response

{
  "data": {
    "token_id": "42",
    "rarity_rank": 31,
    "tier": "standard",
    "traits": [
      {
        "trait_type": "Body",
        "value": "GoldRonke",
        "probability": 0.0102
      }
    ],
    "owner": {
      "address": "0x1111…",
      "name": "ronke.ron"
    }
  },
  "meta": {
    "as_of": "2026-08-06T07:10:00.000Z",
    "…": "…"
  }
}
GET/api/v1/configcached 1h

The live scoring rules

Weights, curves, gates, diamond thresholds, and the plain-English explainer, serialized from the config the scorer actually runs. Render your "how to rank up" copy from this rather than hardcoding your own copy, which can drift out of date.

Example response

{
  "data": {
    "score": {
      "ronke": {
        "holdWeight": 150
      },
      "gate": {
        "minRonke": 50000
      },
      "…": "…"
    },
    "diamond_thresholds": {
      "diamondDays": 30,
      "sellTolerancePct": 0.1,
      "…": "…"
    },
    "explainer": {
      "headline": "How the Ronke Score works",
      "…": "…"
    }
  },
  "meta": {
    "score_version": "v1-3f9a2c11",
    "…": "…"
  }
}
GET/api/v1/statscached 1h

State of the Ronkeverse

Holder counts, DEX prices, supply and burn figures per token, NFT volume, and badge totals. Market and supply fields degrade to null rather than failing the request.

Example response

{
  "data": {
    "ronke_token": {
      "holders": 8003,
      "price_usd": 0.00029,
      "supply": {
        "minted": 1000000000,
        "circulating": 869394568,
        "burned_pct": 0.1306
      }
    },
    "ronkeverse_nft": {
      "holders": 1200,
      "volume_7d_wron": 415
    }
  },
  "meta": {
    "as_of": "2026-08-06T07:10:00.000Z",
    "…": "…"
  }
}
GET/api/v1/metacached 5 min

Freshness, versions, and indexed contracts

When the data was last rebuilt, how many wallets are scored, the rebuild schedule, and the exact contract addresses this API indexes. Doubles as a health check.

Example response

{
  "data": {
    "as_of": "2026-08-06T07:10:00.000Z",
    "scored_population": 6112,
    "rebuild_schedule_utc": "17 6 * * *",
    "chain": "ronin",
    "contracts": [
      {
        "asset": "ronke_token",
        "label": "$RONKE",
        "address": "0xf988f63bf26c3ed3fbf39922149e3e7b1e5c27cb",
        "standard": "erc20",
        "decimals": 18
      }
    ]
  },
  "meta": {
    "…": "…"
  }
}

Errors

CodeHTTPMeaning
invalid_address400Not a 0x address (or not a .ron name).
invalid_param400A query parameter was malformed or over its cap.
invalid_token_id400Token id outside 1-6969.
name_not_resolved404That .ron name is not in our cache. Use the 0x address.
too_many_addresses400Batch request over the 50-address cap.
not_found404No such indexed Ronkeverse token.
not_configured503Server-side database not configured.
internal500Something failed our side. Retry.

Rate limits, versioning, and support

  • No API key. Responses are cached at the edge, so ordinary use costs us nothing. Be reasonable: cache on your side too, and remember the data only changes once a day.
  • Versioning. Breaking changes ship under a new path (/api/v2, and so on). v1 keeps serving for at least 90 days after any successor is announced. Additive fields can appear in v1 at any time, so parse defensively and ignore keys you do not recognise.
  • Machine-readable spec. /api/v1/openapi.json