Marketplace · API · x402

random.preflightstack.com/random-choice

Cryptographically secure random picker for 2-100 JSON choices. Use for low-stakes one-off random or weighted selection, unbiased tie-breaking, and sampling. Returns the selected value and index, request ID, and weight totals for audit logs. $0.001 USDC per paid request. Not for stable assignments, gambling, security tokens, or consequential decisions; outcomes are not provably fair.

Endpointhttps://random.preflightstack.com/random-choice
Trust100% uptime over 1 checks · ~516 ms
PricingPay per call with x402, no account. Call it to get an exact quote before paying.
networkeip155:8453
schemeexact
pay to0x9acdadcec881a63508c0f2CD3A4ae61149cc2500
methodPOST
last updated2026-10-29T17:21:00.991Z

Use it

Call it (an x402 client pays automatically)

curl -i https://random.preflightstack.com/random-choice
# 402 reply -> sign PAYMENT-REQUIRED with an x402 client (e.g. @x402/fetch) -> retry with PAYMENT-SIGNATURE

This listing as JSON

curl https://aipaygen.com/v1/catalog/api/x402-3f4a9907a68bb947

Search the whole marketplace from your agent (MCP)

{
  "mcpServers": {
    "aipaygen": {
      "url": "https://aipaygen.com/mcp"
    }
  }
}