{"uid":"cap_ee1jawYMnYjF9hQrbfy-A","slug":"datavault-random-string-generator-fd6446b8","name":"DataVault Random String Generator","description":"54 endpoints spanning local tools, live data feeds, and AI-powered text processing. Pay-per-call with USDC on Base.","url":"https://zetdatavault.vercel.app/api/random-string","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"length":{"type":"integer"},"encoding":{"type":"string"}}},"responseSchema":{"type":"object","properties":{"data":{"type":"object"},"success":{"type":"boolean"}}},"example":null,"exampleRequest":null,"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_IXkkR-YfJ14D7bpocrsGi","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Generates a cryptographically random string of a specified length and encoding on demand.","exampleAgentPrompt":"Generate a random string that is 32 characters long using hex encoding.","exampleUseCases":[{"title":"Secure session token generation","prompt":"Create a random token for a new user session that's 64 characters long and hex-encoded so it's cryptographically secure."},{"title":"API nonce for request authentication","prompt":"I need a fresh random nonce that's 32 characters in base64 encoding to include in my API request headers."},{"title":"Test data generation for QA","prompt":"Generate me a batch of random identifiers—make them 16 characters each in alphanumeric format so I can use them as mock user IDs for testing."}],"resultDescription":"Returns a JSON object with a 'success' boolean and a 'data' object containing the generated random string of the requested length and encoding.","failureModes":["Invalid encoding type specified — returns error or unexpected output","Length parameter missing or zero — may return empty or error","Payment not completed — 402 response blocking access","Server-side generation failure — success: false with no data"],"whenToPreferThis":"Choose this endpoint when you need a quick, pay-per-call random string generation without setting up your own RNG infrastructure. Useful for generating tokens, nonces, session IDs, or test data on demand with configurable length and encoding.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T18:48:04.006Z","isFirstParty":false}