# 2s.io Stock Fundamental Metrics

> 2s.io Stock Fundamental Metrics is a paid API for AI agents from 2s.io, paid per call via x402, $0.0025/call, status unknown (last checked 2026-09-14).

Returns key valuation, margin, profitability, and 52-week price statistics for a US-listed stock by ticker symbol

## Facts

- Endpoint: GET https://2s.io/api/stocks/metrics
- Price: $0.0025/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/2s-io-stock-fundamental-metrics-5c2ae54c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_IfzBYVZKYbMwAuuZs1ehM

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-stock-fundamental-metrics-5c2ae54c
```

Example prompt: Can you pull up the key fundamental metrics for Tesla — things like P/E, EV/EBITDA, net margin, ROE, debt/equity, and the 52-week high/low?

## When to prefer this

Use this endpoint when you need a broad set of pre-computed fundamental and valuation metrics for a US-listed stock in a single call, avoiding the need to derive ratios from raw SEC filings yourself. Prefer this over XBRL/SEC EDGAR endpoints when you want ready-made ratios like EV/EBITDA, PEG, and price return statistics rather than raw financial statement data.

## Known failure modes

- Invalid or unrecognized ticker returns an error or empty metric map
- Non-US-listed tickers may return no data or partial results
- Missing ticker query parameter returns a 400 bad request
- Data may lag for recently IPO'd companies or tickers with sparse coverage
- Payment failure (x402) if USDC balance is insufficient

## How this service works

Key fundamental metrics and 52-week price statistics for a US-listed company. Pass ticker; returns headline valuation, margin, and per-share figures — P/E, P/B, P/S, PEG, EV/EBITDA, gross/operating/net margins, ROE, ROA, current ratio, debt/equity, dividend yield, beta, 52-week high/low, and YTD/52-week price returns — plus the full Finnhub metric map under `metric`. Computed ratios you would otherwise derive yourself from raw filings. Market & fundamental data by Finnhub.

## Output

A structured JSON response containing headline valuation ratios (P/E, P/B, P/S, PEG, EV/EBITDA), profitability margins (gross, operating, net), return metrics (ROE, ROA), liquidity and leverage ratios (current ratio, debt/equity), dividend yield, beta, 52-week high/low prices, YTD and 52-week price returns, plus the full Finnhub metric map under a `metric` key.

## 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-stock-fundamental-metrics-5c2ae54c/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)
