{"uid":"cap_LSwJachxlQMz90ZFORAZR","slug":"x402-random-vercel-app-4ca2b7ce","name":"x402-random Random Number Generator","description":"Random Number Generation Service - Returns a random number within the specified range","url":"https://x402-random.vercel.app/api/random","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"max":{"type":"number","description":"Maximum value for random number (default: 100)"},"min":{"type":"number","description":"Minimum value for random number (default: 1)"}}},"responseSchema":{"type":"object","properties":{"cost":{"type":"string"},"range":{"type":"object","properties":{"max":{"type":"number"},"min":{"type":"number"}}},"network":{"type":"string"},"success":{"type":"boolean"},"timestamp":{"type":"string","format":"date-time"},"randomNumber":{"type":"number"}},"description":"Random number generation result"},"example":{"request":{"max":100,"min":1},"response":{"cost":"0.01 USDC","range":{"max":100,"min":1},"network":"base","success":true,"timestamp":"2026-06-13T04:14:00.551Z","randomNumber":64}},"exampleRequest":{"max":100,"min":1},"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_fDxta2e-vaoI4pckfWENo","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Generates a random number within a caller-specified numeric range, delivered via a micropayment-gated API","exampleAgentPrompt":"Pick a random number between 1 and 500 for me.","exampleUseCases":null,"resultDescription":"Returns a single random number that falls within the specified minimum and maximum range provided in the request.","failureModes":["Invalid range (min greater than max) — likely returns 400 Bad Request","Missing required range parameters — returns 400 with parameter error","Payment not provided or insufficient — returns 402 Payment Required","Service unavailable — returns 500 or timeout from Vercel serverless function"],"whenToPreferThis":"Use this endpoint when you need a random number generated server-side via a simple API call and are operating in an x402 micropayment context; suitable for lightweight randomization tasks where a $0.01 USDC cost per call is acceptable.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T18:39:41.366Z","isFirstParty":false}