# 2s.io Earnings Surprises

> 2s.io Earnings Surprises is a paid API for AI agents from 2s.io, paid per call via x402, $0.0025/call, status unknown (last checked 2026-10-10).

Returns historical quarterly EPS earnings surprises for a US-listed stock, showing actual vs consensus analyst estimate, absolute surprise, and surprise percentage (newest first).

## Facts

- Endpoint: GET https://2s.io/api/stocks/earnings-surprises?utm_source=zero.xyz
- Price: $0.0025/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-10
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/2s-io-earnings-surprises-9e754867
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_-Kq_VgjR58sjKMFrLCvsG

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 2s-io-earnings-surprises-9e754867
```

Example prompt: Has NVDA been beating or missing analyst earnings expectations recently? Show me the actual vs consensus EPS and the surprise percentage for the last few quarters.

## When to prefer this

Use this endpoint when you need historical EPS beat/miss data for a US-listed company to evaluate earnings quality, consistency, or analyst forecast accuracy. Prefer this over general financial data endpoints when the specific goal is comparing actual vs consensus EPS across recent quarters. Complements the sibling XBRL financials endpoint which covers broader accounting metrics.

## Known failure modes

- Invalid or unrecognized ticker symbol returns an error or empty result
- Non-US-listed tickers may not be supported
- Data may lag by a few days after earnings release
- Network or upstream Finnhub API outage returns a 5xx error
- Missing required 'ticker' query parameter returns a 400 error

## How this service works

Historical quarterly earnings surprises for a US-listed company — reported (actual) EPS vs the analyst consensus estimate, the absolute surprise, and the surprise percentage, for the most recent quarters (newest first). Pass ticker (optionally limit). Tells you whether a company has been beating or missing expectations. Data by Finnhub.

## Output

A list of quarterly records (newest first) each containing: the quarter date, the reported (actual) EPS, the analyst consensus EPS estimate, the absolute EPS surprise (actual minus estimate), and the surprise percentage — indicating whether the company beat or missed expectations that quarter.

## Example request

```json
{
 "input": {
  "type": "http",
  "method": "GET",
  "queryParams": {
   "ticker": "AAPL"
  }
 }
}
```

## 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",
    "queryParams"
   ],
   "properties": {
    "type": {
     "const": "http"
    },
    "method": {
     "const": "GET"
    },
    "queryParams": {
     "required": [
      "ticker"
     ],
     "properties": {
      "ticker": {
       "type": "string",
       "description": "US-listed ticker, e.g. AAPL."
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/2s-io-earnings-surprises-9e754867/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from 2s.io](https://www.zero.xyz/host/2s.io/llms.txt)
