{"uid":"cap_R3OP55jZCeRPgPcJax2nE","slug":"rng-sociologic-ai-array-shuffle-a8e9ead8","name":"rng.sociologic.ai Array Shuffle","description":"Shuffle an array using Fisher-Yates algorithm (max 1000 items)","url":"https://rng.sociologic.ai/shuffle","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"items":{"type":"array","maxItems":1000,"description":"Array of items to shuffle (max 1000)"}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","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.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_gXm8nDx4Vopz6wWnrzzp-","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Shuffles an array of up to 1000 items using the cryptographically secure Fisher-Yates algorithm","exampleAgentPrompt":"Can you shuffle this list of names for me so I can assign random seating: Alice, Bob, Carol, David, Eve, Frank, Grace, Heidi?","exampleUseCases":[{"title":"Random raffle order selection","prompt":"I have a list of 50 contest entrants and need to shuffle them randomly to pick winners in order — here they are: [Alice, Bob, Carol, ...]. Can you shuffle the list?"},{"title":"Randomize quiz question order","prompt":"I have these 20 quiz questions and I want to shuffle them into a random order before sending to students so no one gets the same sequence."},{"title":"Shuffle playlist for a party","prompt":"Here's my playlist of 30 songs — shuffle them into a random order for tonight's party: [Song1, Song2, Song3, ...]"}],"resultDescription":"Returns the input array with all elements reordered in a cryptographically secure random permutation produced by the Fisher-Yates algorithm. The shuffled array contains exactly the same items as the input, just in a new random order.","failureModes":["Array exceeds 1000 items — returns a 400 error","Empty or missing items array — returns validation error","Payment not provided or insufficient — returns 402 Payment Required","Non-array input type — returns schema validation error"],"whenToPreferThis":"Use this endpoint when you need a cryptographically secure, unbiased random shuffle of an array (up to 1000 elements) and reproducibility is not required. Prefer this over client-side shuffles when you need verifiably random results not influenced by the calling environment, or when building agents that need server-side randomization they can trust.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T00:33:19.648Z","isFirstParty":false}