How to get Pakistan T-Bill & PIB auction results via API
Fetch primary-market auction cut-off yields for T-Bills, PIBs and GoP Ijara Sukuk from /v1/fixed-income/auctions, with deep history for building a cut-off-yield series or feeding a rates model. It's updated per auction from SBP, covering 01 Jan 2000 to today.
Endpoint: /v1/fixed-income/auctions
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/fixed-income/auctions?type=tbill&from=2024-01-01"Python
import httpx
r = httpx.get("https://api.pakdatahub.com/v1/fixed-income/auctions?type=tbill&from=2024-01-01", headers={"X-API-Key": "pk_live_xxx"}, timeout=30)
print(r.json())JavaScript
const res = await fetch("https://api.pakdatahub.com/v1/fixed-income/auctions?type=tbill&from=2024-01-01", {
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/fixed-income/auctions?type=tbill&from=2024-01-01", 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 get Pakistan treasury-bill auction cut-off yields via API?
GET /v1/fixed-income/auctions?type=tbill (or pib, or gis) returns auction results with cut-off yields over a from/to date range. For the yield curve use the rates.pkrv.* / rates.pkisrv.* series; for KIBOR use rates.kibor.*.