{"uid":"cap_loe7WDpmbjJLAtVtSi1vo","slug":"gloom-fundamentals-metrics-api-9e8377a0","name":"Gloom Fundamentals Metrics API","description":"Gloom is a free, open-source finance terminal for desktop and TUI with charts, news, filings, portfolios, alerts, and plugins.","url":"https://api.gloom.sh/v1/fundamentals/metrics?utm_source=zero.xyz","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","required":["symbols"],"properties":{"symbols":{"type":"string"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"data":[{"eps":20.76,"symbol":"AAPL","pegRatio":4.71,"forwardPE":37.964066,"marketCap":420461051904,"trailingPE":45.70544,"enterpriseValue":406418620416,"financialCurrency":"USD","marketCapCurrency":"USD","enterpriseToRevenue":1.341}]}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.6","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.6/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.6","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.6","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_So4vfHnqI_xQyq_4Bobfx","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.6","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 (EPS, P/E ratios, market cap, enterprise value, PEG ratio) for one or more stock symbols.","exampleAgentPrompt":"Pull the key fundamental metrics for AAPL and TSLA — I need their EPS, trailing and forward P/E, PEG ratio, market cap, and enterprise value.","exampleUseCases":[{"title":"Pre-investment valuation check","prompt":"Before I buy shares in Microsoft and Nvidia, can you grab their EPS, P/E ratios, PEG ratio, and enterprise value so I can compare their valuations?"},{"title":"Portfolio fundamentals snapshot","prompt":"Give me a quick fundamentals snapshot for my holdings — AAPL, GOOGL, AMZN, and META — including market cap, trailing PE, forward PE, and EPS for each."},{"title":"Equity research screening","prompt":"I'm screening for undervalued stocks. Pull the PEG ratio, forward P/E, and enterprise-to-revenue ratio for INTC, AMD, and QCOM so I can see which looks cheapest."}],"resultDescription":"Returns a JSON array under 'data' where each element corresponds to a requested symbol and includes: EPS, trailing P/E, forward P/E, PEG ratio, market cap (with currency), enterprise value, enterprise-to-revenue ratio, and the financial reporting currency.","failureModes":["Missing or invalid 'symbols' query parameter returns an error","Unrecognized or delisted ticker symbols may return empty data or partial results","Rate limiting or payment failure (x402) may block the request","Non-equity instruments (crypto, ETFs) may not have all fundamental fields populated"],"whenToPreferThis":"Use this endpoint when you need core equity fundamental metrics — valuation ratios, earnings per share, and market capitalization — for one or more public stocks in a single call. Prefer it over generic financial data APIs if you specifically want EPS, P/E, PEG, and enterprise value in a lightweight, structured response without a heavyweight data subscription.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-01T06:57:43.894Z","isFirstParty":false,"canonicalSlug":"gloom-fundamentals-metrics-api-9e8377a0"}