MEV cache host leaderboard
https://api.triport.io/v1/sol/intel/mev-cache/leaderboard?window=5m&limit=10Returns the top Solana MEV-cache hosts ranked by cache hit rate (hits/sec) over a chosen time window.
The MEV-cache leaderboard exposes competitive-intelligence telemetry about the
Solana MEV-cache hosts that Triport observes. Each row reports a host together
with its cache hit rate — the per-second rate of cache hits computed as a
delta over the requested window — and the timestamp the host was last seen.
Use this endpoint to identify the most active hosts at a glance and to drive
dashboards or alerting that track shifts in MEV-cache activity. Because the rate
is a delta over a window, a longer window smooths short spikes while a shorter
one reacts faster to recent bursts.
This is an enterprise competitive-intelligence surface and requires the
sol_mev_intel scope on a business-or-above plan. For a flat list of all
known hosts see MEV cache hosts; for a single host's
current metrics or time-series see the host snapshot and series endpoints.
Parameters
All parameters are query-string parameters.
windowstringoptional5m, 15m, 1h. Default 5m.limitintegeroptional1–100. Default 10.Response
200 OK — a JSON array of leaderboard rows, ordered by hits_per_sec
(highest first).
hoststringhits_per_secnumber (double, ≥ 0)window. Required.last_seenstring (date-time)Errors
| Code | Meaning | When it happens |
|---|---|---|
401 | unauthorized / trial_expired / subscription_expired | Missing, invalid, or expired credentials. |
403 | tier_insufficient / method_unknown | The key's tier is below business, or it lacks the sol_mev_intel scope. |
429 | rate_limited | Sustained RPS for the tier exceeded; honor the Retry-After header before retrying. |
All errors use the shared envelope (error, message, request_id). See
Errors for the full envelope and per-code fields, and
Rate limits for the RPS / burst model.
Examples
JavaScript (fetch)
const params = new URLSearchParams({ window: "5m", limit: "10" });
const res = await fetch(
`https://api.triport.io/v1/sol/intel/mev-cache/leaderboard?${params}`,
{
headers: {
Authorization: `Bearer ${process.env.TRIPORT_API_KEY}`,
},
}
);
if (!res.ok) throw new Error(`HTTP ${res.status}`);
const rows = await res.json();
for (const row of rows) {
console.log(`${row.host}: ${row.hits_per_sec.toFixed(1)} hits/s`);
}TypeScript SDK (@triport/sdk)
import { TriportClient } from "@triport/sdk";
const client = new TriportClient({ apiKey: process.env.TRIPORT_API_KEY });
const rows = await client.sol.mevIntel.leaderboard({
window: "5m",
limit: 10,
});
rows.forEach((row) => {
console.log(`${row.host}: ${row.hits_per_sec.toFixed(1)} hits/s`);
});Python (triport-sdk)
import os
from triport import TriportClient
client = TriportClient(api_key=os.environ["TRIPORT_API_KEY"])
rows = client.sol.mev_intel.leaderboard(window="5m", limit=10)
for row in rows:
print(f"{row.host}: {row.hits_per_sec:.1f} hits/s")Notes
- Rows are returned ordered by
hits_per_secdescending;limitcaps the number of rows (1–100, default 10). hits_per_secis a delta-rate overwindow, not a cumulative counter — a host that stops serving will trend toward0as the window rolls forward.- A newly seen host may report
last_seenbut a low or zerohits_per_secuntil at least one fullwindowof samples has accrued. - Related endpoints: MEV cache hosts (distinct hosts + sample counts), MEV cache host snapshot (all current metrics for one host), and MEV cache host series (time-series for a single metric).