{"uid":"cap_IuRjZn12rXysW3cFaysQ3","slug":"marketing-contribution-return-record-ranking-530b7874","name":"Marketing Contribution Return – Record Ranking","description":"Marketing contribution return - Record ranking: Rank up to 200 supplied records by calculated value, preserving row indices; higher is not necessarily better. 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 record ranking report.","url":"https://market.datapackvibe.com/x402/assistant-finance-marketing-return-rank?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_AWozH4wbB4Hcs4G3cWYdO","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":"Ranks up to 200 records by calculated marketing contribution return, preserving original row indices and returning a formula, units, and limitations in JSON.","exampleAgentPrompt":"I have 5 marketing campaigns with different spends and attributed contributions — can you rank them by marketing contribution return? The spends are $5000, $5500, $6000, $4500, and $7000, and the attributed contributions are $8000, $8800, $9500, $7000, and $10500.","exampleUseCases":[{"title":"Campaign ranking by contribution return","prompt":"I ran 4 marketing campaigns last quarter with these spends and attributed revenue figures — spend: $5000, $5500, $4800, $6200 and attributed contribution: $8000, $8800, $7500, $9300. Can you rank them by marketing contribution return so I know which performed best?"},{"title":"Budget allocation decision support","prompt":"We're deciding which of our 6 regional marketing programs to cut. Here are the spends and attributed contributions for each — can you rank them all by marketing contribution return so we can identify the weakest performers? Spends: $10000, $12000, $8000, $15000, $9000, $11000; contributions: $16000, $18000, $11000, $24000, $13500, $17000."},{"title":"Agency performance comparison","prompt":"We work with 3 marketing agencies and I have spend and attributed contribution data for each across 5 campaigns each — 15 records total. Can you rank all 15 by marketing contribution return and show me which rows come out on top?"}],"resultDescription":"A JSON response containing the input records re-ranked by computed marketing contribution return value (preserving original row indices), along with the formula used, the units of measurement, and a statement of limitations. Higher rank does not necessarily mean better performance — the formula and context are included so the agent can interpret results correctly.","failureModes":["Fewer than 2 rows supplied — minimum 2 records required","More than 200 rows supplied — maximum is 200 records","marketing_spend is zero or negative — field requires exclusiveMinimum > 0","Missing required fields (marketing_spend or attributed_contribution) in any row","attributed_contribution out of allowed range (±1,000,000,000,000)","marketing_spend exceeds maximum of 1,000,000,000,000","Inconsistent currencies or time periods across rows produce misleading rankings — no validation is performed on consistency"],"whenToPreferThis":"Choose this endpoint when you need to rank a batch of up to 200 marketing records by their calculated contribution return metric, with row indices preserved for downstream mapping. It is purpose-built for marketing contribution return specifically, not general ROI or other financial metrics. Prefer it over generic sorting tools when you need the formula, units, and limitations returned alongside the ranked output for auditability or downstream reporting.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-18T00:58:39.874Z","isFirstParty":false,"canonicalSlug":"marketing-contribution-return-record-ranking-530b7874"}