Api Endpoint

SpendTheBits

0-100 safety score with components (protocol trust, TVL depth, audits, track record), observed and risk-adjusted APR, and whether STB's Auto-Defense would exit — for every vetted stablecoin vault, or one by ?venue=<id|pool address>.

Open interactive test console

Offering

Provider
x402.spendthebits.com
Method
GET
Offering type
Api Endpoint
Transport type
http
Category
Blockchain And Crypto
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://x402.spendthebits.com/@stbclaudeprod/yield-safety
MIME type
application/json
First seen
2026-10-16T01:50:38.788Z
Last seen
Tags
DeFi, yield, Risk, Stablecoin, USDC

Payment pricing

x402 payment terms are the authoritative price for calling this endpoint.

Payment option 1
0.005 USDC
Atomic price: 5000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Payment option 2
5000 atomic units
Atomic price: 5000 · Network: eip155:5042 · Asset: 0x3600000000000000000000000000000000000000 · Scheme: exact
Payment option 3
0.005 USDC
Atomic price: 5000 · Network: eip155:137 · Asset: USDC · Scheme: exact
Payment option 4
0.005 USDC
Atomic price: 5000 · Network: eip155:42161 · Asset: USDC · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "5000",
    "payTo": "0x44818760C35821d793cf69275DdcFc012B3cDa11"
  },
  {
    "scheme": "exact",
    "network": "eip155:5042",
    "asset": "0x3600000000000000000000000000000000000000",
    "amount": "5000",
    "payTo": "0x44818760C35821d793cf69275DdcFc012B3cDa11"
  },
  {
    "scheme": "exact",
    "network": "eip155:137",
    "asset": "0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359",
    "amount": "5000",
    "payTo": "0x44818760C35821d793cf69275DdcFc012B3cDa11"
  },
  {
    "scheme": "exact",
    "network": "eip155:42161",
    "asset": "0xaf88d065e77c8cC2239327C5EDb3A432268e5831",
    "amount": "5000",
    "payTo": "0x44818760C35821d793cf69275DdcFc012B3cDa11"
  }
]

Observed health

Status
Healthy
Latest latency
290 ms
Average latency
460 ms
HTTP status
402
Last checked
Reachability
100% over 14 checks

Latency is measured to the first response headers. A reachable result does not verify response accuracy or merchant identity.

Input schema

{
  "type": "object",
  "properties": {
    "type": {
      "type": "string",
      "const": "http"
    },
    "method": {
      "type": "string",
      "enum": [
        "GET",
        "HEAD",
        "DELETE"
      ]
    },
    "queryParams": {
      "type": "object",
      "properties": {
        "venue": {
          "type": "string",
          "description": "Venue id (UUID) or vault/pool contract address; omit it to get every vetted mainnet vault",
          "maxLength": 96
        }
      },
      "required": [],
      "additionalProperties": false
    }
  },
  "required": [
    "type",
    "method"
  ],
  "additionalProperties": false
}

Output schema

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "input": {
      "additionalProperties": false,
      "properties": {
        "method": {
          "enum": [
            "GET",
            "HEAD",
            "DELETE"
          ],
          "type": "string"
        },
        "queryParams": {
          "additionalProperties": false,
          "properties": {
            "venue": {
              "description": "Venue id (UUID) or vault/pool contract address; omit it to get every vetted mainnet vault",
              "maxLength": 96,
              "type": "string"
            }
          },
          "required": [],
          "type": "object"
        },
        "type": {
          "const": "http",
          "type": "string"
        }
      },
      "required": [
        "type",
        "method"
      ],
      "type": "object"
    },
    "output": {
      "properties": {
        "example": {
          "properties": {
            "as_of": {
              "description": "When this answer was computed (ISO 8601)",
              "type": "string"
            },
            "count": {
              "type": "integer"
            },
            "methodology": {
              "description": "URL of the scoring method",
              "type": "string"
            },
            "network": {
              "type": "string"
            },
            "venues": {
              "items": {
                "properties": {
                  "asset": {
                    "type": "string"
                  },
                  "audit_firms": {
                    "type": "integer"
                  },
                  "audited": {
                    "type": "boolean"
                  },
                  "auto_defense": {
                    "properties": {
                      "floor": {
                        "type": "integer"
                      },
                      "reason": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "would_exit": {
                        "type": "boolean"
                      }
                    },
                    "required": [
                      "floor",
                      "would_exit"
                    ],
                    "type": "object"
                  },
                  "chain": {
                    "type": "string"
                  },
                  "chain_id": {
                    "type": [
                      "integer",
                      "null"
                    ]
                  },
                  "enabled": {
                    "type": "boolean"
                  },
                  "factors": {
                    "description": "The components the score is the sum of",
                    "items": {
                      "type": "object"
                    },
                    "type": "array"
                  },
                  "id": {
                    "type": "string"
                  },
                  "incidents": {
                    "type": "integer"
                  },
                  "launched_days_ago": {
                    "type": "integer"
                  },
                  "name": {
                    "type": "string"
                  },
                  "observed_apr": {
                    "description": "Decimal fraction, e.g. 0.0412 = 4.12%",
                    "type": "string"
                  },
                  "pool_address": {
                    "type": "string"
                  },
                  "protocol": {
                    "type": "string"
                  },
                  "risk_adjusted_apr": {
                    "type": "string"
                  },
                  "safety_score": {
                    "maximum": 100,
                    "minimum": 0,
                    "type": "integer"
                  },
                  "scored_at": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "tvl_usd": {
                    "type": "string"
                  }
                },
                "required": [
                  "id",
                  "name",
                  "protocol",
                  "asset",
                  "pool_address",
                  "enabled",
                  "safety_score",
                  "factors",
                  "observed_apr",
                  "risk_adjusted_apr",
                  "tvl_usd",
                  "auto_defense"
                ],
                "type": "object"
              },
              "type": "array"
            }
          },
          "required": [
            "as_of",
            "network",
            "count",
            "venues",
            "methodology"
          ],
          "type": "object"
        },
        "type": {
          "type": "string"
        }
      },
      "required": [
        "type"
      ],
      "type": "object"
    }
  },
  "required": [
    "input"
  ],
  "type": "object"
}