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 Name | Description |
|---|---|
| All Tickers | Real-time ticker data for all stocks and indices currently trading on the market |
| All Symbols Overview | Comprehensive snapshots of all stocks including current prices, trading volumes, and market data |
| Single Symbol Overview | Comprehensive snapshot of a single stock symbol including current price, trading volume, and market data |
| Indices Overview | Current and historical index values, constituent stock information, and key metrics |
| Single Index Overview | Comprehensive data for a specific market index including current price, trading volume, and market cap |
| Daily Market Summary | Daily market summary with OHLCV data and percentage changes for all stocks |
| 1 Min Interval Chart | Real-time 1-minute interval candlestick data for intraday trading analysis |
| 5 Min Interval Chart | 5-minute interval candlestick data for stocks and indices |
| 15 Min Interval Chart | 15-minute interval candlestick data for stocks and indices |
| End of Day Stocks Adjusted | Dividend-adjusted historical price data for individual stocks |
| End of Day Stocks & Index - Unadjusted | Unadjusted historical price data for individual stocks and indices |
| Market Status | Current status of the PSX market including trading session information |
| Market Holidays | Comprehensive list of market holidays for the PSX trading calendar |
| Sectors | Comprehensive list of all sectors in the PSX market |
| Index Constituents | Constituent companies that make up a specific market index |
| Index Recomposition | Recomposition details for market indices |