Stock API · NASDAQ
Tesla Inc. (TSLA) Stock API - Real-Time Quotes & Historical Data
Access real-time stock quotes, OHLCV historical data and WebSocket streams for Tesla Inc. (TSLA) on NASDAQ. Free API key included.
- Real-time quote for TSLA on NASDAQ
- OHLCV historical K-line data from 1-min to monthly
- WebSocket streaming for real-time price updates
- Free API key to start - simple REST & WebSocket access
TSLA.US
Tesla Inc. · NASDAQ · USD
—
—
- Open
- —
- High
- —
- Low
- —
- Prev close
- —
Snapshot from the iTick API, refreshed every few minutes
About
Tesla, Inc. is an American multinational automotive and clean energy company headquartered in Austin, Texas. It designs, manufactures, and sells electric vehicles, battery energy storage, and solar energy solutions. Listed on NASDAQ under TSLA.
Consumer CyclicalElectric Vehicles
Stock API features for Tesla Inc.
Everything you need to integrate Tesla Inc. market data into your application.
Real-time quotes
Live bid/ask prices for TSLA with millisecond latency via REST and WebSocket.
OHLCV K-line data
Historical bars from 1-minute to monthly, ideal for charting and backtesting.
Tick-by-tick data
Every trade and quote update, ideal for high-frequency analysis and order-book modeling.
Global coverage
One stock API for NASDAQ and 50+ other exchanges worldwide.
REST + WebSocket
Poll via REST for historical data, stream via WebSocket for real-time updates.
Simple authentication
Just an API token in the header - no OAuth, no complex setup required.
Get Tesla (TSLA) stock data with Python
Query real-time quotes and historical K-line data for TSLA via REST API.
- 1Sign up and get your free API token
- 2Use the /stock/quote endpoint for real-time prices
- 3Use /stock/kline for OHLCV historical bars
import requests
import pandas as pd
# kType = bar interval (1 = 1-minute ... 10 = monthly, see docs)
url = "https://api.itick.org/stock/kline"
params = {"region": "US", "code": "TSLA", "kType": 8, "limit": 500}
headers = {"accept": "application/json", "token": "YOUR_API_TOKEN"}
bars = requests.get(url, params=params, headers=headers, timeout=10).json()["data"]
df = pd.DataFrame(bars).rename(columns={
"t": "time", "o": "open", "h": "high", "l": "low", "c": "close", "v": "volume"
})
df["time"] = pd.to_datetime(df["time"], unit="ms")
df.to_csv("TSLA_ohlcv.csv", index=False)
print(df.tail())FAQ: Tesla Inc. (TSLA) Stock Data API
How do I get real-time Tesla Inc. (TSLA) price data?
Sign up for a free iTick account, get your API token, and call the /stock/quote endpoint with region=US&code=TSLA. You can also subscribe via WebSocket for live streaming updates.
What data is available for Tesla Inc. (TSLA)?
iTick provides real-time quotes (price, bid/ask, volume), OHLCV K-line bars from 1-minute to monthly, and tick-by-tick trade data for Tesla Inc. on NASDAQ.
Is there a free plan for Tesla Inc. (TSLA) data?
Yes. iTick offers a free plan that includes real-time quotes, historical K-line and tick data for personal use and evaluation. Paid plans add higher rate limits and commercial usage rights.
How do I access Tesla Inc. (TSLA) historical data?
Use the /stock/kline endpoint with region=US&code=TSLA and choose your interval via the kType parameter (1=1min, 8=daily, etc.).
Related APIs & Solutions
Connect to Real-Time Financial Data Now
Get a free API key and access real-time quotes, historical data and WebSocket streams in minutes.