# Open Horizon ABF Stress Snapshot

> Open Horizon ABF Stress Snapshot is a paid API for AI agents from ohd-machine-x402-v2.hibiki3027.workers.dev, paid per call via x402, $0.05/call, status unknown (last checked 2026-10-02).

Queries a DeFi lending stress-test dataset to return health-factor snapshots, liquidatable episode counts, and risk summaries for asset-backed finance positions across protocols and chains.

## Facts

- Endpoint: POST https://ohd-machine-x402-v2.hibiki3027.workers.dev/api/abf-stress-snapshot?utm_source=zero.xyz
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/open-horizon-abf-stress-snapshot-5b230075
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_-jj_TY1RSAx5G2jxQ0zaZ

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 open-horizon-abf-stress-snapshot-5b230075 -d '<json body>'
```

Example prompt: Pull a stress snapshot for the top 10 most at-risk USDC loan positions on Ethereum using Morpho, sorted by minimum health factor ascending, and flag any that are already liquidatable.

## When to prefer this

Use this endpoint when you need machine-verifiable DeFi lending stress data with health-factor granularity, especially for liquidation risk triage, protocol risk comparison, or automated credit-risk pipelines that require an attestable result flag. Prefer it over general blockchain data APIs when you specifically need episode-level ABF stress snapshots with rich filtering by chain, protocol, asset pair, and borrow/collateral size bucket.

## Known failure modes

- Payment not provided or insufficient USDC via x402 — request blocked before fulfillment
- Invalid enum value for sort_by or order fields — schema validation error
- Chain or protocol name not recognized in dataset — returns zero matched episodes
- limit exceeds maximum of 25 — schema rejection
- No episodes match the filter combination — summary returns zero counts

## How this service works

Agent decision products for procurement, vendor risk, API QA and public-web buy-or-skip workflows. Strict x402 payment is required before fulfillment.

## Output

Returns a JSON object containing a summary with minimum health factor, matched episode count, and liquidatable episode count, plus a machine_verifiable boolean confirming the result is cryptographically attestable. Optionally echoes back the query parameters used.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "type": "object",
     "properties": {
      "chain": {
       "type": "string",
       "maxLength": 80
      },
      "limit": {
       "type": "integer",
       "default": 10,
       "maximum": 25,
       "minimum": 1
      },
      "order": {
       "enum": [
        "asc",
        "desc"
       ],
       "type": "string",
       "default": "asc"
      },
      "sort_by": {
       "enum": [
        "min_hf",
        "liquidatable_observation_count",
        "duration_minutes",
        "observation_count",
        "lltv"
       ],
       "type": "string",
       "default": "min_hf"
      },
      "protocol": {
       "type": "string",
       "maxLength": 80
      },
      "loan_asset": {
       "type": "string",
       "maxLength": 80
      },
      "min_hf_lte": {
       "type": "number"
      },
      "outcome_class": {
       "type": "string",
       "maxLength": 80
      },
      "collateral_asset": {
       "type": "string",
       "maxLength": 80
      },
      "liquidatable_only": {
       "type": "boolean"
      },
      "borrow_size_bucket": {
       "type": "string",
       "maxLength": 40
      },
      "collateral_size_bucket": {
       "type": "string",
       "maxLength": 40
      }
     },
     "additionalProperties": false
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "required": [
      "summary",
      "machine_verifiable"
     ],
     "properties": {
      "query": {
       "type": "object",
       "additionalProperties": true
      },
      "summary": {
       "type": "object",
       "additionalProperties": true
      },
      "machine_verifiable": {
       "type": "boolean",
       "const": true
      }
     },
     "additionalProperties": true
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "summary": {
   "min_hf": 0.982,
   "matched_episodes": 42,
   "liquidatable_episodes": 3
  },
  "machine_verifiable": true
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/open-horizon-abf-stress-snapshot-5b230075/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from ohd-machine-x402-v2.hibiki3027.workers.dev](https://www.zero.xyz/host/ohd-machine-x402-v2.hibiki3027.workers.dev/llms.txt)
