# X402 Accepts Rank

> X402 Accepts Rank is a paid API for AI agents from api.delx.ai, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-13).

Ranks x402 challenge accepts entries against buyer network and asset preferences, returning a normalized acceptance or rejection verdict with mismatch reasons.

## Facts

- Endpoint: POST https://api.delx.ai/api/v1/x402/x402-accepts-rank
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-accepts-rank-398f2016
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_xo-_hBhafnLhUyrGbol_S

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 x402-accepts-rank-398f2016 -d '<json body>'
```

Example prompt: Before I pay this x402 challenge, rank these accepts against my preferred assets (USDC) and networks (base, ethereum) so I know which one to accept and if there are any mismatches.

## When to prefer this

Use this endpoint when an AI agent or buyer needs a deterministic, bounded ranking of x402 challenge accepts before committing to a payment or accepting an agent delivery. Prefer this over manual inspection when multiple accept entries are present, when network/asset compatibility needs to be verified programmatically, or when you need an explicit mismatch explanation without relying on an external oracle or provider.

## Known failure modes

- Accepts array exceeds 256 items — request rejected
- Individual accept object exceeds 128 properties — validation error
- preferred_assets or preferred_networks items exceed 8192 character limit
- Malformed accept objects cause schema validation failure
- Empty accepts array returns no ranked results
- Ambiguous or conflicting asset/network preferences may reduce ranking confidence

## How this service works

X402 Accepts Rank: X402 Accepts Rank ranks challenge accepts entries against buyer network and asset preferences from bounded caller-supplied values without an external provider. Call X402 Accepts Rank before paying for or accepting an x402 or agent delivery assembled from caller-supplied challenge and result metadata. Returns contract-specific checks, normalized evidence, mismatch reasons, and an explicit acceptance or rejection status for X402 Accepts Rank as versioned deterministic JSON. Pri…

## Output

Returns versioned deterministic JSON containing contract-specific checks, normalized evidence for each accept entry, explicit mismatch reasons, a ranked score per entry, and an overall acceptance or rejection status — all computed in-memory from caller-supplied values with no external calls or data retention.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "accepts": {
   "type": "array",
   "items": {
    "type": "object",
    "maxProperties": 128,
    "additionalProperties": true
   },
   "maxItems": 256,
   "description": "Accepts supplied to X402 Accepts Rank; used only for this bounded calculation and processed in memory without retention."
  },
  "preferred_assets": {
   "type": "array",
   "items": {
    "type": "string",
    "maxLength": 8192
   },
   "maxItems": 256,
   "description": "Preferred Assets supplied to X402 Accepts Rank; used only for this bounded calculation and processed in memory without retention."
  },
  "preferred_networks": {
   "type": "array",
   "items": {
    "type": "string",
    "maxLength": 8192
   },
   "maxItems": 256,
   "description": "Preferred Networks supplied to X402 Accepts Rank; used only for this bounded calculation and processed in memory without retention."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "result": {
   "ranked": [
    {
     "asset": "USDC",
     "amount": "1000",
     "network": "eip155:8453"
    },
    {
     "asset": "USDC",
     "amount": "1000",
     "network": "eip155:1"
    }
   ],
   "selected": {
    "asset": "USDC",
    "amount": "1000",
    "network": "eip155:8453"
   }
  },
  "schema": "delx/util-x402-accepts-rank/v1",
  "status": "pass",
  "evidence": {
   "retained": false,
   "input_sha256": "68f07fccda032de91280d8721b0b24830cc41f95e6d3cac4b3f05a715109a84b",
   "external_calls": 0
  },
  "operation": "delivery_contract:x402_accepts_rank"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-accepts-rank-398f2016/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.delx.ai](https://www.zero.xyz/host/api.delx.ai/llms.txt)
