# Days Payables Outstanding – Record Ranking

> Days Payables Outstanding – Record Ranking 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-22).

Ranks up to 200 supplier records by their calculated Days Payables Outstanding (DPO) value, returning a sorted JSON report with formula, units, and limitations.

## Facts

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

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-record-ranking-2e0537cb -d '<json body>'
```

Example prompt: Rank these 3 companies by their Days Payables Outstanding — Company A has average payables of $4,000 and credit purchases of $25,000 over 365 days; Company B has $4,400 payables and $27,500 purchases over 402 days; Company C has $6,000 payables and $30,000 purchases over 365 days.

## When to prefer this

Choose this endpoint when you need to rank multiple entities (2–200) by their Days Payables Outstanding metric using only supplied figures, without needing live financial data feeds, external lookups, or financial advice. It is ideal for batch comparison of business units, portfolio companies, or time periods where you already have the average payables, credit purchases, and period length figures on hand.

## Known failure modes

- Fewer than 2 rows supplied — minimum of 2 records required
- credit_purchases set to 0 or missing — division by zero not allowed (exclusiveMinimum enforced)
- More than 200 rows submitted — exceeds maxItems limit
- period_days outside 1–3660 range — validation error
- average_payables or credit_purchases exceeds 1 trillion — out of range
- Malformed JSON body — returns error with schema hint

## How this service works

Days payables outstanding - Record ranking: Rank up to 200 supplied records by calculated value, preserving row indices; higher is not necessarily better. 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 record ranking report.

## Output

A JSON object containing the input records re-ranked by their calculated Days Payables Outstanding values (with original row indices preserved), plus the DPO formula used, currency/units notes, and explicit limitations of the calculation.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "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-record-ranking-2e0537cb/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)
