{"uid":"cap_ItCvkzaS86hFHyJ6M3kqO","slug":"donation-campaign-records-equal-width-histogram-d4bf0516","name":"Donation Campaign Records – Equal-Width Histogram","description":"Donation campaign records - Equal-width histogram: Equal-width histogram for Donation campaign records. Up to 200 supplied typed records. Local descriptive analytics; no enrichment or forecast. One of 25 new profiles across 20 shared operations in this industry. 0.01 USDC includes one bounded equal-width histogram report.","url":"https://market.datapackvibe.com/x402/assistant-ar-analytics-donation-records-histogram?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","campaign","date","donations","amount"],"properties":{"date":{"type":"string","default":"","pattern":"^\\d{4}-\\d{2}-\\d{2}$","maxLength":10},"amount":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"row_id":{"type":"string","default":"","maxLength":80,"minLength":1},"campaign":{"type":"string","default":"","maxLength":80},"donations":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000}},"additionalProperties":false},"default":[{"date":"2026-10-01","amount":1,"row_id":"row-1","campaign":"group-a","donations":10},{"date":"2026-10-02","amount":2,"row_id":"row-2","campaign":"group-b","donations":20},{"date":"2026-10-03","amount":3,"row_id":"row-3","campaign":"group-a","donations":15},{"date":"2026-10-04","amount":4,"row_id":"row-4","campaign":"group-b","donations":30}],"maxItems":200,"minItems":1},"field":{"enum":["donations","amount"],"type":"string","default":"donations"}}},"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_fQEWfQXcJNjg_RwYY_M04","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 an equal-width histogram over donation campaign records (donations count or amount) using up to 200 user-supplied rows, returning a local descriptive analytics report.","exampleAgentPrompt":"Can you run an equal-width histogram on my donation campaign records — I have 4 rows with campaigns group-a and group-b, dates from 2026-10-01 to 2026-10-04, donation counts of 10, 20, 15, and 30, and amounts of 1–4 — use the 'donations' field and split it into 5 bins?","exampleUseCases":[{"title":"Distribution of donation amounts across campaigns","prompt":"I've got 50 donation campaign records with fields for campaign name, date, number of donations, and dollar amount — can you show me an equal-width histogram of the 'amount' field using 10 bins so I can see how donations are distributed?"},{"title":"Profiling small fundraiser donation counts","prompt":"I have a spreadsheet of 30 rows from our last fundraiser, each with a row ID, campaign, date, donation count, and total amount — please compute a 5-bin equal-width histogram over the 'donations' field so I can profile the distribution."},{"title":"Comparing donation frequency bins before reporting","prompt":"Before I write my quarterly report, can you run a 7-bin equal-width histogram on these 80 campaign records I'll paste in — use the 'amount' field — so I know where most donations are clustering?"}],"resultDescription":"Returns a bounded equal-width histogram report for the specified numeric field (donations or amount) across up to 200 supplied campaign rows. The report includes bin boundaries and the count of records falling into each of the requested number of equal-width bins, enabling local descriptive analysis of value distribution without any external enrichment or forecasting.","failureModes":["Fewer than 1 row supplied — returns validation error","More than 200 rows supplied — rejected at schema level","Invalid date format (not YYYY-MM-DD) — row-level validation error","Unknown field value (not 'donations' or 'amount') — enum validation failure","Bins value outside 1–30 range — schema rejection","Null values in the target numeric field may affect bin calculation or be excluded","Payment failure (insufficient USDC balance) — 402 response, no histogram returned"],"whenToPreferThis":"Choose this endpoint when you have donation campaign records (up to 200 rows) with donations-count or dollar-amount fields and need a quick, local equal-width frequency distribution without sending data to an external enrichment or forecasting service. It is purpose-built for donation/fundraising data schemas (campaign, date, donations, amount) and is priced at $0.01 per call, making it cost-effective for on-demand profiling. Prefer it over generic statistics APIs when your data already matches the expected schema and you want a histogram rather than summary statistics or outlier detection.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-17T00:46:32.067Z","isFirstParty":false,"canonicalSlug":"donation-campaign-records-equal-width-histogram-d4bf0516"}