{"uid":"cap_V0bNefHudH_S-fOXCAvfs","slug":"solgiery-random-integer-generator-3bf4a5ab","name":"Solgiery Random Integer Generator","description":"Generate 1 to 1000 uniformly distributed random integers between min and max, inclusive. Both bounds are required; min must not exceed max. Repeated values are possible. 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.","url":"https://api.solgiery.com/v1/random/int","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["min","max"],"properties":{"max":{"type":"integer","maximum":9007199254740991,"minimum":-9007199254740991},"min":{"type":"integer","maximum":9007199254740991,"minimum":-9007199254740991},"count":{"type":"integer","default":1,"maximum":1000,"minimum":1}},"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.","additionalProperties":false}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","required":["algorithm","result","entropy"],"properties":{"result":{"type":"array","items":{"type":"integer","maximum":9007199254740991,"minimum":-9007199254740991},"maxItems":1000,"minItems":1},"entropy":{"type":"object","required":["source","hex"],"properties":{"hex":{"type":"string","pattern":"^([0-9a-f]{2})*$","maxLength":262144},"source":{"type":"string","const":"os-csprng"}},"additionalProperties":false},"algorithm":{"type":"string","const":"solgiery-random-v1"}},"additionalProperties":false}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.007","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.007/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.007","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.007","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_GjE1k8ZCVmoIIfuDNMCz1","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.007","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Generates 1 to 1000 uniformly distributed random integers between a specified min and max (inclusive) using a server-side CSPRNG","exampleAgentPrompt":"Can you generate 50 random integers between 1 and 100 using the Solgiery CSPRNG?","exampleUseCases":[{"title":"Lottery number picker","prompt":"Generate 6 random integers between 1 and 49 for my lottery ticket using a cryptographically secure source."},{"title":"Random game event seeds","prompt":"I need 200 random integers between -1000 and 1000 for seeding game events in my simulation."},{"title":"Random ID suffix batch","prompt":"Generate 1000 random integers between 10000 and 99999 so I can use them as unique numeric suffixes for test records."}],"resultDescription":"Returns a JSON object containing: an array of random integers (result) within [min, max], the entropy consumed as a lowercase hex string (entropy.hex), the entropy source identifier (os-csprng), and the algorithm name (solgiery-random-v1).","failureModes":["min exceeds max — request rejected with error","count outside 1–1000 range — rejected","min or max outside safe integer bounds (-9007199254740991 to 9007199254740991) — rejected","unknown or duplicate query parameters — rejected","null parameter values — rejected","payment not settled — 402 response before processing"],"whenToPreferThis":"Choose this endpoint when you need a batch of uniformly distributed random integers with a specific integer range and want server-side cryptographic randomness (OS CSPRNG) plus an entropy hex value for auditability. Prefer over client-side solutions when verifiable server randomness matters, or over UUID/coin-flip endpoints when you specifically need integers in a bounded range.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T06:44:04.227Z","isFirstParty":false}