Skip to content
PithLab

↑↓ to move · Enter to open · Esc to close

Coin Flip API

Flip one or more fair coins with a cryptographic random source, with head/tail counts and longest streaks.

POST /api/v1/tools/coin-flipMCP coin_flipGeneratorsRandom output

Flip a fair virtual coin, or up to 10,000 coins at once. See heads and tails counts, percentages, the longest streaks and a history of your flips.

Input

Send these as a JSON object. Unknown fields are rejected.

count
How many coins to flip (1 to 1000). (integer, 1 to 1000, default 1)
curl https://pithlab.com/api/v1/tools/coin-flip \n  -H "Authorization: Bearer $PITHLAB_KEY" \n  -H "Content-Type: application/json" \n  -d '{"count":10}'