Quick start
No key, no sign-up. Every endpoint is GET, returns JSON and allows any origin (CORS *).
curl -s https://flopx.xyz/v1/index | jq '.gpus[] | {gpu, index}'
const r = await fetch("https://flopx.xyz/v1/index");
const { gpus } = await r.json();
const h100 = gpus.find((g) => g.gpu === "H100_SXM").index; // USD per GPU-hour
API reference
| Endpoint | Returns | Cache |
|---|---|---|
GET /v1/index | Latest index for every GPU, per-provider medians, 24h change, provider status | 30 s |
GET /v1/history/{gpu}?range= | [timestamp_ms, price] points. range: 24h (raw, 5 min), 7d (1 h buckets), 30d (4 h), 90d (12 h) | 60 s |
GET /v1/candles/{gpu}?interval= | OHLC candles [t, open, high, low, close, samples]. interval: 5m (last 24h), 1h (7d), 4h (30d), 1d (180d) | 60 s |
GET /v1/gpus | GPU catalog: id, label, VRAM, tier | 1 h |
GET /health | {"ok": true} | none |
Machine-readable spec: openapi.json (OpenAPI 3.1).
Objects
/v1/index
{
"updatedAt": "2026-12-01T17:00:09.000Z",
"method": 1,
"headline": "H100_SXM",
"providers": [{ "id": "akash", "name": "Akash Network", "ok": true, "observations": 8 }],
"gpus": [{
"gpu": "H100_SXM", "label": "H100 SXM", "vram": 80, "tier": "datacenter",
"index": 2.56, // USD per GPU-hour
"min": 2.56, "max": 2.56, // range of offers that passed filtering
"providers": 1, "offers": 64,
"byProvider": { "akash": 2.56 },
"change24h": -1.2 // percent, null until 24h of history exists
}]
}
/v1/history/{gpu}
{ "gpu": "H100_SXM", "range": "7d", "points": [[1796140800000, 2.56], …] }
GPU ids
B300 B200 H200 H200_NVL H100_SXM H100_PCIE H100_NVL A100_SXM A100_PCIE A100_40G MI300X L40S L40 A40 RTX_PRO_6000 RTX6000_ADA RTX5090 RTX4090 RTX3090. A GPU appears in /v1/index only when at least one source currently lists it.
Index method (v1)
- One unit. USD per single GPU per hour, on-demand. Spot (interruptible) offers and GPU slices (MIG) are excluded.
- Normalize. Provider names (“H100 80GB HBM3”, “h100 SXM5”) map to one catalog id.
- Clean. Per GPU and provider, offers below 0.25× or above 4× of that provider's median are dropped.
- One vote per provider. Each provider's remaining offers collapse to their median. The index is the median of provider medians, so a marketplace with hundreds of listings cannot outvote a cloud with one price.
- Verifiable. Every value ships with
byProvider, so anyone can recompute it. The code is open.
Data sources
Only feeds whose terms allow use in an index. Currently: Akash Network, Lium. Collected every 5 minutes.
| Source | Feed | Notes |
|---|---|---|
| Akash Network | Console API, GPU prices from on-chain provider bids | median per model, weighted by GPU count |
| Lium | Public nodes feed, built for aggregators and agents | secure tier only, spot skipped |
More providers are added only with their permission.
For AI agents
Point your agent at /llms.txt: a plain-text description of the API made for LLMs. A typed SDK and an MCP server are on the roadmap.
# what an agent should do 1. GET /v1/index 2. filter gpus by vram >= need 3. sort by index, cite byProvider and updatedAt in the answer
Limits & caching
Responses are edge-cached (see the table above). Data changes every 5 minutes, so polling more often than once a minute gains nothing. Please be reasonable; abusive traffic may be rate-limited.
Errors
| Status | Meaning |
|---|---|
400 | bad range |
404 | unknown GPU id or route |
405 | only GET is supported |
503 | no data collected yet |