{"uid":"cap_4djoFNBfwpbbJQ8EDbYdL","slug":"marketing-contribution-return-ordered-trend-analysis-e52a142c","name":"Marketing Contribution Return – Ordered Trend Analysis","description":"Marketing contribution return - Ordered trend analysis: Fit a descriptive straight-line trend to up to 200 equally spaced supplied observations; no forecast. 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 ordered trend analysis report.","url":"https://market.datapackvibe.com/x402/assistant-finance-marketing-return-trend?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"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_HJ2nkItzuWbWIPqqxfPsu","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":"Fits a descriptive straight-line (OLS) trend to up to 200 equally-spaced marketing contribution return observations and returns the formula, units, and limitations in JSON.","exampleAgentPrompt":"I have 8 periods of marketing data — spend was 5000, 5500, 6000, 6200, 5800, 6500, 7000, 7200 and attributed contribution was 8000, 8800, 9500, 9700, 9200, 10100, 11000, 11500. Can you fit a straight-line trend to these marketing contribution return figures and tell me the formula and slope?","exampleUseCases":[{"title":"Quarterly marketing ROI trend review","prompt":"I have 12 quarterly snapshots of our marketing spend and attributed contribution — spend ranged from 10000 to 18000 and contribution from 15000 to 30000. Can you fit an ordered trend line to the marketing contribution return series and give me the formula and slope so I can see if ROI is improving?"},{"title":"Detecting decline in campaign effectiveness","prompt":"Our last 20 monthly marketing periods show spend holding around 50000 but attributed contribution dropping from 90000 down to 60000 — can you run a straight-line trend analysis on these marketing contribution return figures and tell me the trend formula and what the slope means?"},{"title":"Annual budget planning with trend evidence","prompt":"I need to present trend evidence for our marketing contribution return to the board. I have 36 monthly data points — marketing spend between 8000 and 15000 and attributed contribution between 12000 and 25000 per month. Please fit a descriptive trend line and return the formula, units, and any limitations I should flag."}],"resultDescription":"A JSON object containing the fitted straight-line trend formula (slope and intercept), units of the inputs and outputs, and explicit limitations of the descriptive trend analysis — no forecast values, no financial advice.","failureModes":["Fewer than 2 rows supplied — minimum observation count not met","marketing_spend value of zero or below — exclusiveMinimum violated","More than 200 rows supplied — exceeds maxItems limit","Non-numeric values passed for marketing_spend or attributed_contribution","Payment not completed or insufficient USDC — request rejected"],"whenToPreferThis":"Choose this endpoint when you need a simple, auditable straight-line trend summary of historical marketing contribution return data for up to 200 equally-spaced periods. It is ideal for descriptive reporting and board presentations where a formula and slope are needed but no forecast or live data feed is required. Prefer alternatives if you need multi-variable regression, forecasting beyond the supplied data, or correlation against a benchmark series.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-18T19:03:22.556Z","isFirstParty":false,"canonicalSlug":"marketing-contribution-return-ordered-trend-analysis-e52a142c"}