{"slug":"api-solgiery-com-v1-random-choice-d28632","title":"Uniformly select one original index and item from the input array","host":"api.solgiery.com","method":"POST","resource":"https://api.solgiery.com/v1/random/choice","category":"market","description":"Uniformly select one original index and item from the input array. Equal values at different positions have separate chances. Uses the server OS CSPRNG. Returns consumed bytes for reproducible calculation, not proof of their origin. Price: 0.007 USDC per request, including the bounded batch.","price_listed":0.007,"price_asked":0.007,"state":"answering","state_label":"Answering","checks_7d":1,"answered_7d":1,"latency_ms_median":897,"reported_calls_30d":1,"reported_payers_30d":1,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"items":["a","b","c"]},"bodyType":"json","method":"POST","type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"description":"Unknown or duplicate parameters and null parameter values are rejected. JSON body: at most 65536 bytes, depth 16, and 4096 bytes per item. Repeated sample items together must fit 65536 bytes.","properties":{"items":{"items":{},"maxItems":1000,"minItems":1,"type":"array"}},"required":["items"],"type":"object"},"bodyType":{"enum":["json","form-data","text"],"type":"string"},"method":{"enum":["POST"],"type":"string"},"type":{"const":"http","type":"string"}},"required":["type","method","bodyType","body"],"type":"object"},"output":{"properties":{"example":{"additionalProperties":false,"properties":{"algorithm":{"const":"solgiery-random-v1","type":"string"},"entropy":{"additionalProperties":false,"properties":{"hex":{"maxLength":262144,"pattern":"^([0-9a-f]{2})*$","type":"string"},"source":{"const":"os-csprng","type":"string"}},"required":["source","hex"],"type":"object"},"result":{"additionalProperties":false,"properties":{"index":{"maximum":999,"minimum":0,"type":"integer"},"item":{}},"required":["index","item"],"type":"object"}},"required":["algorithm","result","entropy"],"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-09-24","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.007,"price_match":true,"latency_ms":897,"error":null}],"description_full":"Uniformly select one original index and item from the input array. Equal values at different positions have separate chances. Uses the server OS CSPRNG. Returns consumed bytes for reproducible calculation, not proof of their origin. Price: 0.007 USDC per request, including the bounded batch.","last_updated":"2026-09-13T16:47:04.155Z","schemes":["exact"]}