# Gloom Market Tape API

> Gloom Market Tape API is a paid API for AI agents from api.gloom.sh, paid per call via x402, $0.12/call, status unknown (last checked 2026-11-01).

Fetches real-time market tape data (trades/quotes) for one or more financial symbols via the Gloom finance terminal API.

## Facts

- Endpoint: GET https://api.gloom.sh/v1/market/tape?utm_source=zero.xyz
- Price: $0.12/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-01
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/gloom-market-tape-api-c02192ec
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_M0uoWssbhL50JL_l8SSAr

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-market-tape-api-c02192ec
```

Example prompt: Pull the live market tape for AAPL, TSLA, and NVDA from Gloom right now so I can see the latest trade activity for those three stocks.

## When to prefer this

Choose this endpoint when you need real-time market tape data (trades/quotes) for one or more financial symbols and want a low-cost, open-source-backed API with x402 micropayment support. Prefer this over traditional market data APIs if you are building an autonomous agent that handles per-call micropayments via USDC on the x402 protocol, or if you are already integrated with the Gloom finance terminal ecosystem.

## Known failure modes

- Missing or empty `symbols` query parameter returns an error or empty data array
- Invalid or unrecognized ticker symbols may return empty data arrays with no error
- Payment not completed (x402 protocol) results in a 402 Payment Required response
- Rate limiting or quota exceeded may block requests
- Network timeout if upstream market data feed is delayed

## 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

Returns a JSON object with a `data` array containing market tape entries for the requested symbols, including trade and quote records with price, volume, and timing information for each symbol provided.

## 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": [
      "symbols"
     ],
     "properties": {
      "symbols": {
       "type": "string"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "data": []
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/gloom-market-tape-api-c02192ec/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)
