# Delx Commerce Seeded Coin Flip

> Delx Commerce Seeded Coin Flip is a paid API for AI agents from commerce.delx.ai, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-01).

Performs a deterministic, seeded coin flip simulation for a given number of flips, returning heads/tails results with verifiable evidence and no data retention.

## Facts

- Endpoint: POST https://commerce.delx.ai/api/v1/x402/seeded-coin-flip?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-01
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/delx-commerce-seeded-coin-flip-52acb5f9
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_BijsefWuCCT9KjRFI3jMA

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability delx-commerce-seeded-coin-flip-52acb5f9 -d '<json body>'
```

Example prompt: Flip a coin 8 times using the seed 'morning42' and tell me how many heads and tails I get — I want results I can verify later.

## When to prefer this

Choose this endpoint when you need deterministic, reproducible coin flip results tied to a specific seed — especially when auditability and verifiability matter (e.g. agent decisions, contests, games). It is ideal for scenarios where you want proof that the result was computed fairly with no external calls and no data retained. Prefer it over true-random endpoints when reproducibility from the same seed is required, and over general LLM-generated randomness when you need a cryptographic evidence trail.

## Known failure modes

- Seed string exceeds 8192 character limit — request rejected
- Flips value is not an integer or is negative — malformed request error
- Payment in USDC not provided or insufficient — 402 Payment Required response
- Network or blockchain payment verification failure — transaction not confirmed
- Malformed JSON body — 400 Bad Request

## How this service works

Pay-per-result APIs for agents. No signup. Exact price. Verifiable delivery. USDC on Base + Solana via x402.

## Output

Returns a JSON object containing: an array of individual flip outcomes (e.g. ['heads','tails',...]), total heads count, total tails count, the operation schema identifier, a pass/fail status, and an evidence block with a SHA256 hash of the input, confirmation of no data retention, and zero external calls made — enabling full auditability of the result.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "seed": {
   "type": "string",
   "maxLength": 8192,
   "description": "Seed supplied to Seeded Coin Flip; used only for this bounded calculation and processed in memory without retention."
  },
  "flips": {
   "type": "integer",
   "description": "Flips supplied to Seeded Coin Flip; used only for this bounded calculation and processed in memory without retention."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "result": {
   "flips": [
    "heads",
    "heads",
    "heads",
    "heads",
    "tails",
    "tails",
    "tails",
    "heads"
   ],
   "heads": 5,
   "tails": 3
  },
  "schema": "delx/util-seeded-coin-flip/v1",
  "status": "pass",
  "evidence": {
   "retained": false,
   "input_sha256": "e2c71a78a4e46fc961d346ebdb850d06889aaf4b959c10e3a8ad8cdb0a10a036",
   "external_calls": 0
  },
  "operation": "seeded_decision:seeded_coin_flip"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/delx-commerce-seeded-coin-flip-52acb5f9/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from commerce.delx.ai](https://www.zero.xyz/host/commerce.delx.ai/llms.txt)
