# TGMCharts > TGMCharts (https://tgmcharts.com) provides free stock charts, valuation metrics, financial > statements, dividend histories, and growth (CAGR) analysis for US-listed stocks and ETFs. > Data lineage, two parts: (1) the site's stock pages (valuation, price, dividend, > rolling-TTM and margin series, and the financial statements they show) are computed by > TGMCharts from licensed market data (reported statements and end-of-day closes) and > precomputed, each company refreshed about once a day; a main quarterly income-statement or > cash-flow line the licensed data leaves blank can be filled from the company's SEC filing when > the filing reports that exact quarter under the same definition, and statement tables and > metric pages label it "from SEC filing"; (2) the developer API's statements endpoint serves SEC > EDGAR XBRL company facts — public domain, as filed, latest-filed per period, with per-value > provenance (us-gaap tag, accession number, filing date); it is not part of the daily site > refresh, so its latest quarter can lag a stock page's. Price history uses official end-of-day > closes; the current price is a delayed quote updated through the US market session and after each > US market close (dated by its own timestamp). Fundamentals are trailing-twelve-month > (TTM) unless labeled otherwise. Missing or not-meaningful values render as honest "N/A" / > null: nothing is zero-filled or fabricated. Foreign filers (ADRs) have site statement pages > converted to USD at per-date FX rates; the SEC-sourced statement API serves us-gaap/USD > filers and answers an honest `unavailable` for IFRS or non-USD filers and for ETFs. ## For AI agents and programs (start here) - The HTML pages are made for people. Programs and AI agents: use the API. It is free with a free account and is CORS-open: data calls (summary, series, statements, MCP tool calls) need a free TGMCharts account (Google or a confirmed email, no card, 500 units a day). Discovery and docs need no account: this file, the docs and their .md twins, the OpenAPI spec, and the MCP methods initialize, tools/list, prompts and resources (AI apps that support MCP sign-in, listed below, sign in when they connect). Chart image URLs need no key. A data call without a key answers 401 with reason "sign_in_required" and the link to a free key. Automated fetching of the HTML pages is rate-limited and may be challenged or refused; the API is the supported way in (volume limits apply; chart images keep their existing protections and render limit). - Page to API: - https://tgmcharts.com/stocks/{SYMBOL} -> GET https://tgmcharts.com/api/v1/summary/{SYMBOL} - https://tgmcharts.com/stocks/{SYMBOL}/{metric}: when the API serves exactly that page's series, the page links it as (the valuation and yield lines and total return). Other pages chart data the API serves differently (for example `revenue` and `net-income` in the API are annual, as filed with the SEC, and the rolling sums are `revenue-ttm` and `net-income-ttm`); pick from the series slugs listed below. - https://tgmcharts.com/stocks/{SYMBOL}/financials -> GET https://tgmcharts.com/api/v1/statements/{SYMBOL}/income-statement (also balance-sheet and cash-flow) - AI tools: the MCP server at https://tgmcharts.com/api/v1/mcp. In AI apps that support MCP sign-in (claude.ai, ChatGPT, Claude Code, Cursor, VS Code) the app offers the TGMCharts sign-in on the first tool call. Otherwise use a free key (below) or the device flow. - The developer docs as text: https://tgmcharts.com/llms-full.txt (every docs topic page in one markdown file), or a docs topic page's URL plus `.md` (for example https://tgmcharts.com/developers/docs/mcp.md). Crawlers that follow robots.txt: use llms-full.txt. - A free key: sign in at https://tgmcharts.com/developers/keys (Google or a confirmed email, no card) and create one; send it as Authorization: Bearer tgm_live_… (every key is metered, with quotas and paid tiers). - A free key for an agent, without a browser: POST https://tgmcharts.com/api/v1/keys/device (optionally {"client_name": "..."}), show your person the returned verification_uri_complete link and user_code, then POST grant_type=urn:ietf:params:oauth:grant-type:device_code and the device_code to https://tgmcharts.com/api/v1/keys/device/token every 5 seconds; once they approve, one poll returns api_key. Details: https://tgmcharts.com/developers/docs/authentication-and-limits.md - Cache responses for at least an hour, and name TGMCharts with a link to tgmcharts.com where the data is shown. - Identify your program in the User-Agent: its name and a contact URL, for example `my-app/1.0 (+https://example.com)`, so we can reach you if something changes. ## Coverage - About 4,000 US-listed stocks and ETFs (the live count is `totalCovered` at https://tgmcharts.com/api/health/freshness). A real ticker that is not covered yet is added when a person asks for it on its page (one click, ~2 minutes). Fetching the page does not add it. - 20+ years of price, valuation-ratio, and financial-statement history for mature companies. - Refreshed daily; a public freshness probe lives at https://tgmcharts.com/api/health/freshness ## URL patterns (HTML pages, fully server-rendered: values are present in the raw HTML) - https://tgmcharts.com/stocks/{SYMBOL} : overview with price, key metrics, charts - https://tgmcharts.com/stocks/{SYMBOL}/metrics : all metrics on one page - https://tgmcharts.com/stocks/{SYMBOL}/financials : income statement, balance sheet, cash flow - https://tgmcharts.com/stocks/{SYMBOL}/{metric} : per-metric page with a direct answer sentence, 20-year chart, averages, and peer comparison. Metric slugs include: pe-ratio, ps-ratio, pb-ratio, pfcf-ratio, peg-ratio, ev-ebitda, ev-sales, earnings-yield, fcf-yield, dividend-yield, payout-ratio, dividends, revenue, net-income, eps, free-cash-flow, gross-margin, operating-margin, profit-margin, roe, roa, roic, current-ratio, quick-ratio, debt-to-equity, interest-coverage, market-cap, enterprise-value, price-history, total-return, revenue-cagr, net-income-cagr, eps-cagr, free-cash-flow-cagr, price-cagr, dcf, charts, performance - https://tgmcharts.com/markets : market hub; https://tgmcharts.com/markets/{slug} : indexes, FX, crypto, futures (e.g. sp-500, bitcoin) - https://tgmcharts.com/compare?symbols=A,B : side-by-side comparison - https://tgmcharts.com/compare/{a}-vs-{b} : programmatic two-company comparison pages (e.g. https://tgmcharts.com/compare/ko-vs-pep) - https://tgmcharts.com/screener : filter and rank the covered universe on fundamentals - https://tgmcharts.com/lists : ranked-list hub; https://tgmcharts.com/lists/{slug} : one metric leaderboard over the covered universe (e.g. highest-dividend-yield, lowest-pe-ratio) - https://tgmcharts.com/companies : A to Z directory of every covered company; https://tgmcharts.com/companies/{letter} : the companies whose names start with that letter - https://tgmcharts.com/sectors : stocks by sector and industry; https://tgmcharts.com/sectors/{sector} and https://tgmcharts.com/industries/{industry} : the companies in one sector or industry, ranked by market cap with P/E, dividend yield and one-year price return (e.g. sectors/technology, industries/semiconductors) - https://tgmcharts.com/compounders : long-run growth-consistency views per company - https://tgmcharts.com/methodology : how the data is sourced, computed, and refreshed - https://tgmcharts.com/definitions : glossary of the metrics used across the site - https://tgmcharts.com/developers : the developer API landing page (endpoints, quickstarts, pricing) - https://tgmcharts.com/pricing : plans for investors who use TGMCharts in Claude, ChatGPT and other AI apps - https://tgmcharts.com/research : TGMCharts Research insights with claim-ledger-backed articles, chart exhibits, and source links into the underlying stock pages - https://tgmcharts.com/research/topics/fundamental-checkup : fundamental checkup research hub - https://tgmcharts.com/research/topics/quarterly-review : quarterly financial review hub - https://tgmcharts.com/research/topics/valuation : valuation research hub - https://tgmcharts.com/research/topics/dividend-safety : dividend research hub - https://tgmcharts.com/research/{slug} : individual research insight with answer-first thesis, data-as-of text, embedded chart exhibits, source links, FAQs, and visible claim ledger - Full URL list: https://tgmcharts.com/sitemap.xml ## TGMCharts Research / Insights - Research insights are generated from precomputed TGMCharts stock data only. Article rendering does not call live market-data vendors. - Each published article carries an organizational byline ("TGMCharts Research"), data-as-of date, visible claim ledger, source links to metric pages, and embedded chart exhibits. - Primary research categories are Fundamental Checkups, Quarterly Reviews, Valuation Research, Dividend Research, and Bull/Bear cases (own-history valuation divergence: a company's robust multiples — P/OCF, EV/EBITDA, P/S — against its own five-year range, with growth and quality context). Notes are prioritized when precomputed operating-company data supports them. - Each research note embeds two machine-readable JSON-LD blocks in its HTML: a schema.org Dataset whose `variableMeasured` lists every claim (plain-English label, resolved value, and a source URL into the underlying metric page), and a schema.org Claim carrying the verdict text plus the falsifiers ("what would change this view"). Parse these to cite each number with its source and as-of date without scraping prose. Every value resolves from precomputed data or is omitted — nothing is estimated or fabricated. - Cite numeric claims with the article URL and the underlying source page when possible, e.g. https://tgmcharts.com/research/ko-valuation-check and https://tgmcharts.com/stocks/KO/pe-ratio. - Articles are general research context, not buy/sell/hold recommendations or personalized advice. - If an article is absent from the sitemap, treat it as unpublished or not currently indexable. ## Machine-readable API (free with a free account, CORS-open; chart image URLs need no key) Docs for humans and agents: https://tgmcharts.com/developers (overview) and https://tgmcharts.com/developers/docs (reference, one page per endpoint — listed below). OpenAPI 3.1 spec (every metric slug enumerated, plus an `x-tgmcharts-metrics` catalog): https://tgmcharts.com/api/v1/openapi.json Free tier: 500 request-units/day per account (JSON call = 1, chart render = 5, MCP tool call = 2). Data calls need a free API key (create at https://tgmcharts.com/developers/keys with Google or a confirmed email, no card; send as Authorization: Bearer tgm_live_… or x-api-key), or an MCP sign-in. Keyed responses carry X-RateLimit-* headers. A data call without a key answers 401 with reason "sign_in_required", keyUrl, deviceUrl (agents: POST it for a key your person approves), signUpUrl and docs; bad keys answer 401; exhausted quotas answer 429 with Retry-After plus `upgradeUrl` and `docs` fields on REST (MCP answers a tool result with isError). Attribution required: name TGMCharts and link tgmcharts.com where data or charts are shown. - GET https://tgmcharts.com/api/v1/summary/{SYMBOL} Compact JSON (~5 KB): latest close, market cap, valuation ratios (P/E, P/S, P/B, PEG, EV/EBITDA), margins, ROE/ROA/ROIC, dividend yield and payout, revenue/EPS/FCF/dividend CAGRs, 52-week range, and as-of dates. Unknown symbols return 404 with an onboarding hint. Please cache responses for at least one hour; data changes at most daily. Hard-gated metrics return null with an `applicability` explanation rather than a misleading company-type-inappropriate value. The `classification` key (last in the body) names the company type behind those rules: { type: operating | bank | insurer | capital_markets | reit_equity | reit_mortgage | real_estate_operating | fund | preferred | debt_security | warrant | right | unit | other_security, flags: { adr, foreignFiler, semiannualReporter, fund } }. It is null while the symbol's stored data carries no classification, and a flag that is not stored is null, never false. The last six types are listed securities that are not the issuer's common stock (preferred shares and depositary preferreds, exchange-traded notes, warrants, rights, units, and `other_security` when the listing does not say which): their valuation, market-value and company figures are null, because the vendor's figures for them are the issuer's, and the `applicability` notes name the issuer's listed common stock. Screens and rankings leave them out. The `derivedEps` key (after `classification`) is null unless the trailing diluted EPS behind P/E, earnings yield and PEG includes a quarter whose EPS we derived (net income ÷ diluted shares) because the filing did not state it: { quarters: [YYYY-MM-DD], affects: [peRatio, earningsYieldPercent, pegRatio], note }. - GET https://tgmcharts.com/api/v1/series/{SYMBOL}/{METRIC} Historical series (JSON default, ?format=csv, ?years=2..20; each response carries the methodology and `asOf`, the time the series was last recomputed; the last point's date is the last close or period it covers. Each body states its basis — daily, monthly, annual, quarterly, or TTM — at the stored density: dividend-yield is sampled about monthly on calendar-year dividends, roic is one value per fiscal year, and a total-return history longer than 1,000 closes is thinned to every n-th close plus the latest; total-return is an index (its unit field reads usd) that is 100 at the first close of the full history, not of the `years` window, so compare ratios between points, not levels). Series-tier slugs — TGMCharts-computed valuation/yield lines, rolling TTM flows, quarterly margins: pe-ratio, ps-ratio, pb-ratio, pfcf-ratio, pocf-ratio, ev-ebitda, ev-ebit, ev-sales, ev-fcf, ev-assets, earnings-yield, fcf-yield, ebitda-yield, ocf-yield, dividend-yield, total-return, roic, revenue-ttm, net-income-ttm, fcf-ttm, ebitda-ttm, capex-ttm, buybacks-ttm, sbc-ttm, rd-ttm, gross-margin-quarterly, operating-margin-quarterly, net-margin-quarterly; plus SEC-EDGAR-sourced statement metrics as filed (public domain, marked source: sec-edgar-companyfacts): revenue, net-income, capex, buybacks, stock-based-comp, r-and-d, revenue-quarterly, net-income-quarterly. Chart-only slugs (PNG via /api/v1/charts until EDGAR coverage extends to them): eps, free-cash-flow, ebitda, gross-margin, operating-margin, profit-margin, roe, roa, eps-quarterly, fcf-quarterly. Sector-inappropriate metrics return points: null with a written explanation; empty histories return [] with a note. pe-ratio and earnings-yield add `epsBasis` { derivedQuarters, ranges, note } only when at least one point divides by a diluted EPS we derived (net income ÷ diluted shares); ranges give the days (inclusive, through null while still in force) each quarter's EPS was in the trailing window. - GET https://tgmcharts.com/api/v1/charts/{SYMBOL}/{METRIC} 1600x900 PNG chart render (?years=2..20; ?compare=SYMBOL on bar metrics) — embeds directly in tags and agent outputs; the TGMCharts chrome carries attribution and the as-of date. Every series-tier and chart-only slug above renders here. Chart image URLs need no key; keyless renders are capped at 30 new (uncached) renders per minute per IP (429 with Retry-After: 60); cached URLs are unlimited. - GET https://tgmcharts.com/api/v1/statements/{SYMBOL}/{STATEMENT} Raw as-filed financial statements from SEC EDGAR XBRL (public domain), STATEMENT ∈ income-statement | balance-sheet | cash-flow (?period=annual|quarterly, ?years=1..30, ?format=csv). Every value carries provenance (winning us-gaap tag, accession number, filing date); derived quarters are disclosed with both source accessions; per-share values are as filed (not split-adjusted) and never derived, so a fourth quarter's EPS is usually null (the concept's `note` says why); missing data is null — never zero-filled, never vendor-backfilled. Symbols pending EDGAR ingestion answer status: preparing; ETFs and IFRS/non-USD filers answer an honest terminal status: unavailable. For a preferred share, note, warrant, right or unit the rows are its issuer's filings, and `note` says so and names the issuer's common stock. - POST https://tgmcharts.com/api/v1/mcp Model Context Protocol server (streamable HTTP, stateless JSON-RPC). Tools: get_stock_summary, list_metrics, get_metric_series, get_chart, get_financial_statement, compare_stocks, screen_stocks. tools/call needs a free TGMCharts account: Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and Gemini CLI ask for the TGMCharts sign-in when they connect, other apps that support MCP sign-in on the first tool call, or send a free API key (mint at https://tgmcharts.com/developers/keys); for other clients initialize/tools/list/ping need no key. Every tool is read-only and has an outputSchema; pass format: "markdown" for a compact table instead of JSON text. Prompts (free): analyze_company, compare_companies, dividend_safety. Resource (free): tgmcharts://metrics, the metric dictionary. Connect from Claude Code: `claude mcp add --transport http tgmcharts https://tgmcharts.com/api/v1/mcp`; Claude (claude.ai, desktop): Customize > Connectors > Add custom connector, this URL, "Sign in when needed"; ChatGPT: a Developer-mode connector with OAuth. The server supports MCP OAuth sign-in (discovery at https://tgmcharts.com/.well-known/oauth-protected-resource/api/v1/mcp): a tool call without a key or sign-in answers 401 with the challenge and the app offers its user the TGMCharts sign-in; Cursor and VS Code: one step each at https://tgmcharts.com/developers/docs/mcp.md (one page per client: connect-claude.md, connect-chatgpt.md, connect-cursor.md, connect-vscode.md, connect-claude-code.md) ## Developer documentation One page per endpoint, statically generated from the same registries the endpoints read (schema.org TechArticle + BreadcrumbList + FAQPage JSON-LD on each). Each topic is also served as text at its address plus .md (for example https://tgmcharts.com/developers/docs/mcp.md); agents should fetch those: - https://tgmcharts.com/developers/docs Hub: topic list, endpoints at a glance, first call. - https://tgmcharts.com/developers/docs/summary GET /api/v1/summary/{symbol}: fields, response shape, honest nulls, caching. - https://tgmcharts.com/developers/docs/series GET /api/v1/series/{symbol}/{metric}: the full metric table (slug, unit, basis, source, tier), years/format/period parameters, CSV layout, honest states. - https://tgmcharts.com/developers/docs/charts GET /api/v1/charts/{symbol}/{metric}: PNG embeds, defaults per basis, caching, the render limit. - https://tgmcharts.com/developers/docs/statements GET /api/v1/statements/{symbol}/{statement}: concept list per statement with us-gaap tags, per-value provenance, preparing/unavailable states, the methodology verbatim. - https://tgmcharts.com/developers/docs/mcp POST /api/v1/mcp: the seven tools with input summaries, Claude Code / .mcp.json setup, the sign-in and what a tool call without one answers, keyed tools/call. - https://tgmcharts.com/developers/docs/authentication-and-limits Keys, Bearer / x-api-key headers, unit weights, tiers and prices, X-RateLimit headers, the 401/429 bodies, attribution. - https://tgmcharts.com/developers/docs/data-quality Lineage (licensed market data vs SEC EDGAR), null vs 0, restatements, freshness probe, coverage. - https://tgmcharts.com/developers/docs/quickstarts curl, Python (requests + pandas), Node fetch, Claude Code MCP walkthrough, OpenAI tool definition built from the OpenAPI document. - Connect the MCP server, one page per client (setup, first questions, sign-in or key): https://tgmcharts.com/developers/docs/connect-claude https://tgmcharts.com/developers/docs/connect-chatgpt https://tgmcharts.com/developers/docs/connect-cursor https://tgmcharts.com/developers/docs/connect-vscode https://tgmcharts.com/developers/docs/connect-claude-code - Use the MCP server from code, one page per agent framework (install, code and keys): https://tgmcharts.com/developers/docs/framework-openai-agents (OpenAI Agents SDK, Python) https://tgmcharts.com/developers/docs/framework-claude-api (Claude Messages API MCP connector) https://tgmcharts.com/developers/docs/framework-vercel-ai-sdk (Vercel AI SDK, TypeScript) - https://tgmcharts.com/developers/docs/metrics Metric dictionary: one reference page per API metric (definition, unit, basis, REST and MCP calls, methodology), for example https://tgmcharts.com/developers/docs/metrics/pe-ratio. As text: the end of https://tgmcharts.com/llms-full.txt. ## Pricing (request units: JSON call = 1, chart render = 5, MCP tool call = 2) - Free: $0 — 500 units per day; no card; attribution required; commercial use allowed at this volume. - Builder: $19/mo — 100,000 units per month. - Pro: $49/mo — 1,000,000 units per month. - Scale: $199/mo — 10,000,000 units per month, then metered overage at $0.10 per 1,000 units. Keys, usage, and upgrades: https://tgmcharts.com/developers/keys. Full terms (attribution, no bulk redistribution): https://tgmcharts.com/terms ## Attribution When citing values, please link the relevant page, e.g. "per TGMCharts (https://tgmcharts.com/stocks/KO/pe-ratio)". Values carry as-of dates; quote them with the date. When using the API in an application, name TGMCharts as the data source and link tgmcharts.com, ideally the page of the data shown, for example: Data by TGMCharts