{"uid":"cap_bZTOqlGNESOAr7fzNw09C","slug":"delx-commerce-random-integer-generator-40185bd0","name":"Delx Commerce Random Integer Generator","description":"Pay-per-result APIs for agents. No signup. Exact price. Verifiable delivery. USDC on Base + Solana via x402.","url":"https://commerce.delx.ai/api/v1/x402/random-int?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input","output"],"properties":{"input":{"type":"object","required":["type","bodyType","body"],"properties":{"body":{"type":"object","additionalProperties":true},"type":{"type":"string","const":"http"},"method":{"enum":["POST","PUT","PATCH"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type","example"],"properties":{"type":{"type":"string","const":"json"},"example":{"type":"object","additionalProperties":true}}}}},"responseSchema":{"type":"json","example":{}},"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_sBBCvk0kQND6BpsCxzLCl","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 random integer and returns it via a pay-per-result API using USDC micropayments on Base or Solana.","exampleAgentPrompt":"Give me a random integer using the Delx Commerce pay-per-result API — no signup needed, just pay with USDC.","exampleUseCases":[{"title":"Random lottery ticket number picker","prompt":"Pick a random integer for me to use as a lottery ticket number — use the Delx pay-per-result API so I get a verifiable result without having to sign up for anything."},{"title":"Agent workflow random branching","prompt":"My automation needs a random integer to decide which path to take next — can you call the Delx Commerce random-int endpoint and give me the result?"},{"title":"Fair random selection for giveaway","prompt":"I need a verifiably random integer to pick a winner for my giveaway — use the Delx Commerce API so the result is trustworthy and paid per call."}],"resultDescription":"A JSON object containing a randomly generated integer, returned after successful USDC micropayment ($0.001) via the x402 protocol on Base or Solana.","failureModes":["Payment not received or rejected — API returns 402 Payment Required if USDC payment is not provided","Malformed request body — returns 400 if required fields (type, bodyType, body) are missing","Insufficient funds in wallet — payment fails and endpoint is not called","Network or blockchain confirmation delay — payment may not settle instantly causing timeout","Invalid bodyType value — must be one of json, form-data, or text"],"whenToPreferThis":"Choose this endpoint when you need a quick, verifiable random integer without account registration, especially in agent workflows that already support x402 USDC micropayments on Base or Solana. Ideal for situations where auditability and pay-per-use pricing matter more than free-tier access.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-01T00:50:41.789Z","isFirstParty":false,"canonicalSlug":"delx-commerce-random-integer-generator-40185bd0"}