Open app

API reference

Markdown

List recent coinflip rounds

GET/v2/coinflips/recent

List recent played table rounds without owner or fairness data.

Authentication: None. This route is public.

#Response

200 returns an array of objects with:

  • id · string · required
  • round · integer · required
  • assetSymbol · string · required
  • atomicDecimals · integer (0–36) · required
  • stakeAtomic · string (atomic integer) · required — Positive base-10 integer in the asset’s atomic unit.
  • side · "cow" · "milk" · required
  • won · boolean · required
  • playedAt · string · required

Errors use the standard error envelope: branch on code, never on the message.

#Example

curl
curl 'https://api-beta.wagyu.xyz/v2/coinflips/recent'
JavaScript
const res = await fetch('https://api-beta.wagyu.xyz/v2/coinflips/recent'
);
const data = await res.json();
Python
import requests

res = requests.get('https://api-beta.wagyu.xyz/v2/coinflips/recent', timeout=30)
data = res.json()
Response · 200 · captured 4 Nov 2026, 08:24 UTC
[
  {
    "id": "468325",
    "round": 4,
    "assetSymbol": "ETH",
    "atomicDecimals": 18,
    "stakeAtomic": "8770301491165766",
    "side": "milk",
    "won": false,
    "playedAt": "2026-11-03T20:21:00.236Z"
  },
  {
    "id": "468321",
    "round": 3,
    "assetSymbol": "ETH",
    "atomicDecimals": 18,
    "stakeAtomic": "4385150745582883",
    "side": "milk",
    "won": true,
    "playedAt": "2026-11-03T20:20:52.736Z"
  }
]

Tip: every page is also plain Markdown, and /llms.txt indexes them for AI tools.