# AgentsToolsHub Stablecoin Metrics

> AgentsToolsHub Stablecoin Metrics is a paid API for AI agents from agentstoolshub.com, paid per call via x402, $0.02/call, status unknown (last checked 2026-10-27).

Returns live peg health, depeg distance, circulating supply, backing type, and per-chain supply breakdown for any stablecoin via DefiLlama data.

## Facts

- Endpoint: GET https://agentstoolshub.com/api/v1/crypto/stablecoin-metrics?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-27
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agentstoolshub-stablecoin-metrics-fe940d84
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_s5DyNun97qSDgN--N6t-N

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 agentstoolshub-stablecoin-metrics-fe940d84
```

Example prompt: Before we proceed with the swap, pull the current peg health for USDC — I want to see how close it is to $1, total circulating supply, backing type, and which chains hold the most of it.

## When to prefer this

Use this endpoint when an agent needs a quick, live health check on a specific stablecoin before executing a DeFi transaction, swap, or yield strategy — particularly when peg stability, supply size, backing type, and multi-chain distribution are all needed in a single call. Prefer this over generic market data APIs when stablecoin-specific due diligence (depeg distance, backing type, chain breakdown) is the primary requirement.

## Known failure modes

- Unknown or unsupported stablecoin symbol returns an error or empty result
- Stablecoin not indexed by DefiLlama returns no data
- Missing symbol query parameter may return a default or error
- Transient DefiLlama data source outage causes stale or unavailable metrics
- Newly launched stablecoins may not yet appear in the dataset

## How this service works

Live stablecoin health from DefiLlama: current price vs $1 peg, depeg distance, total circulating supply, backing type and the chain breakdown of where the supply lives. The due-diligence read before an agent touches a stablecoin. Use this when an agent needs to peg, supply and chains for any stablecoin.

## Output

Returns the stablecoin's current market price, distance from the $1 peg, total circulating supply, backing/collateral type (e.g. fiat-backed, crypto-backed, algorithmic), and a chain-by-chain breakdown of where the supply is held.

## 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"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [],
     "properties": {
      "symbol": {
       "type": "string",
       "description": "USDC, USDT, DAI, USDS…"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agentstoolshub-stablecoin-metrics-fe940d84/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agentstoolshub.com](https://www.zero.xyz/host/agentstoolshub.com/llms.txt)
