{"uid":"cap_nBY8DK2gDgwqryu70AAqN","slug":"mekong-trade-intel-crypto-secure-random-integer-hex-api-af4da7bb","name":"Mekong Trade Intel — Crypto-Secure Random Integer & Hex API","description":"Random number API for AI agents — crypto-secure random int + hex per call, $0.001 USDC on Base. Salts, nonces, lotteries, A/B assignment.","url":"https://api.mekongtradeintel.com/rand?utm_source=zero.xyz","method":"POST","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":["POST"],"type":"string"},"queryParams":{"type":"object","properties":{}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"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_EHna2eljzA8j5bfLavk6r","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 a cryptographically secure random integer and hex value per call, suitable for salts, nonces, lotteries, and A/B assignments.","exampleAgentPrompt":"Give me a crypto-secure random integer and hex value right now — I need it for a nonce in my signing flow.","exampleUseCases":[{"title":"Nonce generation for request signing","prompt":"I need a fresh cryptographically secure nonce — can you generate a random integer and hex value I can use to sign my next API request?"},{"title":"Lottery winner selection","prompt":"Pick a crypto-secure random number for our lottery draw right now — I need both the integer and hex output so we can verify fairness."},{"title":"A/B test group assignment","prompt":"Randomly assign this user to a test group using a crypto-secure random integer — give me the number so I can map it to a bucket."}],"resultDescription":"Returns a cryptographically secure random integer and a random hex string per call, suitable for use as salts, nonces, lottery picks, or A/B assignment seeds.","failureModes":["Payment not received or insufficient USDC balance causes 402 error","Malformed POST body missing required 'input' object returns validation error","Service temporarily unavailable returns 5xx with no random output","Network timeout with no response if upstream service is degraded"],"whenToPreferThis":"Prefer this endpoint when you need verifiably crypto-secure randomness (not pseudo-random) for security-sensitive applications like nonce generation, salts, or fair lotteries, and you are already operating in an x402/Base USDC micropayment environment. It is not suitable when you need large batches of random numbers cheaply, as per-call pricing applies.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-25T12:31:30.199Z","isFirstParty":false,"canonicalSlug":"mekong-trade-intel-crypto-secure-random-integer-hex-api-af4da7bb"}