{"slug":"market-datapackvibe-com-x402-assistant-finance-gross-margin-8a4512","title":"Gross margin","host":"market.datapackvibe.com","method":"POST","resource":"https://market.datapackvibe.com/x402/assistant-finance-gross-margin-weighted-mean","category":"code","description":"Gross margin - Weighted result mean: Calculate a mean of up to 200 results using supplied nonnegative weights; not a pooled accounting ratio. Metric: Gross margin. Supplied figures only; returns JSON with formula, units and limitations. One of 50 calculators with 20 analysis modes. No live feed, fin","price_listed":0.01,"price_asked":0.01,"state":"answering","state_label":"Answering","checks_7d":1,"answered_7d":1,"latency_ms_median":1145,"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":[{"gross_profit":2000,"revenue":10000},{"gross_profit":2200,"revenue":11000},{"gross_profit":2000,"revenue":10000},{"gross_profit":2200,"revenue":11000}],"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":[{"gross_profit":2000,"revenue":10000},{"gross_profit":2200,"revenue":11000},{"gross_profit":2000,"revenue":10000},{"gross_profit":2200,"revenue":11000}],"items":{"additionalProperties":false,"properties":{"gross_profit":{"default":2000,"description":"Amount in a consistent supplied currency and reporting period","maximum":1000000000000,"minimum":-1000000000000,"type":"number"},"revenue":{"default":10000,"description":"Amount in a consistent supplied currency and reporting period","exclusiveMinimum":0,"maximum":1000000000000,"minimum":0,"type":"number"}},"required":["gross_profit","revenue"],"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":1145,"error":null}],"description_full":"Gross margin - Weighted result mean: Calculate a mean of up to 200 results using supplied nonnegative weights; not a pooled accounting ratio. Metric: Gross margin. 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-04T08:55:20.253Z","schemes":["exact"]}