TTechAPI

Stock market data API: quotes, charts, financials and screeners

Yahoo Finance's public market data as clean JSON: real-time quotes for up to 100 symbols, OHLCV history from 1-minute bars, technical indicators, option chains, financial statements, news, 83 ready-made screeners and earnings calendars. 22 endpoints for stocks, ETFs, funds, indices, crypto, currencies and futures.

Yahoo Finance's public data; not affiliated with Yahoo. Not investment advice.

Get your API key

What you get

100 symbols per call

/quote takes up to 100 symbols and /spark 20, and each is still one call.

Indicators computed

SMA, EMA, RSI, MACD, Bollinger Bands and ADX, with the warm-up history fetched for you.

Fresh and fast

Quotes are cached for only 15 seconds, charts for minutes; fetchedAt shows when the data was fetched.

Yahoo's field names

Every field Yahoo sends, with its own names, so code written for Yahoo Finance data fits.

83 ready screens

Day gainers, most active, undervalued growth and more, or your own filters on about 90 fields.

Clear errors

statusCode, error and message in every error body. Errors on our side cost nothing.

Who it is for

Trading bots and backtests

Price history from 1-minute bars to the first trade, with indicators.

Portfolio trackers

Live quotes for a whole watchlist in one request.

Dashboards and spreadsheets

Market summary, movers, sectors and calendars for reports.

AI apps and agents

Give an LLM live prices, financials and news.

How to use it

  1. Sign up for free and copy your API key from the TTech API dashboard.
  2. Send the key in the x-api-key header with every call.
  3. Call any endpoint below at https://api.ttechapi.com/v1/stocks plus its path, as in the examples.

Quotes

EndpointRequiredReturnsCredits
GET /quotesymbolsReal-time quotes of up to 100 symbols: price, change, volume, ranges, market cap, P/E1 credit
GET /quote-typesymbolsName, type, exchange and time zone1 credit
GET /quote-summarysymbolProfile, statistics, earnings, recommendations, holders and more (44 modules)1 credit
GET /recommendationssymbolSimilar symbols with a score1 credit
GET /searchquerySymbols matching a company name or ticker1 credit
GET /newsqueryLatest news for a ticker or text1 credit

Charts

EndpointRequiredReturnsCredits
GET /chartsymbolOHLCV candles, dividends and splits, 1-minute to 3-month bars1 credit
GET /sparksymbolsClose prices of up to 20 symbols at once1 credit
GET /indicatorsymbol, indicatorSMA, EMA, RSI, MACD, Bollinger Bands or ADX1 credit
GET /optionssymbolOption chain with bid, ask, volume, open interest and IV1 credit

Company

EndpointRequiredReturnsCredits
GET /financialssymbolIncome statement, balance sheet and cash flow: annual, quarterly or trailing1 credit
GET /insightssymbolTechnical outlook, valuation and significant developments1 credit
GET /research-reportssymbolThe 25 newest analyst research reports1 credit

Markets and screeners

EndpointRequiredReturnsCredits
GET /market-summaryIndices, futures, yields, currencies and crypto of a region1 credit
GET /market-timeWhether the U.S. market is open, with today's hours1 credit
GET /trendingTrending symbols of a region1 credit
GET /screenerOne of 83 ready-made screens: DAY_GAINERS, MOST_ACTIVES, ...1 credit
POST /custom-screenerqueryYour own filters on market cap, P/E, sector, volume and more1 credit
GET /sectorkeyA sector: performance, top companies, ETFs and industries1 credit
GET /industrykeyAn industry: performance and top companies1 credit
GET /calendarEarnings, IPO, splits or economic-event calendar1 credit
GET /market-tickersYahoo's lists of currencies, commodities, bonds and world indices1 credit

Call it from code

cURL
curl -G "https://api.ttechapi.com/v1/stocks/quote" \
  --data-urlencode "symbols=AAPL" \
  -H "x-api-key: YOUR_API_KEY"

Answers from the API have the headers x-credits-used and x-credits-remaining. When our gateway refuses a call (wrong key, no credits left, too many requests), the body has statusCode, error, message and requestId, and nothing is charged. A missing or wrong key gets HTTP 401.

Input

