Api Endpoint

CoinFlip Odds API

Flip a coin for a small USDC payment on Base mainnet. Returns heads or tails.

Open interactive test console

Offering

Provider
coinflip402.vercel.app
Method
GET
Offering type
Api Endpoint
Transport type
http
Category
Blockchain And Crypto
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://coinflip402.vercel.app/api/coinflip
MIME type
application/json
First seen
2026-10-16T01:50:06.715Z
Last seen
Tags
game, Random, fun

Payment pricing

x402 payment terms are the authoritative price for calling this endpoint.

Payment option 1
0.001 USDC
Atomic price: 1000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "1000",
    "payTo": "0xb8c578e039Aa2c44dd3dEc48E6875ba5763CD67f"
  }
]

Observed health

Status
Healthy
Latest latency
62 ms
Average latency
163 ms
HTTP status
402
Last checked
Reachability
100% over 15 checks

Latency is measured to the first response headers. A reachable result does not verify response accuracy or merchant identity.

Input schema

{
  "type": "object",
  "properties": {
    "type": {
      "type": "string",
      "const": "http"
    },
    "method": {
      "type": "string",
      "enum": [
        "GET"
      ]
    },
    "queryParams": {
      "type": "object",
      "properties": {}
    },
    "pathParams": {
      "type": "object"
    }
  },
  "required": [
    "type",
    "method"
  ],
  "additionalProperties": false
}

Output schema

{
  "type": "json",
  "example": {
    "result": "heads",
    "message": "You flipped a coin and got heads!",
    "timestamp": "2026-09-20T09:43:31.057Z"
  }
}