{"uid":"cap_Zu2b15-cjnJgT9GYR2QrC","slug":"marketing-contribution-return-distribution-histogram-14f5e5e9","name":"Marketing Contribution Return – Distribution Histogram","description":"Marketing contribution return - Distribution histogram: Bin up to 200 calculated observations into equal-width bins, including edge definitions. Metric: Marketing contribution return. Supplied figures only; returns JSON with formula, units and limitations. One of 50 calculators with 20 analysis modes. No live feed, financial advice or trade execution. 0.01 USDC includes one bounded distribution histogram report.","url":"https://market.datapackvibe.com/x402/assistant-finance-marketing-return-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":["attributed_contribution","marketing_spend"],"properties":{"marketing_spend":{"type":"number","default":5000,"maximum":1000000000000,"minimum":0,"description":"Amount in a consistent supplied currency and reporting period","exclusiveMinimum":0},"attributed_contribution":{"type":"number","default":8000,"maximum":1000000000000,"minimum":-1000000000000,"description":"Amount in a consistent supplied currency and reporting period"}},"additionalProperties":false},"default":[{"marketing_spend":5000,"attributed_contribution":8000},{"marketing_spend":5500,"attributed_contribution":8800},{"marketing_spend":5000,"attributed_contribution":8000},{"marketing_spend":5500,"attributed_contribution":8800}],"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_GJmd7G8rIxpGy2Qt-xfr1","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":"Bins up to 200 marketing contribution return observations into equal-width histogram bins, returning bin edges, counts, formula, units, and limitations as JSON.","exampleAgentPrompt":"I have 120 campaign records with marketing spend and attributed contribution values — can you bin them into 10 equal-width histogram buckets and show me the distribution of marketing contribution returns, including the bin edges and counts?","exampleUseCases":[{"title":"Campaign return distribution analysis","prompt":"I've got 80 marketing campaigns with their spend and attributed contribution figures. Can you split the marketing contribution returns into 8 equal-width bins so I can see how the returns are distributed and which range most campaigns fall into?"},{"title":"Quarterly marketing performance audit","prompt":"Here are 150 rows of quarterly marketing spend and attributed contribution data. Bin the contribution return values into 15 histogram buckets so I can see if the returns are concentrated in a narrow range or spread out — include the bin edge definitions."},{"title":"Comparing return spread across two product lines","prompt":"I have two batches of campaign data — 60 rows for product A and 60 rows for product B. For product A's data, create a 5-bin distribution histogram of marketing contribution returns so I can understand the spread before comparing it to product B."}],"resultDescription":"A JSON response containing the histogram bin definitions (lower and upper edges for each equal-width bin), the observation count per bin, the formula used to compute marketing contribution return, the units, and any stated limitations of the calculation. Up to 30 bins can be requested across up to 200 input observations.","failureModes":["Fewer than 2 rows supplied — minimum row count not met","More than 200 rows supplied — exceeds maximum input size","marketing_spend value of 0 or negative — excluded by exclusiveMinimum constraint","bins parameter outside 1–30 range — rejected by schema validation","Missing required fields attributed_contribution or marketing_spend in any row — validation error","Non-numeric values passed for spend or contribution — schema type mismatch"],"whenToPreferThis":"Choose this endpoint when you need a statistical frequency distribution (histogram) of marketing contribution return values across a batch of campaign observations — particularly when you want equal-width bin edges explicitly defined for downstream charting or reporting. Prefer it over raw batch calculation endpoints when the goal is understanding the shape and spread of the return distribution rather than individual record outputs.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-22T12:46:48.803Z","isFirstParty":false,"canonicalSlug":"marketing-contribution-return-distribution-histogram-14f5e5e9"}