mirrored listing x402 eip155:8453

Single-fact: how many borrowers have HF < max_hf and debt >= min_debt_usd right now? Retur

Single-fact: how many borrowers have HF < max_hf and debt >= min_debt_usd right now? Returns {count, total_debt_usd}.

Do you run api.seneschal.space? This listing was mirrored from Coinbase's public Bazaar. Claim it in 30 seconds — no account required — and it becomes verified, permanently overriding the mirrored copy.

Claim this listing
1000 (raw units)
price
6
calls / 30d
4
unique payers
2026-09-08
updated

Provider

api.seneschal.space · discovered, not yet claimed by its owner

Payment (x402 accepts[])

[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "payTo": "0x46Ba634261566CF242c853d1f49511f9268ba674",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "1000",
    "maxTimeoutSeconds": 120
  }
]

Output schema

{
  "bazaar": {
    "info": {
      "input": {
        "method": "GET",
        "queryParams": {
          "max_hf": "1.05",
          "min_debt_usd": "1000"
        },
        "type": "http"
      },
      "output": {
        "example": {
          "count": 14,
          "total_debt_usd": 1825000
        },
        "type": "json"
      }
    },
    "schema": {
      "$schema": "https://json-schema.org/draft/2020-12/schema",
      "properties": {
        "input": {
          "additionalProperties": false,
          "properties": {
            "method": {
              "enum": [
                "GET"
              ],
              "type": "string"
            },
            "queryParams": {
              "properties": {
                "max_hf": {
                  "description": "Health-factor ceiling (default 1.05).",
                  "type": "string"
                },
                "min_debt_usd": {
                  "description": "Minimum debt in USD (default 0).",
                  "type": "string"
                },
                "protocol": {
                  "description": "Optional protocol filter (aave|morpho|spark|compound).",
                  "type": "string"
                }
              },
              "type": "object"
            },
            "type": {
              "const": "http",
              "type": "string"
            }
          },
          "required": [
            "type",
            "method"
          ],
          "type": "object"
        },
        "output": {
          "properties": {
            "example": {
              "properties": {
                "count": {
                  "type": "integer"
                },
                "total_debt_usd": {
                  "type": "number"
                }
              },
              "type": "object"
            },
            "type": {
              "type": "string"
            }
          },
          "required": [
            "type"
          ],
          "type": "object"
        }
      },
      "required": [
        "input"
      ],
      "type": "object"
    }
  }
}

Use it

curl

curl "https://api.seneschal.space/v1/q/at-risk-count"
# -> 402 Payment Required, accepts[] lists how to pay
# retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paid

JavaScript

const res = await fetch("https://api.seneschal.space/v1/q/at-risk-count");
if (res.status === 402) {
  const { accepts } = await res.json();
  // pay one of accepts[] via an x402 client, then retry with the payment header
}

Python

import httpx
res = httpx.get("https://api.seneschal.space/v1/q/at-risk-count")
if res.status_code == 402:
    accepts = res.json()["accepts"]
    # pay one of accepts[] via an x402 client, then retry with the payment header

Machine-readable

Everything on this page is also available as clean JSON at /resources/5085.json, and this resource appears in /discovery/resources and /discovery/search.