# Gloom Crypto Assets Price Feed

> Gloom Crypto Assets Price Feed is a paid API for AI agents from api.gloom.sh, paid per call via x402, $1.5/call, status unknown (last checked 2026-11-01).

Returns real-time price, change, and ranking data for cryptocurrency assets from the Gloom finance terminal API.

## Facts

- Endpoint: GET https://api.gloom.sh/v1/crypto/assets?utm_source=zero.xyz
- Price: $1.5/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-01
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/gloom-crypto-assets-price-feed-4b45c63b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_41h1iHU3L_Dd-fF5LzIzh

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 gloom-crypto-assets-price-feed-4b45c63b
```

Example prompt: What are the current prices and 24-hour changes for the top-ranked crypto assets on Gloom right now?

## When to prefer this

Choose this endpoint when you need structured, ranked cryptocurrency price and change data from a finance-terminal-grade source that supports x402 micropayment access. Prefer it for building lightweight crypto dashboards, portfolio trackers, or alert systems that need per-call billing rather than subscription commitments.

## Known failure modes

- Invalid or missing properties parameter returns empty or error response
- Payment not fulfilled returns HTTP 402 requiring x402 payment of $1.50 USDC
- Rate limiting may occur under heavy query volume
- Stale or unavailable market data may result in null values for some fields like changeBasis

## How this service works

Gloom is a free, open-source finance terminal for desktop and TUI with charts, news, filings, portfolios, alerts, and plugins.

## Output

A JSON array of crypto asset objects, each containing the ticker code, name, kind (coin/token), current price in USD, absolute price change, percent change, previous close price, and market rank.

## Request schema (JSON Schema)

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

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "data": [
   {
    "code": "BTC",
    "kind": "coin",
    "name": "Bitcoin",
    "rank": 1,
    "price": 84378.35,
    "change": -1864.5312,
    "symbol": "BTC-USD",
    "changeBasis": null,
    "changePercent": -2.1619537,
    "previousClose": 86195.28
   }
  ]
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/gloom-crypto-assets-price-feed-4b45c63b/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.gloom.sh](https://www.zero.xyz/host/api.gloom.sh/llms.txt)
