# SpendTheBits Deposit-Check via x402

> SpendTheBits Deposit-Check via x402 is a paid API for AI agents from x402.spendthebits.com, paid per call via x402, $0.02/call, status unknown (last checked 2026-12-01).

Runs a DeFi deposit-safety check on a yield venue, returning a safety score, observed APR, and a caution/pass/fail verdict, payable via x402 HTTP 402 in USDC.

## Facts

- Endpoint: GET https://x402.spendthebits.com/@superappstb/deposit-check/?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-12-01
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/spendthebits-deposit-check-via-x402-04345539
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_z2zuomjMwX_A_PFrQ__EP

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 spendthebits-deposit-check-via-x402-04345539
```

Example prompt: Before I move any funds, check the deposit safety score for this DeFi venue on mainnet — I want to know the observed APR, the safety score, and whether it passes or just gets a caution flag.

## When to prefer this

Use this endpoint when an AI agent needs a machine-readable DeFi deposit safety verdict before moving funds — especially when you want a composite safety score, APR data, and auto-defense threshold reasoning in one call. Prefer this over generic address screeners when you specifically need yield venue safety analysis rather than sanctions/scam screening alone.

## Known failure modes

- Venue not found or unrecognized — check list may be empty
- Network mismatch (mainnet vs testnet) causes incorrect screening context
- Payment not completed — HTTP 402 response without paid access returns only the example/stub
- Safety score below floor triggers caution verdict but is not an error — agent must interpret verdict field
- Contract screen source may be null if contract is unlisted in known registries

## How this service works

Turn your SpendTheBits @handle into an x402-payable endpoint. AI agents pay you in USDC over HTTP 402 — machine-to-machine, no invoices, no custody.

## Output

Returns a JSON object with: a list of venue checks each containing the venue name, observed APR, safety score, verdict (pass/caution/fail), reasons with codes and explanatory sentences, contract screen details (warnings, listings, category), plus the network and product name. A worked example is returned as a preview; the live answer is in the paid response.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "required": {
   "type": "string"
  },
  "properties": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "note": "Worked example. The live answer is in the paid response.",
  "count": 1,
  "checks": [
   {
    "venue": {
     "name": "…",
     "observed_apr": "0.0000",
     "safety_score": 56
    },
    "notices": [],
    "reasons": [
     {
      "code": "below_floor",
      "level": "caution",
      "sentence": "Safety score 56 is under the default floor of 60; STB's Auto-Defense would act on it."
     }
    ],
    "verdict": "caution",
    "contract_screen": {
     "warn": false,
     "listed": false,
     "source": null,
     "category": null
    }
   }
  ],
  "network": "mainnet",
  "product": "deposit-check"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/spendthebits-deposit-check-via-x402-04345539/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.spendthebits.com](https://www.zero.xyz/host/x402.spendthebits.com/llms.txt)
