# DefiLlama Stablecoin Detail by ID

> DefiLlama Stablecoin Detail by ID is a paid API for AI agents from defillama.use.x402atlas.com, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-15).

Returns circulating-supply history and per-chain distribution for a single stablecoin identified by its DefiLlama asset ID.

## Facts

- Endpoint: GET https://defillama.use.x402atlas.com/stablecoin
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/defillama-stablecoin-detail-by-id-afb398ac
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_IGIdslrcYpE3S525AdkQ0

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 defillama-stablecoin-detail-by-id-afb398ac
```

Example prompt: Can you pull the circulating supply history and per-chain distribution for Tether from DefiLlama — the asset id is 1?

## When to prefer this

Use this endpoint when you need detailed, per-chain supply distribution or historical circulating supply data for a specific stablecoin by its DefiLlama asset ID. Prefer it over the aggregate stablecoins list endpoint when you need granular single-asset data rather than a summary across all stablecoins.

## Known failure modes

- Invalid or unknown asset ID returns an error or empty response
- Missing required 'asset' query parameter results in a 400 bad request
- DefiLlama upstream API outage causes 502 or timeout
- Non-numeric or malformed asset ID may return a 404 or error body

## How this service works

Stablecoin detail by DefiLlama — circulating-supply history and per-chain distribution for one stablecoin by id.

## Output

Returns a structured object containing the stablecoin's full historical circulating supply time series and a breakdown of current supply distributed across each blockchain network it operates on.

## 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": [
      "asset"
     ],
     "properties": {
      "asset": {
       "type": "string",
       "pattern": "^[^/?#]+$",
       "maxLength": 100,
       "minLength": 1,
       "description": "DefiLlama stablecoin id (e.g. 1 for Tether)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "required": [
      "queried_at",
      "data"
     ],
     "properties": {
      "data": {
       "type": "object",
       "properties": {
        "name": {
         "type": "string"
        },
        "symbol": {
         "type": "string"
        },
        "chainBalances": {
         "type": "object",
         "description": "Circulating-supply history per chain, keyed by chain name"
        }
       },
       "description": "Full stablecoin record relayed verbatim from DefiLlama"
      },
      "queried_at": {
       "type": "string",
       "format": "date-time",
       "description": "Time the upstream was queried"
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "data": {
   "name": "Tether",
   "symbol": "USDT",
   "chainBalances": {
    "Ethereum": {}
   }
  },
  "queried_at": "2026-07-01T12:00:00Z"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/defillama-stablecoin-detail-by-id-afb398ac/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from defillama.use.x402atlas.com](https://www.zero.xyz/host/defillama.use.x402atlas.com/llms.txt)
