{"uid":"cap_SD34aXCHtEg97H_fWDrpk","slug":"customer-segment-observations-adjacent-row-changes-equal-width-68578b12","name":"Customer Segment Observations — Adjacent Row Changes + Equal-Width Histogram","description":"Customer segment observations — Adjacent row changes + Equal-width histogram: Adjacent row changes + Equal-width histogram for supplied customer segment observations records (account_count, revenue_amount). Up to 200 rows; 2 independent reports using shared local analytical engines. No live lookup, prediction, professional assessment or external action. 0.01 USDC includes 2 supplied-data reports for up to 200 rows.","url":"https://market.datapackvibe.com/x402/assistant-ib26-company-16-156?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"bins":{"type":"integer","default":5,"maximum":30,"minimum":1},"rows":{"type":"array","items":{"type":"object","required":["row_id","company_group","date","account_count","revenue_amount"],"properties":{"date":{"type":"string","default":"","pattern":"^\\d{4}-\\d{2}-\\d{2}$","maxLength":10},"row_id":{"type":"string","default":"","maxLength":80,"minLength":1},"account_count":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"company_group":{"type":"string","default":"","maxLength":80},"revenue_amount":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000}},"additionalProperties":false},"default":[{"date":"2026-10-01","row_id":"row-1","account_count":10,"company_group":"group-a","revenue_amount":1},{"date":"2026-10-02","row_id":"row-2","account_count":20,"company_group":"group-b","revenue_amount":2},{"date":"2026-10-03","row_id":"row-3","account_count":15,"company_group":"group-a","revenue_amount":3},{"date":"2026-10-04","row_id":"row-4","account_count":30,"company_group":"group-b","revenue_amount":4}],"maxItems":200,"minItems":1},"field":{"enum":["account_count","revenue_amount"],"type":"string","default":"account_count"}}},"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_u1v9jZz2W2Abd9LJtgp4X","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 adjacent row change analysis and equal-width histogram for customer segment observation data (account_count or revenue_amount fields) across up to 200 rows.","exampleAgentPrompt":"Analyze my customer segment data — I have 50 rows with row_id, company_group, date, account_count, and revenue_amount fields — run the adjacent row changes report and an equal-width histogram with 10 bins on the revenue_amount field.","exampleUseCases":[{"title":"Revenue distribution across customer segments","prompt":"I have monthly revenue figures for my customer segments across two company groups. Can you bucket the revenue_amount into 8 equal-width histogram bins and also show me how revenue changed between consecutive rows? Here's my data with row_id, company_group, date, and revenue_amount columns."},{"title":"Account count trend change audit","prompt":"Run an adjacent row change analysis on my account_count field across these 120 customer segment observation records — I want to see how the account count shifted between each consecutive date. Use 5 bins for the histogram too."},{"title":"Segment metric distribution for quarterly review","prompt":"For my quarterly segment review, can you analyze these 75 rows of customer segment data? I want both an equal-width histogram (15 bins) and adjacent row changes for the account_count field, grouped by company_group and date."}],"resultDescription":"Returns two analytical reports: (1) an adjacent row changes report showing delta values between consecutive rows for the selected field (account_count or revenue_amount), and (2) an equal-width histogram report distributing the selected field's values across a specified number of bins (1–30), providing bin ranges and frequency counts.","failureModes":["More than 200 rows submitted — exceeds maximum row limit","Missing required row fields (row_id, company_group, date, account_count, or revenue_amount)","Invalid date format (must match YYYY-MM-DD pattern)","bins value outside 1–30 range","Numeric values exceeding ±1,000,000,000,000 bounds","Payment not provided or insufficient USDC balance"],"whenToPreferThis":"Choose this endpoint when you need both row-to-row change analysis and frequency distribution (histogram) for customer segment metrics in a single paid call. It is well-suited for local, offline-style statistical reporting on tabular segment data without requiring external lookup or live data. Prefer it over single-report endpoints when you need both adjacent change and histogram analytics together at minimal cost.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-20T12:49:01.316Z","isFirstParty":false,"canonicalSlug":"customer-segment-observations-adjacent-row-changes-equal-width-68578b12"}