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.
| Endpoint | https://random.preflightstack.com/random-choice |
| Trust | 100% uptime over 1 checks · ~516 ms |
| Pricing | Pay per call with x402, no account. Call it to get an exact quote before paying. |
| network | eip155:8453 |
| scheme | exact |
| pay to | 0x9acdadcec881a63508c0f2CD3A4ae61149cc2500 |
| method | POST |
| last updated | 2026-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-SIGNATUREThis listing as JSON
curl https://aipaygen.com/v1/catalog/api/x402-3f4a9907a68bb947Search the whole marketplace from your agent (MCP)
{
"mcpServers": {
"aipaygen": {
"url": "https://aipaygen.com/mcp"
}
}
}