{"slug":"flat-rate-llm-kikoribera03-workers-dev-v1-random-number-77950b","title":"Uniform random integers in any range you give, with or without repeats","host":"flat-rate-llm.kikoribera03.workers.dev","method":"GET","resource":"https://flat-rate-llm.kikoribera03.workers.dev/v1/random/number","category":"other","description":"Uniform random integers in any range you give, with or without repeats. Rejection sampling, so the ends of the range are not slightly less likely - which is what happens with modulo.","price_listed":0.0025,"price_asked":0.0025,"state":"answering","state_label":"Answering","checks_7d":1,"answered_7d":1,"latency_ms_median":20,"reported_calls_30d":2,"reported_payers_30d":1,"networks":["eip155:137","eip155:42161","eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"method":"GET","queryParams":{"count":1,"max":100,"min":1},"type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"method":{"enum":["GET"],"type":"string"},"queryParams":{"properties":{"count":{"description":"How many to draw, 1-100. Defaults to 1.","type":"number"},"max":{"description":"Highest value, inclusive. Defaults to 100.","type":"number"},"min":{"description":"Lowest value, inclusive. Defaults to 1.","type":"number"},"unique":{"description":"No repeats. Needs a range at least as wide as count.","type":"boolean"}},"required":[],"type":"object"},"type":{"const":"http","type":"string"}},"required":["type","method"],"type":"object"},"output":{"properties":{"example":{"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.0025,"price_match":true,"latency_ms":20,"error":null}],"description_full":"Uniform random integers in any range you give, with or without repeats. Rejection sampling, so the ends of the range are not slightly less likely - which is what happens with modulo.","last_updated":"2026-09-09T23:16:15.045Z","schemes":["exact"]}