# Gloom Earnings Data API

> Gloom Earnings Data 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).

Returns upcoming and historical earnings announcements for publicly traded stocks, including EPS actuals, estimates, fiscal period, and timing data.

## Facts

- Endpoint: GET https://api.gloom.sh/v1/earnings?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-earnings-data-api-60809063
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_JgJuIPvFTl2UkK4EauzEk

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-earnings-data-api-60809063
```

Example prompt: What are Apple's latest earnings results — did they beat EPS estimates, and when did they report for fiscal period 2025-09?

## When to prefer this

Choose this endpoint when you need structured earnings data including EPS actuals, estimates, and fiscal period details for individual stocks. It is well-suited for portfolio monitoring, earnings calendar lookups, and beat/miss analysis. Prefer this over general financial news APIs when you need machine-readable EPS data rather than narrative coverage.

## Known failure modes

- Missing or invalid ticker symbol returns empty data array
- Requested date range with no earnings data returns empty results
- Malformed query parameters may result in a 400 error
- Paid endpoint — insufficient payment (x402 protocol) results in 402 Payment Required
- Data for very recent or future earnings may have null fields for actuals and timing

## 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 array of earnings records, each containing the reporting date, company name, ticker symbol, EPS actual, EPS estimate, market capitalization, fiscal period (e.g. '2025-09'), earnings timing (pre/post market or null), and the timestamp of when it was reported.

## Request schema (JSON Schema)

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

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "data": [
   {
    "date": "2025-10-30",
    "name": "Apple Inc.",
    "symbol": "AAPL",
    "timing": null,
    "epsActual": 1.85,
    "marketCap": 4902477100000,
    "reportedAt": null,
    "epsEstimate": 1.73,
    "fiscalPeriod": "2025-09",
    "timingSource": null
   }
  ]
 }
}
```

## More

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