{
  "x402Version": 2,
  "id": 231,
  "slug": "231",
  "resource": "https://coinflip402.vercel.app/api/coinflip",
  "description": "Flip a coin for a small USDC payment on Base mainnet. Returns heads or tails.",
  "type": "http",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0xb8c578e039Aa2c44dd3dEc48E6875ba5763CD67f",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "1000",
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "bazaar": {
      "info": {
        "input": {
          "method": "GET",
          "pathParams": {},
          "queryParams": {},
          "type": "http"
        },
        "output": {
          "example": {
            "message": "You flipped a coin and got heads!",
            "result": "heads",
            "timestamp": "2026-09-18T19:30:34.101Z"
          },
          "type": "json"
        }
      },
      "routeTemplate": ":var1",
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "method": {
                "enum": [
                  "GET"
                ],
                "type": "string"
              },
              "pathParams": {
                "type": "object"
              },
              "queryParams": {
                "properties": {},
                "type": "object"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    },
    "builder-code": {
      "info": {
        "a": "bc_kkwxelux"
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false,
        "properties": {
          "a": {
            "description": "App builder code",
            "pattern": "^[a-z0-9_]{1,32}$",
            "type": "string"
          },
          "s": {
            "description": "Service builder codes",
            "items": {
              "pattern": "^[a-z0-9_]{1,32}$",
              "type": "string"
            },
            "type": "array"
          },
          "w": {
            "description": "Wallet builder code",
            "pattern": "^[a-z0-9_]{1,32}$",
            "type": "string"
          }
        },
        "type": "object"
      }
    }
  },
  "tags": [
    "bazaar",
    "builder-code"
  ],
  "sourceHost": "coinflip402.vercel.app",
  "lastUpdated": "2026-09-18T21:25:12.796Z",
  "quality": {
    "calls30d": 158,
    "uniquePayers30d": 71,
    "lastCalledAt": "2026-09-18T18:16:31.157Z"
  },
  "liveness": {},
  "verified": false,
  "featured": false,
  "provider": {
    "host": "coinflip402.vercel.app",
    "manifest_name": "coinflip402.vercel.app",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-09-18T22:00:31.484Z"
  }
}