{"uid":"cap_mHDcFIr5WRG20suNliVZT","slug":"commercial-proposal-comparisons-equal-width-histogram-secondary-3f962a93","name":"Commercial Proposal Comparisons — Equal-Width Histogram + Secondary-Measure Weighted Mean","description":"Commercial proposal comparisons — Equal-width histogram + Secondary-measure weighted mean: Equal-width histogram + Secondary-measure weighted mean for supplied commercial proposal comparisons records (quoted_amount, delivery_days). 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-24-172?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","quoted_amount","delivery_days"],"properties":{"date":{"type":"string","default":"","pattern":"^\\d{4}-\\d{2}-\\d{2}$","maxLength":10},"row_id":{"type":"string","default":"","maxLength":80,"minLength":1},"company_group":{"type":"string","default":"","maxLength":80},"delivery_days":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"quoted_amount":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000}},"additionalProperties":false},"default":[{"date":"2026-10-01","row_id":"row-1","company_group":"group-a","delivery_days":1,"quoted_amount":10},{"date":"2026-10-02","row_id":"row-2","company_group":"group-b","delivery_days":2,"quoted_amount":20},{"date":"2026-10-03","row_id":"row-3","company_group":"group-a","delivery_days":3,"quoted_amount":15},{"date":"2026-10-04","row_id":"row-4","company_group":"group-b","delivery_days":4,"quoted_amount":30}],"maxItems":200,"minItems":1},"field":{"enum":["quoted_amount","delivery_days"],"type":"string","default":"quoted_amount"}}},"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_ITz-jrcoytwXziali8j5k","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":"Runs two local analytical reports on commercial proposal data: an equal-width histogram of a selected measure and a delivery-days-weighted mean of quoted amounts (or vice versa), across up to 200 rows.","exampleAgentPrompt":"I have 12 commercial proposal records with quoted_amount and delivery_days — can you run a 6-bin equal-width histogram on quoted_amount plus a delivery_days-weighted mean on that same dataset? Here are the rows: [{\"row_id\":\"r1\",\"company_group\":\"alpha\",\"date\":\"2025-01-10\",\"quoted_amount\":5000,\"delivery_days\":14}, ...]","exampleUseCases":[{"title":"Procurement bid price distribution","prompt":"I've got 30 vendor bids with quoted amounts and delivery times — can you build a 10-bin equal-width histogram on the quoted_amount field and also give me the delivery-days-weighted mean of those quotes so I can see where prices cluster?"},{"title":"Supplier delivery time spread analysis","prompt":"Here are 50 supplier proposal records. Please bin the delivery_days into 8 equal-width buckets to see the distribution, and compute the quoted_amount-weighted mean of delivery days so I understand typical lead times weighted by deal size."},{"title":"Comparing company group bid patterns","prompt":"I need to analyze bids from two company groups — group-a and group-b — across 80 rows. Can you run the histogram on quoted_amount using 5 bins and also give me the secondary-measure weighted mean so I can compare their pricing patterns?"}],"resultDescription":"Returns two analytical reports: (1) an equal-width histogram showing frequency counts per bin for the selected primary measure (quoted_amount or delivery_days), with bin boundaries; and (2) a weighted mean of the secondary measure using the primary measure values as weights — all computed locally on the supplied rows with no external calls.","failureModes":["More than 200 rows submitted — request will be rejected or truncated","Invalid date format (must be YYYY-MM-DD) causes row validation failure","bins parameter out of range (must be 1–30) returns validation error","All values null for the selected field makes histogram and weighted mean undefined","Missing required row fields (row_id, company_group, date) causes schema validation failure","Payment of 0.01 USDC not completed — 402 response returned"],"whenToPreferThis":"Choose this endpoint when you have up to 200 commercial proposal rows with quoted_amount and delivery_days fields and need both a distributional view (histogram) and a cross-measure summary (weighted mean) in a single low-cost call. Prefer it over generic statistics APIs when your data is structured around procurement bids and you want both reports bundled for $0.01 USDC without any external data enrichment or prediction.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-17T12:43:07.591Z","isFirstParty":false,"canonicalSlug":"commercial-proposal-comparisons-equal-width-histogram-secondary-3f962a93"}