{"uid":"cap_NkY-iaP5HRBp84Y2e6h1_","slug":"token-drawdown-from-peak-distribution-histogram-352dd326","name":"Token Drawdown from Peak — Distribution Histogram","description":"Token drawdown from supplied peak — Distribution histogram: Distribution histogram for Token drawdown from supplied peak. Supplied token observations only. Deterministic calculation or caller-threshold verdict, not a live scan, safety proof or trade recommendation. Specialised preset in a shared 50-profile, 20-operation engine. 0.01 USDC includes one bounded distribution histogram report.","url":"https://market.datapackvibe.com/x402/assistant-bx-token-drawdown-histogram?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"bins":{"type":"integer","default":5,"maximum":30,"minimum":1},"rows":{"type":"array","items":{"type":"object","required":["peak_price","current_price"],"properties":{"peak_price":{"type":"number","default":2,"maximum":10000000000000000,"minimum":0,"exclusiveMinimum":0},"current_price":{"type":"number","default":1.5,"maximum":10000000000000000,"minimum":0,"exclusiveMinimum":0}},"additionalProperties":false},"default":[{"peak_price":2,"current_price":1.5},{"peak_price":2.2,"current_price":1.6500000000000001},{"peak_price":2,"current_price":1.5},{"peak_price":2.2,"current_price":1.6500000000000001}],"maxItems":200,"minItems":2}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_yijK_G2s9bYBTuT84oZ5Q","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Computes a binned distribution histogram of drawdown percentages from supplied peak prices across a set of token price observations.","exampleAgentPrompt":"Can you give me a drawdown-from-peak distribution histogram for these 8 token observations — peak prices were 2.0, 2.2, 3.0, 1.8, 2.5, 2.0, 1.9, 2.3 and current prices are 1.5, 1.65, 2.1, 1.4, 1.8, 1.6, 1.5, 1.9 — split into 8 bins?","exampleUseCases":[{"title":"Portfolio drawdown spread analysis","prompt":"I have 20 token positions with their all-time-high prices and current prices — can you compute a histogram showing how the drawdowns are distributed across 10 bins so I can see whether most losses are clustered near 20% or spread out?"},{"title":"Risk bucketing for DeFi positions","prompt":"Here are 50 DeFi token observations with peak and current prices. Bucket the drawdown percentages into 5 bins and tell me how many positions fall into each drawdown range — I want to understand my exposure distribution."},{"title":"Comparing drawdown profiles across token batches","prompt":"I have two batches of token price data — for each batch, give me a drawdown-from-peak histogram with 7 bins so I can compare how similarly or differently the losses are distributed."}],"resultDescription":"A distribution histogram report showing how drawdown percentages (from supplied peak prices to current prices) are distributed across the requested number of bins. Each bin covers a range of drawdown values and reports the count (frequency) of token observations falling within that range, enabling statistical analysis of loss distribution across the dataset.","failureModes":["Fewer than 2 rows supplied — minimum 2 observations required","Peak price or current price is zero or negative — exclusiveMinimum:0 enforced","More than 200 rows submitted — maxItems limit exceeded","Bins parameter outside range 1–30","Malformed row objects missing peak_price or current_price fields","Payment not included or USDC balance insufficient for $0.01 fee"],"whenToPreferThis":"Choose this endpoint when you have a batch of token price observations (peak and current) and need a statistical frequency distribution — not just a single drawdown figure — to understand the shape and spread of losses. Ideal for portfolio risk profiling, DeFi position audits, or any scenario where you want to see how drawdowns cluster across a dataset rather than inspect individual values.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-15T18:48:18.771Z","isFirstParty":false,"canonicalSlug":"token-drawdown-from-peak-distribution-histogram-352dd326"}