{"uid":"cap_xt-I_wbbDCS2a5g9bTv3v","slug":"delx-random-choice-dceb792d","name":"Delx Random Choice","description":"Pick random items without replacement for $0.001 USDC. Call when you need this bounded result without an API key or subscription. Returns machine-readable JSON via x402 on Base or Solana. Limitation: results cover only the supplied input or one bounded public endpoint at request time; callers must verify before acting.","url":"https://api.delx.ai/api/v1/x402/random-choice?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_LF9xJuj9dGd_qNbXWwk9o","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":"Picks one or more random items from a provided list without replacement, returning the selected item(s).","exampleAgentPrompt":"Pick 3 random items without replacement from this list: ['Alice','Bob','Charlie','Diana','Eve','Frank'] — I need the selections to be truly random with no repeats.","exampleUseCases":[{"title":"Random winner selection from entries","prompt":"I have a list of 50 contest entrants — ['Jordan','Taylor','Morgan','Casey',...] — pick 3 winners at random without replacement so nobody gets selected twice."},{"title":"Random team assignment from roster","prompt":"From this roster of 12 players ['Alex','Sam','Jordan','Riley','Quinn','Drew','Blake','Cameron','Avery','Logan','Parker','Skyler'], randomly pick 5 for the red team, no repeats."},{"title":"Random daily task selection","prompt":"Here's my task backlog: ['fix login bug','write docs','refactor auth','update tests','review PR','deploy staging'] — randomly pick 2 tasks for me to focus on today, no duplicates."}],"resultDescription":"Returns the randomly selected item(s) drawn from the input list without replacement, meaning no item appears more than once in the result. The response includes the chosen items in array form.","failureModes":["Requesting more items than are available in the list (count exceeds list length)","Empty input list returns an error","Missing required fields (items list or count) returns a 400-level error","Payment failure or insufficient USDC balance prevents the call from completing","Malformed JSON body causes a request error"],"whenToPreferThis":"Use this endpoint when you need a lightweight, stateless, on-demand random selection without replacement from a list and don't want to implement your own PRNG or shuffle logic. Ideal for agents that need fair draws, winner selection, or random sampling as a micro-step in a larger workflow, especially in environments where a trusted external computation is preferable. At $0.001 USDC per call it's suitable for frequent use in automation pipelines.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-20T18:42:54.723Z","isFirstParty":false,"canonicalSlug":"delx-random-choice-dceb792d"}