How to screen all Pakistan mutual funds in one API call

GET /v1/funds/screener returns every active Pakistani mutual fund in a single response — latest NAV, trailing returns (YTD/3M/1Y), expense ratio (TER), rating and benchmark — so you can rank and filter 584 funds without a per-fund fan-out. It's updated daily from MUFAP, covering 01 Jan 1996 to today.

Endpoint: /v1/funds/screener

Fetch it — copy & paste

Replace pk_live_xxx with your key.

cURL

curl -H "X-API-Key: pk_live_xxx" \
  "https://api.pakdatahub.com/v1/funds/screener"

Python

import httpx

r = httpx.get("https://api.pakdatahub.com/v1/funds/screener", headers={"X-API-Key": "pk_live_xxx"}, timeout=30)
print(r.json())

JavaScript

const res = await fetch("https://api.pakdatahub.com/v1/funds/screener", {
  headers: { "X-API-Key": "pk_live_xxx" },
});
console.log(await res.json());

pandas

import httpx, pandas as pd

r = httpx.get("https://api.pakdatahub.com/v1/funds/screener", headers={"X-API-Key": "pk_live_xxx"})
df = pd.json_normalize(r.json().get("data", r.json()))

No key yet? Get a free one. Then see the full API reference.

Explore

Browse all datasets · More API guides

Questions

How do I rank all Pakistani mutual funds by return or expense ratio?

GET /v1/funds/screener returns the whole ranked table in one call — fund_id, name, AMC, category, latest NAV, returns (ytd/m3/y1), ter_ytd and rating. Sort or filter it client-side.

Is there a no-code fund screener?

Yes — the free /tools/fund-screener page runs on this endpoint; it needs no key and lets you filter by AMC and category and sort by return or TER.