Random Coin Flip
Coin Flip Endpoint
The Coin Flip endpoint provides a fun and easy way to flip a coin and get a very simply result!
Endpoint
URL:
https://api.erensko.xyz/v1/coin-flip
Method:
GET
Description: Flips a coin and gives a head or tails result.
URL Parameters
Key
Value
heads (optional)
The percentage chance for the coin to land on Heads.
tails (optional)
The percentage chance for the coin to land on Tails.
Headers
Key
Value
Authorization
Your own personal API key, create one by clicking here. This is required.
Request Example
Response (Random)
Response (Custom)
Last updated