Skip to main content

Overview

Market Quotes & Trading

The Market Quotes & Trading API suite is the high-performance entry point to the Pakistan Stock Exchange. It is engineered to provide the low-latency pricing data essential for building real-time dashboards, dynamic watchlists, and professional-grade charting interfaces.

By normalizing raw exchange ticks into structured JSON payloads, we handle the heavy lifting of data aggregation, allowing you to focus on the user experience. Whether you need a single snapshot of the KSE-100 or a full time-series of intraday movements, these endpoints deliver precision and speed.

Key Capabilities

  • Price Discovery: Access real-time Bid/Ask spreads, last traded prices, and daily volume metrics for all symbols.
  • Time-Series Analysis: Retrieve high-resolution OHLC (Open, High, Low, Close) data in 1, 5, and 15-minute intervals, perfectly formatted for libraries like TradingView or Highcharts.
  • Market State Awareness: Programmatically detect market phases—including Pre-Open, Ready, and Post-Close—to manage order entry logic and UI states.
  • Historical Backtesting: Query years of dividend-adjusted and unadjusted EOD data to power quantitative strategies and trend analysis.

Available Endpoints

API NameDescription
All TickersReal-time ticker data for all stocks and indices currently trading on the market
All Symbols OverviewComprehensive snapshots of all stocks including current prices, trading volumes, and market data
Single Symbol OverviewComprehensive snapshot of a single stock symbol including current price, trading volume, and market data
Indices OverviewCurrent and historical index values, constituent stock information, and key metrics
Single Index OverviewComprehensive data for a specific market index including current price, trading volume, and market cap
Daily Market SummaryDaily market summary with OHLCV data and percentage changes for all stocks
1 Min Interval ChartReal-time 1-minute interval candlestick data for intraday trading analysis
5 Min Interval Chart5-minute interval candlestick data for stocks and indices
15 Min Interval Chart15-minute interval candlestick data for stocks and indices
End of Day Stocks AdjustedDividend-adjusted historical price data for individual stocks
End of Day Stocks & Index - UnadjustedUnadjusted historical price data for individual stocks and indices
Market StatusCurrent status of the PSX market including trading session information
Market HolidaysComprehensive list of market holidays for the PSX trading calendar
SectorsComprehensive list of all sectors in the PSX market
Index ConstituentsConstituent companies that make up a specific market index
Index RecompositionRecomposition details for market indices