{"uid":"cap_ZluMB2dfiR1zNLMCwCQDB","slug":"finance-toon-haus-a27ff13a","name":"Stock Financial Metrics (P/E, PEG, Margins, ROE, Growth, Beta)","description":"P/E, PEG, margins, ROE, growth, beta","url":"https://finance.toon.haus/api/stock/metrics","method":"GET","headers":{},"bodySchema":{"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}}},"responseSchema":null,"example":{"request":{"input":{"type":"http","method":"GET","queryParams":{"ticker":"AAPL"}}},"response":{"growth":{"epsGrowthTTM":29.01,"revenueGrowthTTM":12.76,"revenueGrowthQuarterly":16.6},"ticker":"AAPL","trading":{"beta":1.0960802,"week52Low":195.07,"week52High":317.4,"avgVolume3M":45.75741,"avgVolume10D":52.88318},"dividends":{"yield":0.3609143162678786,"payoutRatio":12.69},"valuation":{"pe":35.5696,"peg":null,"forwardPE":35.5696,"evToEbitda":34.0555,"priceToBook":34.0011,"priceToSales":9.6578},"profitability":{"roa":34.02,"roe":146.69,"netMargin":27.15,"grossMargin":47.86,"operatingMargin":32.64}}},"exampleRequest":{"ticker":"AAPL"},"tags":["x402"],"displayCostAmount":"0.005","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_4vyiBTnaGWG9vlZT56Gnw","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns key fundamental financial metrics for a stock including P/E ratio, PEG ratio, profit margins, return on equity, growth rates, and beta","exampleAgentPrompt":"Can you pull up the fundamental metrics for NVDA — specifically the P/E, PEG ratio, profit margins, ROE, and beta?","exampleUseCases":[{"title":"Compare valuation across tech stocks","prompt":"I'm looking at Microsoft, Apple, and Google — can you grab the P/E and PEG ratios for all three so I can see which one looks like the better value right now?"},{"title":"Screen for undervalued growth companies","prompt":"Find me a few stocks trading at a low PEG ratio with strong earnings growth — I want to identify companies that might be underpriced relative to their growth potential."},{"title":"Assess company profitability and efficiency","prompt":"Pull the profit margins and ROE for Tesla and General Motors so I can compare how efficiently each company is actually running their business."}],"resultDescription":"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).","failureModes":["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"],"whenToPreferThis":"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.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T18:45:04.652Z","isFirstParty":false}