PSX Market Data API — Now in Public Beta

Real-time Pakistan
Stock Exchange API

Programmatic access to live PSX market data — stock prices, candles, rankings, sectors, and company profiles. Start free with 1,000 calls/month. No credit card required.

548+
Listed Symbols
99.9%
Uptime SLA
1,000
Free calls/mo

Everything you need to build

All the market data endpoints, wrapped in a developer-first API.

Real-Time Market Data

Live PSX stock prices, volumes, and tick-by-tick trade direction. Sub-second latency on all endpoints.

OHLCV Candles

Intraday (1m–1h) and daily end-of-day candle data for historical charting and backtesting.

Rankings & Sectors

Top gainers, losers, most active, KSE-100 composition, and sector performance in one call.

API Key Management

Scoped keys, per-minute rate limits, monthly quotas, and full usage analytics from your dashboard.

Rich Documentation

Interactive docs with cURL, Node.js, and Python snippets for every endpoint.

Upgrade Anytime

Start free with 1,000 calls/month. Upgrade to Pro for unlimited requests and premium endpoints.

Quick start
# 1. Register and grab your free API key from the dashboard
# 2. Hit the stocks endpoint:

curl -X GET "https://api.psxmarket.io/api/v1/stocks" \
  -H "X-API-Key: YOUR_API_KEY"

# Response
{
  "data": [
    { "symbol": "ENGRO", "close": 285.40, "changePercent": 1.13 },
    { "symbol": "HBL",   "close": 178.90, "changePercent": -0.55 }
  ],
  "meta": { "total": 548, "page": 1, "limit": 20 }
}

Simple, transparent pricing

Start for free. Scale as you grow. No hidden fees.

Free
$0/month
  • 1,000 API calls / month
  • Market data endpoints
  • Rankings & sectors
  • 1 API key
  • Community support
Most Popular
Pro
$29/month
  • Unlimited API calls
  • All Free endpoints
  • Intraday & daily candles
  • Live quotes & order book
  • Company profiles
  • Priority support
  • Webhooks (coming soon)
Enterprise
Custom
  • Everything in Pro
  • Dedicated infrastructure
  • SLA guarantee
  • Custom rate limits
  • Onboarding & integration help