{"uid":"cap_wan2kH5nm8GqA0FIORvDE","slug":"basic-utils-agent-statistics-mode-75155303","name":"Basic Utils Agent – Statistics Mode","description":"A versatile utility agent offering calculator, statistics, datetime, and unit conversion services.","url":"https://basic-utils-agent.up.railway.app/statistics/mode","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"number"},"description":"List of numeric values for statistical analysis. Maximum length: 10000"}}},"responseSchema":{"type":"json","example":{"mode":[3]}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_HRx7EsS0KBlHnasKrxp8M","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Calculates the mode (most frequently occurring value(s)) from a list of numeric values","exampleAgentPrompt":"What is the mode of this dataset: [3, 1, 4, 1, 5, 9, 2, 6, 5, 3, 5]? I need to find which number appears most frequently.","exampleUseCases":[{"title":"Survey response frequency analysis","prompt":"I have survey results where respondents rated their satisfaction from 1 to 10: [7, 8, 9, 7, 6, 8, 7, 9, 7, 10, 8, 7]. What's the mode — which rating came up most often?"},{"title":"Finding most common test score","prompt":"Here are the scores from my class's quiz: [85, 90, 78, 90, 85, 90, 72, 85, 90, 88]. Can you calculate the mode to tell me which score occurred most frequently?"},{"title":"Inventory demand pattern detection","prompt":"These are the daily units sold for a product over the past two weeks: [12, 15, 12, 18, 12, 15, 20, 12, 18, 15, 12, 20, 15, 12]. Find the mode so I know the most typical daily demand."}],"resultDescription":"Returns a JSON object with a 'mode' field containing an array of the most frequently occurring value(s) in the input dataset. If multiple values tie for most frequent, all are returned in the array.","failureModes":["Empty array input may return an error or empty mode result","Extremely large arrays (over 10,000 elements) will be rejected","Non-numeric values in the array will cause a validation error","Malformed request body will return a 400-level error","All values equally frequent may return all values as mode or an empty result"],"whenToPreferThis":"Use this endpoint when you need a dedicated, fast, pay-per-call statistical mode computation without setting up your own math library. Ideal for AI agents that need on-demand descriptive statistics as part of a larger data analysis workflow, particularly when the agent does not have native math capabilities. Supports up to 10,000 data points per call, making it suitable for moderate-sized datasets.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T12:40:45.856Z","isFirstParty":false}