# Stock Financial Metrics (P/E, PEG, Margins, ROE, Growth, Beta)

> Stock Financial Metrics (P/E, PEG, Margins, ROE, Growth, Beta) is a paid API for AI agents from finance.toon.haus, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-15).

Returns key fundamental financial metrics for a stock including P/E ratio, PEG ratio, profit margins, return on equity, growth rates, and beta

## Facts

- Endpoint: GET https://finance.toon.haus/api/stock/metrics
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/finance-toon-haus-a27ff13a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ZluMB2dfiR1zNLMCwCQDB

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 finance-toon-haus-a27ff13a
```

Example prompt: Can you pull up the fundamental metrics for NVDA — specifically the P/E, PEG ratio, profit margins, ROE, and beta?

## When to prefer this

Use this endpoint when you need a comprehensive snapshot of a stock's fundamental financial health in a single call — covering valuation, profitability, growth, and risk. Prefer this over price/OHLCV endpoints when the goal is investment analysis or screening rather than technical trading. Ideal for comparing stocks on fundamental criteria or evaluating whether a stock is overvalued/undervalued.

## Known failure modes

- Invalid or unrecognized ticker symbol returns an error or empty result
- Metrics unavailable for OTC or thinly-traded stocks
- Data may be stale if underlying financial data provider hasn't updated recently
- Payment failure (402) if USDC balance is insufficient
- Rate limiting if too many requests are made in quick succession

## How this service works

P/E, PEG, margins, ROE, growth, beta

## Output

Returns a structured set of fundamental financial metrics for the requested stock ticker, including valuation ratios (P/E, PEG), profitability metrics (gross/net/operating margins, ROE), growth rates (revenue and earnings), and risk measure (beta).

## 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"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {}
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/finance-toon-haus-a27ff13a/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from finance.toon.haus](https://www.zero.xyz/host/finance.toon.haus/llms.txt)
