Skip to content
Fourohtwo

flat-rate-llm.kikoribera03.workers.dev/v1/random/coinflip

Use when an agent must break a tie or split a test and cannot be seen to have chosen: one or more fair coins, each result and the tally of heads and tails, cryptographically random rather than Math.random. Do not use to pick among more than two options (/v1/random/pick) or to order a list (/v1/random/shuffle). No API key, no account.

BasePolygonArbitrumAnswering
GEThttps://flat-rate-llm.kikoribera03.workers.dev/v1/random/coinflip

Uptime100% of 4 checks in 30 days

30 days agoToday

Try it

Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.

The response shows up here.

Call it from an agent

// npm install fourohtwo
import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://flat-rate-llm.kikoribera03.workers.dev/v1/random/coinflip?count=1");
console.log(await res.json());

Example input

{
  "count": 1
}

More from Coin flipProvider status