Logo
AXION

Stocks Quote

Stocks API

The Stocks API provides comprehensive equity market data for publicly traded companies worldwide. This API supports multiple time frame aggregations. Essential for stock analysis, portfolio management, and trading strategy development.

GET/stocks/:ticker/quote

Retrieves a comprehensive quote for a specific stock ticker. Returns the latest OHLC values, exponential moving averages (EMA30, EMA60, EMA90, EMA120), 52-week range statistics, year-to-date performance, and volume data for comprehensive market analysis.

Path Parameters

ParameterTypeRequiredDescription
tickerstringRequiredStock ticker symbol (e.g., "AAPL", "MSFT")

Examples:

https://api.axionquant.com/stocks/AAPL/quote
https://api.axionquant.com/stocks/MSFT/quote

Response Fields

latestClose number

Most recent closing price

latestOpen number

Most recent opening price

latestHigh number

Most recent high price

latestLow number

Most recent low price

previousClose number

Previous closing price

week52Range object

52-week high/low range { high: number, low: number }

week52AvgClose number

Average closing price over the trailing 52 weeks

ema30 number

30-period exponential moving average

ema60 number

60-period exponential moving average

ema90 number

90-period exponential moving average

ema120 number

120-period exponential moving average

ytdClosePctChange number

Year-to-date closing price percentage change

volume number

Most recent trading volume

avgVolumeLifetime number

Lifetime average trading volume

|

Stock Quote

Request

Sample code
1from axion import Axion
2client = Axion(api_key='axn_123')
3
4quote = client.stocks.quote('AAPL')
5print(quote)

Response

{
  "latestClose": 150.25,
  "latestOpen": 151.1,
  "latestHigh": 152.34,
  "latestLow": 149.87,
  "previousClose": 149.45,
  "week52Range": {
    "high": 180.12,
    "low": 120.34
  },
  "week52AvgClose": 150.05,
  "ema30": 152.12,
  "ema60": 148.34,
  "ema90": 145.56,
  "ema120": 142.78,
  "ytdClosePctChange": 2.345,
  "volume": 50000000,
  "avgVolumeLifetime": 45000000
}

Stocks API

The Stocks API provides comprehensive equity market data for publicly traded companies worldwide. This API supports multiple time frame aggregations. Essential for stock analysis, portfolio management, and trading strategy development.

GET/stocks/:ticker

Retrieves detailed metadata for a specific stock ticker.

Path Parameters

ParameterTypeRequiredDescription
tickerstringRequiredStock ticker symbol (e.g., "MSFT", "AAPL", "GOOGL")

Examples:

https://api.axionquant.com/stocks/AAPL
https://api.axionquant.com/stocks/MSFT

Response Fields

id number

Unique identifier for the stock

name string

Full company name

ticker string

Stock ticker symbol

symbol string

Full symbol with exchange prefix

exchange string

Exchange where stock is listed

market string

Market region (e.g., "america")

country string

Country of incorporation/listing

type string

Security type (e.g., common stock, preferred stock, dr)

sector string

Company sector classification

industry string

Company industry classification

currency string

Trading currency (e.g., USD)

lastClose number

Most recent closing price

changePct number

Percentage change since last close

|

Stock Ticker Details

Request

Sample code
1from axion import Axion
2client = Axion(api_key='axn_123')
3
4ticker = client.stocks.ticker('AAPL')
5print(ticker)

Response

{
  "id": 17640,
  "name": "Apple Inc.",
  "ticker": "AAPL",
  "symbol": "NASDAQ:AAPL",
  "exchange": "NASDAQ",
  "market": "america",
  "country": "United States",
  "type": "common stock",
  "sector": "Electronic Technology",
  "industry": "Telecommunications Equipment",
  "currency": "USD",
  "lastClose": 297.78500366,
  "changePct": 0.260931909533994
}

Stocks API

The Stocks API provides comprehensive equity market data for publicly traded companies worldwide. This API supports multiple time frame aggregations. Essential for stock analysis, portfolio management, and trading strategy development.

GET/stocks/:ticker/prices

Retrieves comprehensive historical price data for a specific stock. This powerful endpoint supports multiple time frame aggregations (daily, weekly, monthly, quarterly, yearly) and time-based filtering.

Path Parameters

ParameterTypeRequiredDescription
tickerstringRequiredStock ticker symbol (e.g., "AAPL", "MSFT", "GOOGL")

Query Parameters

ParameterTypeRequiredDescription
framestringOptional

Time frame for price aggregation. Default: daily.

Value(s)Resolves to
daily, day, ddaily
weekly, wweek
monthly, month, mmonth
quarterly, quarter, qquarter
yearly, year, yyear
tostringOptionalEnd date for historical data (ISO 8601 format). If not provided, returns data up to the latest available.
fromstringOptionalStart date for historical data (ISO 8601 format). Automatically clamped by the system if too far in the past.

Examples:

https://api.axionquant.com/stocks/AAPL/prices
https://api.axionquant.com/stocks/MSFT/prices?frame=weekly&from=2024-06-01&to=2024-12-31

Response Fields

time string

ISO 8601 timestamp of the data point

ticker string

Stock ticker symbol

open string

Opening price (decimal string)

high string

Highest price during the period

low string

Lowest price during the period

close string

Closing price

volume string

Number of shares traded

|

Historical Stock Prices

Request

Sample code
1from axion import Axion
2client = Axion(api_key='axn_123')
3
4prices = client.stocks.prices('AAPL',
5    frame='daily',
6    from_date='2025-12-01',
7    to_date='2025-12-19'
8)
9print(prices)

Response (Daily Frame)

[
  {
    "time": "2025-12-19T19:03:05.000Z",
    "ticker": "AAPL",
    "open": "272.1400",
    "high": "272.9200",
    "low": "270.2700",
    "close": "270.6700",
    "volume": "43267805"
  },
  {
    "time": "2025-12-18T14:30:00.000Z",
    "ticker": "AAPL",
    "open": "273.6100",
    "high": "273.6300",
    "low": "266.9500",
    "close": "272.1900",
    "volume": "51600000"
  }
]