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.
All the market data endpoints, wrapped in a developer-first API.
Live PSX stock prices, volumes, and tick-by-tick trade direction. Sub-second latency on all endpoints.
Intraday (1m–1h) and daily end-of-day candle data for historical charting and backtesting.
Top gainers, losers, most active, KSE-100 composition, and sector performance in one call.
Scoped keys, per-minute rate limits, monthly quotas, and full usage analytics from your dashboard.
Interactive docs with cURL, Node.js, and Python snippets for every endpoint.
Start free with 1,000 calls/month. Upgrade to Pro for unlimited requests and premium endpoints.
# 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 }
}Start for free. Scale as you grow. No hidden fees.