API reference

Playground

Every endpoint in the read API, callable from this page. Requests go to https://www.roundhouse.studio/api/v0 — the same URL your code will use, on this origin, so nothing needs configuring first.

get/v0/flows

Live flow of funds

The newest settlements across every indexed chain, payer to payee. This is the same feed the /flows page renders.

Rows to return. Clamped to 100; values outside the range are clamped, not rejected.

Opaque cursor from a previous response's next_before. It encodes the whole sort key, tiebreaker included, so a page boundary inside a group of rows sharing a timestamp does not skip the rest. Do not parse it or build one by hand.

Sent as a bearer token, from your browser to this origin only. It is never recorded — not in analytics, not in session replay. Reads work without one; a key raises the SQL rate limit.

/api/v0/flows?limit=50
curl
curl -sL "/api/v0/flows?limit=50"
response

Send a request to see the response.

Not callable from here

These need a signed payment, which this page deliberately does not hold a wallet for.

  • get/v0/test/x402

    A real paywalled resource. Called without payment it answers 402 with standard x402 requirements, which is the cheapest way to see a live challenge. Pay it and it mints a trial API key raising the SQL limit to 240 queries/minute for 30 days. It also advertises KYA and accepts a memo in X-PAYMENT-MEMO.

Walk one end to end in your first x402 payment.