{"uid":"cap_AVGHgViVeY2IcQ6dDp70d","slug":"sec-ratio-engine-ttm-financial-ratios-0dd4b312","name":"SEC Ratio Engine – TTM Financial Ratios","description":"TTM SEC Ratio calculation for GME","url":"https://mtbandy--sec-ratio-engine-serve-app.modal.run/ratios/GME","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"},"method":{"type":"string"},"queryParams":{"type":"object","required":["ticker","price"],"properties":{"price":{"type":"number","description":"Required: Current stock price in USD"},"ticker":{"type":"string","description":"Stock ticker symbol (e.g. NVDA)"}}}}},"output":{"type":"object","properties":{"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","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.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_yrb5pCC4I0k23g1ewBXhj","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Calculates trailing twelve-month (TTM) SEC-derived financial ratios for a given stock ticker and current price","exampleAgentPrompt":"What are the TTM SEC-based financial ratios for GME right now? The current stock price is $24.50.","exampleUseCases":[{"title":"GameStop valuation deep-dive","prompt":"Pull the trailing twelve-month SEC financial ratios for GME — the stock is currently trading at $24.50. I want to see how it's valued on fundamentals."},{"title":"Meme stock fundamental screening","prompt":"Can you compute the TTM SEC ratios for AMC with a current price of $4.80? I'm trying to understand the fundamental picture before making a decision."},{"title":"Automated earnings-season ratio refresh","prompt":"After each earnings release, recalculate the TTM SEC ratios for NVDA at its latest closing price of $875.00 so I can track how the fundamentals shift quarter over quarter."}],"resultDescription":"Returns a set of trailing twelve-month financial ratios derived from SEC filing data for the requested ticker, incorporating the supplied current stock price to compute valuation multiples such as P/E, P/B, and other key fundamental metrics.","failureModes":["Invalid or unsupported ticker symbol returns an error or empty result","Missing required 'price' query parameter causes a validation error","Price supplied as non-numeric value results in schema validation failure","SEC filing data unavailable or stale for the requested ticker","Network timeout or Modal cold-start latency on first invocation"],"whenToPreferThis":"Use this endpoint when you need TTM financial ratios computed directly from SEC filing data for a specific stock ticker and you can supply the current market price. It is especially useful for fundamental analysis workflows, valuation screens, or when you want ratios grounded in official regulatory filings rather than third-party data aggregators.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T16:46:27.576Z","isFirstParty":false}