{"uid":"cap_UdKfGw3g1UzlZr5oBfmFo","slug":"anokha-random-number-value-generator-689a132b","name":"Anokha Random Number & Value Generator","description":"Pay-per-call tools for AI agents: web to Markdown, PDF text, Markdown to PDF, charts, diagrams, QR, page publishing, DNS, RDAP, TLS. x402, USDC on Base, no API key.","url":"https://tools.anokha.space/v1/random?utm_source=zero.xyz","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","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","required":[],"properties":{"n":{"type":"integer"},"max":{"type":"integer"},"min":{"type":"integer"},"kind":{"enum":["int","float","uuid","hex","choice","shuffle"],"type":"string"},"bytes":{"type":"integer"},"items":{"type":"string"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"kind":"int","values":[4,1,6]}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_cv44ZBPcFajSkRSRQJ6hl","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Generates random integers, floats, UUIDs, hex strings, or shuffled/chosen items from a list via a pay-per-call API","exampleAgentPrompt":"Can you generate 5 random integers between 1 and 50 using the Anokha random tool?","exampleUseCases":[{"title":"Random lottery number picker","prompt":"Pick 6 random integers between 1 and 49 for my lottery ticket — no repeats, please shuffle them."},{"title":"Random UUID generation for testing","prompt":"I need 3 fresh random UUIDs to use as test record IDs in my database fixture."},{"title":"Randomly shuffle a choices list","prompt":"I have a list of contestants — Alice, Bob, Carol, Dave, Eve — can you shuffle them into a random order for the bracket draw?"}],"resultDescription":"Returns a JSON object with a 'kind' field indicating the type of randomness generated and a 'values' array containing the requested random items (integers, floats, UUIDs, hex strings, or reordered list elements).","failureModes":["Invalid 'kind' enum value returns a 400-level error","min greater than max for integer/float generation causes an error","Missing required 'n' parameter may return a default count or error depending on kind","Payment failure (x402) returns 402 Payment Required before any result is returned","Non-positive or zero byte count for hex generation may fail"],"whenToPreferThis":"Choose this endpoint when your agent needs lightweight, on-demand random value generation without managing an API key — particularly useful for UUID minting, sampling, shuffling, or generating bounded random numbers in a stateless, pay-per-call fashion using USDC on Base.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-01T12:50:33.949Z","isFirstParty":false,"canonicalSlug":"anokha-random-number-value-generator-689a132b"}