ParameterTypeWhat it does
symbols / symbolstringYahoo symbols, comma-separated: AAPL, VOD.L, RELIANCE.NS, ^GSPC, BTC-USD, EURUSD=X, GC=F
intervalstring1m, 2m, 5m, 15m, 30m, 60m, 90m, 1h, 1d (default), 5d, 1wk, 1mo, 3mo
rangestring1d, 5d, 1mo (default), 3mo, 6mo, 1y, 2y, 5y, 10y, ytd, max; or start and end dates
indicatorstringsma, ema, rsi, macd, bbands or adx, with time_period and limit
modules, statement, frequencystringWhat /quote-summary and /financials return, e.g. statement=income,cashflow&frequency=quarterly
count, offsetintegerPaging on screeners and calendars, up to 250 a page

Output

Every answer has the same shape; data holds the rows with Yahoo's field names. GET /quote?symbols=AAPL,MSFT (shortened):

FieldWhat it is
statusCode, count200 and the number of rows
dataOne row per symbol: regularMarketPrice, regularMarketChangePercent, marketCap, trailingPE, ...
missingSymbols Yahoo does not know
errorsSymbols that failed this time while the others worked; ask again
metaAbout the whole answer, such as total on screeners
fetchedAtWhen the data was fetched

Errors look like {"statusCode": 404, "error": "NOT_FOUND", "message": "Symbol not found: NOTASYMBOL"}, with HTTP 200; check statusCode.

Example output
{
  "statusCode": 200,
  "count": 2,
  "data": [
    {
      "symbol": "AAPL",
      "regularMarketPrice": 351.19,
      "regularMarketChangePercent": -0.79
    },
    {
      "symbol": "MSFT",
      "regularMarketPrice": 475.46,
      "regularMarketChangePercent": -2.41
    }
  ],
  "meta": {},
  "missing": [],
  "errors": {},
  "fetchedAt": "2026-12-02T01:34:04.745Z"
}

Pricing

One API key and one credit balance for every TTech API.

From 1 credit per call

Every endpoint of this API costs 1 credit.

300 free credits, no credit card

Given once to try every endpoint, valid for 1 month.

Plans from $14.99/month

Build, Grow and Scale, or a custom plan.

Use it with AI agents

Our MCP server gives your assistant 5 tools for this API: stocks_search, stocks_quotes, stocks_history, stocks_financials, stocks_news. A tool call costs the same credits as the REST call. Pick your assistant:

Run this, then type /mcp in Claude Code and sign in to TTech.

Terminal
claude mcp add --transport http ttech https://mcp.ttechapi.com/mcp

Or install our Claude Code plugin from GitHub. It adds the same server and a YouTube research skill. Then type /mcp and sign in.

Terminal
claude plugin marketplace add ttechapi/claude-plugins
claude plugin install ttech@ttech

To skip the question before each tool call, add "mcp__ttech" to permissions.allow in .claude/settings.json.

More on MCP and every client: AI agents.

Brief for any LLM

Endpoints, inputs, outputs, examples and MCP setup in one Markdown text. Paste it into ChatGPT, Claude or Gemini and ask for the code you need. Also at /stock-market-data-api.md.

Good to know

  • Every call costs 1 credit, whatever its parameters.
  • Prices are as Yahoo has them: quoteSourceName and exchangeDataDelayedBy say whether a price is real-time or delayed.
  • Intraday history: 1m for about 7 days, 2m to 90m for about 60 days, 1h for about 2 years.
  • An answer over about 5 MB is refused; ask for a shorter range or a larger interval.
  • Errors from our side (5xx) are not billed.

FAQ

Is this the official Yahoo Finance API?

No. Yahoo has no official public API. This independent API returns Yahoo Finance's public data and is not affiliated with Yahoo.

Which markets are covered?

Whatever Yahoo Finance covers: US and international stocks, ETFs, funds, indices, crypto, currencies, futures and options.

Does it work for Indian stocks on the NSE and BSE?

Yes. Add .NS for the NSE or .BO for the BSE, such as RELIANCE.NS or TCS.BO; the Nifty 50 is ^NSEI and the Sensex is ^BSESN. Quotes, price history, financials and search work for them, with prices in INR. Their prices are delayed by 15 minutes.

Is it investment advice?

No. The data is for information only.

How much does a call cost?

Each call costs 1 credit. The Free plan gives 300 free credits once, valid for 1 month, with no credit card. Paid plans start at $14.99/month.

How fast can I call it?

Free allows 5 calls a second, Build 10, Grow 20 and Scale 50. Custom plans have their own limits.