{"slug":"api-solgiery-com-v1-random-sample-ddac2f","title":"Select count items as an ordered sample","host":"api.solgiery.com","method":"POST","resource":"https://api.solgiery.com/v1/random/sample","category":"market","description":"Select count items as an ordered sample. replace defaults to false: each original index may occur once and count must not exceed the input length. With replace=true, draws are independent and indices may repeat. Uses the server OS CSPRNG. Returns consumed bytes for reproducible calculation, not proo","price_listed":0.007,"price_asked":0.007,"state":"answering","state_label":"Answering","checks_7d":1,"answered_7d":1,"latency_ms_median":927,"reported_calls_30d":1,"reported_payers_30d":1,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"count":2,"items":["a","b","c"],"replace":false},"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":{"count":{"maximum":1000,"minimum":1,"type":"integer"},"items":{"items":{},"maxItems":1000,"minItems":1,"type":"array"},"replace":{"default":false,"type":"boolean"}},"required":["items","count"],"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":{"items":{"additionalProperties":false,"properties":{"index":{"maximum":999,"minimum":0,"type":"integer"},"item":{}},"required":["index","item"],"type":"object"},"maxItems":1000,"minItems":1,"type":"array"}},"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":927,"error":null}],"description_full":"Select count items as an ordered sample. replace defaults to false: each original index may occur once and count must not exceed the input length. With replace=true, draws are independent and indices may repeat. 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:07.622Z","schemes":["exact"]}