# Days Payables Outstanding - Distribution Histogram

> Days Payables Outstanding - Distribution Histogram is a paid API for AI agents from market.datapackvibe.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-23).

Bins up to 200 Days Payables Outstanding (DPO) observations into equal-width histogram buckets, returning bin edges, counts, formula, units, and limitations.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-finance-payable-days-histogram?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-23
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/days-payables-outstanding-distribution-histogram-191293f5
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_7KC03pAh83mz6g9Em6uyo

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability days-payables-outstanding-distribution-histogram-191293f5 -d '<json body>'
```

Example prompt: Take these 8 quarters of payables data — average payables ranging from $3M to $6M, credit purchases from $18M to $40M, all on 90-day periods — and bin the Days Payables Outstanding values into 10 equal-width histogram buckets so I can see the distribution.

## When to prefer this

Choose this endpoint when you need to understand the statistical distribution of Days Payables Outstanding across a batch of observations — not just a single value. It is ideal for benchmarking payment behavior over time, auditing DPO spread across business units or suppliers, or preparing histogram data for visualization. Use the single-calculation sibling endpoint instead when you only need one DPO figure.

## Known failure modes

- Fewer than 2 rows supplied — minimum is 2 observations
- credit_purchases value of 0 causes division by zero (excluded via exclusiveMinimum)
- More than 200 rows supplied exceeds maximum input limit
- Bins value outside 1–30 range causes validation error
- Missing required fields (average_payables, credit_purchases, period_days) per row causes rejection
- Non-numeric or negative values for financial figures fail schema validation

## How this service works

Days payables outstanding - Distribution histogram: Bin up to 200 calculated observations into equal-width bins, including edge definitions. Metric: Days payables outstanding. Supplied figures only; returns JSON with formula, units and limitations. One of 50 calculators with 20 analysis modes. No live feed, financial advice or trade execution. 0.01 USDC includes one bounded distribution histogram report.

## Output

A JSON response containing the histogram bin edges and counts for the calculated DPO values across all supplied observations, along with the DPO formula used, units, and any limitations of the calculation.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "bins": {
   "type": "integer",
   "default": 5,
   "maximum": 30,
   "minimum": 1
  },
  "rows": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "average_payables",
     "credit_purchases",
     "period_days"
    ],
    "properties": {
     "period_days": {
      "type": "integer",
      "default": 365,
      "maximum": 3660,
      "minimum": 1
     },
     "average_payables": {
      "type": "number",
      "default": 4000,
      "maximum": 1000000000000,
      "minimum": 0,
      "description": "Amount in a consistent supplied currency and reporting period"
     },
     "credit_purchases": {
      "type": "number",
      "default": 25000,
      "maximum": 1000000000000,
      "minimum": 0,
      "description": "Amount in a consistent supplied currency and reporting period",
      "exclusiveMinimum": 0
     }
    },
    "additionalProperties": false
   },
   "default": [
    {
     "period_days": 365,
     "average_payables": 4000,
     "credit_purchases": 25000
    },
    {
     "period_days": 402,
     "average_payables": 4400,
     "credit_purchases": 27500.000000000004
    },
    {
     "period_days": 365,
     "average_payables": 4000,
     "credit_purchases": 25000
    },
    {
     "period_days": 402,
     "average_payables": 4400,
     "credit_purchases": 27500.000000000004
    }
   ],
   "maxItems": 200,
   "minItems": 2
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/days-payables-outstanding-distribution-histogram-191293f5/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from market.datapackvibe.com](https://www.zero.xyz/host/market.datapackvibe.com/llms.txt)
