{"uid":"cap_OYvGwKCKrTM9hYRsIdO-1","slug":"shannon-entropy-randomness-analyzer-b4aac9ad","name":"Shannon Entropy & Randomness Analyzer","description":"Calculate entropy and randomness characteristics of supplied data. Useful for Shannon entropy measurement, randomness analysis, information-density estimation, anomaly detection, compression analysis, token analysis, and machine-generated data inspection. Price: $0.002 USDC via x402 on Base.","url":"https://payanagent.com/x402/kh76jeas4yc9cz95f51525hann8dbynn","method":"POST","headers":{},"bodySchema":{"type":"object","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"type":"object","required":["input"],"properties":{"input":{"type":"string","description":"Text or serialized data for entropy, randomness, and information-density analysis."}}},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json"],"type":"string"}},"additionalProperties":false},"output":{"type":"object"}},"additionalProperties":true},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"registry","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_ozF4iQ90epJC2SFkmcpGX","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Calculates Shannon entropy and randomness characteristics of text or serialized data, useful for information-density estimation, anomaly detection, and machine-generated content inspection.","exampleAgentPrompt":"Can you calculate the Shannon entropy and randomness profile of this string: 'aBc3$kLm9pQr2!ZzXwVt' — I want to know how information-dense and random it looks?","exampleUseCases":[{"title":"Detect machine-generated token sequences","prompt":"I'm seeing some suspicious API keys in my logs — can you run an entropy analysis on this string 'a1b2c3d4e5f6a1b2c3d4e5f6a1b2c3d4' to tell me if it looks machine-generated or has unusually low randomness?"},{"title":"Assess password strength via entropy","prompt":"Before I store this generated password 'Tr0ub4dor&3xK!mZ', can you measure its Shannon entropy and information density so I know if it's actually strong?"},{"title":"Anomaly detection in log data","prompt":"I have a compressed log chunk that looks weird — can you analyze the entropy of this serialized string 'AAAAAABBBBBAAAAAABBBBB' and tell me if the randomness level suggests something unusual like repetition or data corruption?"}],"resultDescription":"Returns computed entropy and randomness metrics for the submitted text or data, including Shannon entropy value, information density estimation, and indicators useful for anomaly detection, compression analysis, and assessment of whether the data appears machine-generated or artificially structured.","failureModes":["Empty or missing 'input' field returns a validation error","Non-string body causes schema rejection","Payment failure via x402 returns 402 Payment Required","Extremely large input strings may be truncated or rejected","Malformed JSON body returns 400 Bad Request"],"whenToPreferThis":"Choose this endpoint when you need a quick, paid-per-call entropy and randomness measurement on a specific string or serialized payload — especially useful for security audits, anomaly detection pipelines, token analysis, or assessing compression potential without standing up your own information-theory library.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T00:52:48.414Z","isFirstParty":false}