{"slug":"market-datapackvibe-com-x402-assistant-finance-marketing-ret-15ea25","title":"Marketing contribution return","host":"market.datapackvibe.com","method":"POST","resource":"https://market.datapackvibe.com/x402/assistant-finance-marketing-return-weighted-mean","category":"code","description":"Marketing contribution return - Weighted result mean: Calculate a mean of up to 200 results using supplied nonnegative weights; not a pooled accounting ratio. Metric: Marketing contribution return. Supplied figures only; returns JSON with formula, units and limitations. One of 50 calculators with 20","price_listed":0.01,"price_asked":0.01,"state":"answering","state_label":"Answering","checks_7d":1,"answered_7d":1,"latency_ms_median":1207,"reported_calls_30d":2,"reported_payers_30d":2,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"rows":[{"attributed_contribution":8000,"marketing_spend":5000},{"attributed_contribution":8800,"marketing_spend":5500},{"attributed_contribution":8000,"marketing_spend":5000},{"attributed_contribution":8800,"marketing_spend":5500}],"weights":[1,2,1,2]},"bodyType":"json","method":"POST","type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"rows":{"default":[{"attributed_contribution":8000,"marketing_spend":5000},{"attributed_contribution":8800,"marketing_spend":5500},{"attributed_contribution":8000,"marketing_spend":5000},{"attributed_contribution":8800,"marketing_spend":5500}],"items":{"additionalProperties":false,"properties":{"attributed_contribution":{"default":8000,"description":"Amount in a consistent supplied currency and reporting period","maximum":1000000000000,"minimum":-1000000000000,"type":"number"},"marketing_spend":{"default":5000,"description":"Amount in a consistent supplied currency and reporting period","exclusiveMinimum":0,"maximum":1000000000000,"minimum":0,"type":"number"}},"required":["attributed_contribution","marketing_spend"],"type":"object"},"maxItems":200,"minItems":2,"type":"array"},"weights":{"default":[1,2,1,2],"items":{"default":1,"maximum":1000000000000,"minimum":0,"type":"number"},"maxItems":200,"minItems":2,"type":"array"}},"required":["rows","weights"],"type":"object"},"bodyType":{"enum":["json","form-data","text"],"type":"string"},"method":{"enum":["POST"],"type":"string"},"type":{"const":"http","type":"string"}},"required":["type","method","bodyType","body"],"type":"object"},"output":{"properties":{"example":{"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-10-04","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.01,"price_match":true,"latency_ms":1207,"error":null}],"description_full":"Marketing contribution return - Weighted result mean: Calculate a mean of up to 200 results using supplied nonnegative weights; not a pooled accounting ratio. 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 weighted result mean report.","last_updated":"2026-10-04T09:42:06.683Z","schemes":["exact"]}