{"uid":"cap_-VQHs6ZGgeJqwTYnZkDMM","slug":"shipment-costs-adjacent-row-changes-7e4a0a44","name":"Shipment Costs Adjacent Row Changes","description":"Shipment costs - Adjacent row changes: Adjacent row changes for Shipment costs. Up to 200 supplied typed records. Local numeric and data-quality processing; no external enrichment or forecasting. One of 25 profiles or calculations across 20 shared operations in this sector. 0.01 USDC includes one bounded adjacent row changes deliverable.","url":"https://market.datapackvibe.com/x402/assistant-sector-analytics-shipment-costs-period-change?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","required":["row_id","carrier","date","weight_kg","shipping_cost"],"properties":{"date":{"type":"string","default":"","pattern":"^\\d{4}-\\d{2}-\\d{2}$","maxLength":10},"row_id":{"type":"string","default":"","maxLength":80,"minLength":1},"carrier":{"type":"string","default":"","maxLength":80},"weight_kg":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"shipping_cost":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000}},"additionalProperties":false},"default":[{"date":"2026-10-01","row_id":"row-1","carrier":"group-a","weight_kg":10,"shipping_cost":1},{"date":"2026-10-02","row_id":"row-2","carrier":"group-b","weight_kg":20,"shipping_cost":2},{"date":"2026-10-03","row_id":"row-3","carrier":"group-a","weight_kg":15,"shipping_cost":3},{"date":"2026-10-04","row_id":"row-4","carrier":"group-b","weight_kg":30,"shipping_cost":4}],"maxItems":200,"minItems":1},"field":{"enum":["weight_kg","shipping_cost"],"type":"string","default":"weight_kg"}}},"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_IVn5k0X3FA7LWSejTJ3gT","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":"Computes row-to-row (period-over-period) changes in shipment cost or weight data across an ordered sequence of up to 200 shipment records.","exampleAgentPrompt":"Calculate the adjacent row changes in shipping_cost for these 4 shipment records: row-1 carrier group-a date 2026-10-01 weight 10 cost 100, row-2 carrier group-b date 2026-10-02 weight 20 cost 150, row-3 carrier group-a date 2026-10-03 weight 15 cost 130, row-4 carrier group-b date 2026-10-04 weight 30 cost 200.","exampleUseCases":[{"title":"Carrier cost trend monitoring","prompt":"I have daily shipment records from two carriers over the past week — can you calculate the day-to-day changes in shipping_cost for each row so I can see where costs are spiking?"},{"title":"Freight weight fluctuation analysis","prompt":"Here are 50 sequential shipment entries with weight_kg and shipping_cost fields — compute the adjacent row changes for weight_kg so I can identify sudden load changes between periods."},{"title":"Logistics reporting automation","prompt":"For my monthly logistics report, take these 120 shipment records ordered by date and calculate the period-over-period shipping_cost deltas between each consecutive row."}],"resultDescription":"Returns computed adjacent row change values for the selected numeric field (weight_kg or shipping_cost) across the submitted sequence of shipment records — showing the delta between each row and its predecessor, processed locally without external enrichment.","failureModes":["Fewer than 1 row submitted returns an error or empty result","More than 200 rows submitted exceeds the maxItems limit","Invalid date format (not YYYY-MM-DD) causes schema validation failure","Missing required fields (row_id, carrier, date, weight_kg, shipping_cost) cause rejection","Non-numeric values in weight_kg or shipping_cost where number is expected","Field enum value other than 'weight_kg' or 'shipping_cost' causes validation error"],"whenToPreferThis":"Choose this endpoint when you have an ordered sequence of shipment records (up to 200) and need fast, local period-over-period delta calculations on weight or shipping cost fields — no external API calls, forecasting, or enrichment needed. Ideal for lightweight logistics analytics, sequential cost auditing, or building trend reports from structured shipment data.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-15T12:39:21.179Z","isFirstParty":false,"canonicalSlug":"shipment-costs-adjacent-row-changes-7e4a0a44"}