{"uid":"cap_igmaTueVjCTpcZT0fODxs","slug":"shipment-costs-grouped-numeric-summary-e94f1e9e","name":"Shipment Costs Grouped Numeric Summary","description":"Shipment costs - Grouped numeric summary: Grouped numeric summary 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 grouped numeric summary deliverable.","url":"https://market.datapackvibe.com/x402/assistant-sector-analytics-shipment-costs-group-summary?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_AEq4CweL9UhMGmjpxP3Yy","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 grouped numeric summary statistics (e.g. min, max, mean, count) for shipment cost or weight data, grouped by carrier, from up to 200 records.","exampleAgentPrompt":"Can you group these shipment records by carrier and give me a numeric summary of their shipping costs? I have 4 records: row-1 on 2026-10-01 carrier group-a weight 10kg cost $1, row-2 on 2026-10-02 carrier group-b weight 20kg cost $2, row-3 on 2026-10-03 carrier group-a weight 15kg cost $3, row-4 on 2026-10-04 carrier group-b weight 30kg cost $4 — summarize the shipping_cost field.","exampleUseCases":[{"title":"Compare carrier costs per month","prompt":"I have 150 shipment records for October — each has a carrier name, date, weight, and cost. Can you group them by carrier and give me a numeric summary of the shipping_cost field so I can see which carrier is cheapest on average?"},{"title":"Weight distribution audit by carrier","prompt":"Here are our shipment records from last quarter. Group them by carrier and compute a numeric summary of the weight_kg field — I want to see min, max, and mean weights per carrier to check if load distribution is balanced."},{"title":"Logistics cost report for management","prompt":"Pull together a grouped summary of our shipment cost data by carrier — I have about 80 records with carrier, date, weight, and shipping cost. Summarize the shipping_cost field grouped by carrier so I can include it in the monthly ops report."}],"resultDescription":"A grouped numeric summary of the selected field (weight_kg or shipping_cost) broken down by carrier, including aggregate statistics such as count, min, max, mean, and possibly sum or standard deviation for each carrier group, computed locally from the supplied records with no external enrichment.","failureModes":["Empty or missing rows array returns an error","Row count exceeds 200 items — request rejected","Missing required fields (row_id, carrier, date, weight_kg, shipping_cost) cause validation failure","Invalid date format (not YYYY-MM-DD) causes schema rejection","Invalid field enum value (not weight_kg or shipping_cost) causes rejection","Payment not included or insufficient USDC causes 402 response"],"whenToPreferThis":"Use this endpoint when you have raw shipment records (up to 200) and need a quick grouped numeric summary by carrier without setting up your own aggregation pipeline. It is ideal for lightweight analytics tasks where you want per-carrier aggregate statistics on shipping cost or weight, at very low cost ($0.01 USDC per call). Prefer it over general analytics services when you already have structured shipment data ready and need a fast, bounded computation.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-15T12:39:21.804Z","isFirstParty":false,"canonicalSlug":"shipment-costs-grouped-numeric-summary-e94f1e9e"}