Discover/boz API
live

boz APIboz.zm

Access structured treasury bill auction data from the Bank of Zambia. Covers 91, 182, 273, and 364-day tenors with ISINs, discount rates, yield rates, and PDF URLs from 2014.

Endpoint health
verified 4d ago
list_tender_pdfs
get_tbill_auction_data
2/2 passing latest checkself-healing
Endpoints
2
Updated
26d ago

What is the boz API?

The boz.zm API exposes treasury bill auction results from the Bank of Zambia across two endpoints, returning structured data including tender numbers, ISINs, discount rates, yield rates, auction dates, and PDF document URLs. The get_tbill_auction_data endpoint covers all four standard tenors — 91, 182, 273, and 364 days — with records spanning from 2014 to the present, queryable by year or tenor.

Try it
Year(s) to retrieve data for. Single year (e.g. '2026'), comma-separated years (e.g. '2025,2026'), or 'all' for all available years (2014-present).
Treasury bill tenor in days.
api.parse.bot/scraper/82d5a744-254f-4636-a255-bcae0d6624e5/<endpoint>
Ready to send
Fill in the parameters and hit sign in to send to see live response data here.
Call it over HTTPgrab a free API key at signup
curl -X GET 'https://api.parse.bot/scraper/82d5a744-254f-4636-a255-bcae0d6624e5/get_tbill_auction_data?year=2026&tenor=91' \
  -H 'X-API-Key: $PARSE_API_KEY'
Python SDK · recommended

Typed, relational, agent-ready

A generated client with real types, enums, and the links between objects — the structure a flat JSON response can't carry. Autocompletes in your editor and reads cleanly to coding agents.

  • Fully typed · autocompletes
  • Objects link to objects
  • Typed errors & pagination

Typed Python client. Set up the SDK in your uv project, then pull this API’s typed client:

uv add parse-sdk
uv run parse init
uv run parse add --marketplace boz-zm-api

uv run parse add --marketplace pulls a pinned snapshot of this canonical API — it won’t change underneath you. To customize it, subscribe and swap to your own copy.

"""Bank of Zambia Treasury Bills — fetch auction results and tender PDFs."""
from parse_apis.bank_of_zambia_treasury_bills_api import (
    BozTreasuryBills,
    Tenor,
    InvalidTenor,
)

client = BozTreasuryBills()

# List 91-day auction results for 2026, capped at 5 items.
for result in client.auctionresults.list(year="2026", tenor=Tenor.DAYS_91, limit=5):
    print(result.tender_number, result.auction_date, result.yield_rate)

# Drill into 182-day results to inspect one auction.
auction = client.auctionresults.list(year="2026", tenor=Tenor.DAYS_182, limit=1).first()
if auction:
    print(auction.tender_number, auction.isin, auction.discount_rate)

# Retrieve PDF collection for the current year.
try:
    pdfs = client.tenderpdfcollections.get(year="2026")
    print(pdfs.total_pdfs, list(pdfs.pdfs_by_year.keys()))
except InvalidTenor as exc:
    print(f"Invalid tenor: {exc.tenor}")

print("exercised: auctionresults.list / tenderpdfcollections.get")
All endpoints · 2 totalmissing one? ·

Retrieve treasury bill auction results for a specified tenor (91, 182, 273, or 364 days). Returns auction dates, tender numbers, ISINs, discount rates, yield rates, and PDF URLs. Data availability: 2026 records include full rate data (ISIN, discount rate, yield rate); older migrated records (2014-2025) include auction date, tender number, and PDF URL but may lack rate fields. Results sorted by auction date descending. Paginates through all matching records automatically.

Input
ParamTypeDescription
yearstringYear(s) to retrieve data for. Single year (e.g. '2026'), comma-separated years (e.g. '2025,2026'), or 'all' for all available years (2014-present).
tenorstringTreasury bill tenor in days.
Response
{
  "type": "object",
  "fields": {
    "tenor": "string indicating the tenor queried (e.g. '91_days')",
    "results": "array of auction result objects with year, tender_number, auction_date, pdf_url, and optionally isin, discount_rate, yield_rate",
    "total_records": "integer count of auction records returned",
    "years_queried": "array of year strings included in the query"
  },
  "sample": {
    "data": {
      "tenor": "91_days",
      "results": [
        {
          "isin": "ZM3000013919",
          "year": "2026",
          "pdf_url": "https://www.boz.zm/sites/default/files/2026-05/Treasury-Bills-Results-Tender-No-11-2026-28-05-2026.pdf",
          "yield_rate": "10.5000",
          "auction_date": "2026-05-28",
          "discount_rate": "10.2320",
          "tender_number": "11/2026"
        },
        {
          "isin": "ZM3000013877",
          "year": "2026",
          "pdf_url": "https://www.boz.zm/sites/default/files/2026-05/Treasury-Bills-Results-Tender-No-10-2026-14-05-2026.pdf",
          "yield_rate": "10.5000",
          "auction_date": "2026-05-14",
          "discount_rate": "10.2320",
          "tender_number": "10/2026 TBills Auction Results"
        }
      ],
      "total_records": 11,
      "years_queried": [
        "2026"
      ]
    },
    "status": "success"
  }
}

About the boz API

Endpoints and Coverage

The API provides two endpoints. get_tbill_auction_data returns structured auction result records for a specified tenor (91, 182, 273, or 364 days). Each record includes the auction_date, tender_number, isin, discount_rate, yield_rate, and a pdf_url pointing to the official tender result document. Results are sorted by auction date descending and can be filtered using the year parameter, which accepts a single year string (e.g. '2025'), a comma-separated list (e.g. '2024,2025'), or 'all' for the full historical dataset.

PDF Access

The list_tender_pdfs endpoint returns all tender result PDF URLs organized by year. The response shape is an object (pdfs_by_year) that maps each year to a count and an array of direct PDF URLs, plus a total_pdfs integer for the full query scope. This endpoint accepts the same year parameter, making it straightforward to pull document references for a specific period without fetching full auction metadata.

Data Fields and Scope

Across both endpoints, the year filter controls scope without requiring pagination logic — requesting 'all' returns the complete dataset from 2014 onward. The total_records field in get_tbill_auction_data gives an immediate count of matched rows. Note that data availability for specific years and tenors reflects what the Bank of Zambia has published; early years may have fewer records for certain tenors.

Reliability & maintenanceVerified

The boz API is a managed, monitored endpoint for boz.zm — not a raw scraper you maintain. Every endpoint is automatically health-checked on a schedule, and when boz.zm changes and a check fails, the API is automatically queued for repair and re-verified. It is built to keep working as the site underneath it changes.

This isn't an official boz.zm API — it's an independent, maintained REST wrapper over public data. Where the source has no official API (or only a limited one), Parse gives you a stable contract over a source that never promised one, and keeps it current. Need a new endpoint or field? You can revise it yourself in plain English and the agent rebuilds it against the live site in minutes — contributing the change back to the shared API is free.

Last verified
4d ago
Latest check
2/2 endpoints passing
Maintenance
Monitored & self-healing
Will this API break when the source site changes?+
It's built not to. Every endpoint is health-checked on a schedule with automated test probes. When the source site changes and a check fails, the API is automatically queued for repair and re-verified — that's the self-healing layer. Each API page shows when its endpoints were last verified. And because marketplace APIs are shared, any fix reaches everyone using it.
Is this an official API from the source site?+
No — Parse APIs are independent, managed REST wrappers over publicly available data. That is the point: where a site has no official API (or only a limited one), Parse gives you a maintained, monitored endpoint for that data and keeps it working as the site changes — so you get a stable contract over a source that never promised one.
Can I fix or extend this API myself if I need a new endpoint or field?+
Yes — and you don't have to wait on us. This API was generated by the Parse agent, which stays attached. Describe the change in plain English ("add an endpoint that returns reviews", "fix the price field") in the revise box on the API page or via the revise_api MCP tool, and the agent rebuilds it against the live site in minutes. Contributing the change back to the public API is free.
What happens if I call an endpoint that has an issue?+
Errors are machine-readable: a bad call returns a clean status with the list of available endpoints and a repair hint, so an agent (or you) can recover or trigger a fix instead of failing silently. Confirmed failures feed the automatic repair queue.
Common use cases
  • Plot yield rate trends for 364-day Zambian treasury bills from 2014 to present using yield_rate fields.
  • Build a bond research tool that maps ISINs to historical discount rates across all four tenors.
  • Automate a weekly digest of new auction results by querying get_tbill_auction_data for the current year.
  • Download official tender result PDFs in bulk using URLs returned by list_tender_pdfs.
  • Compare discount rates across 91-day and 182-day tenors for a given year to analyze the yield curve.
  • Populate a fixed-income database with structured tender numbers and auction dates for Zambian T-bills.
  • Monitor newly listed ISINs from recent auctions to support secondary market analysis.
Pricing & limitsSee full pricing →
TierPriceCredits/monthRate limit
Free$0/mo1005 req/min
Hobby$30/mo1,00020 req/min
Developer$100/mo5,000100 req/min

One credit = one API call regardless of which marketplace API you call. Exceeding the rate limit returns a 429 response. Authenticate with the X-API-Key header.

Frequently asked questions
Does the Bank of Zambia provide an official developer API?+
The Bank of Zambia does not publish a documented public developer API. Auction result data is available on the boz.zm website as structured content and downloadable PDFs.
What does `get_tbill_auction_data` return for a given tenor, and how do I narrow the year range?+
The endpoint returns an array of auction objects under results, each containing tender_number, auction_date, isin, discount_rate, yield_rate, and pdf_url. Use the year parameter to scope the query: a single year string, a comma-separated list, or 'all' for the full 2014-to-present dataset. The total_records field in the response reflects the count of matched records.
Are bid amounts, accepted amounts, or oversubscription ratios included in the auction data?+
Not currently. The API returns discount_rate, yield_rate, tender_number, auction_date, isin, and pdf_url per auction. Bid volume, accepted amounts, and subscription ratios are not exposed as structured fields. You can fork this API on Parse and revise it to extract those fields from the linked tender result PDFs.
How current is the auction data, and are there gaps for specific tenors?+
Coverage runs from 2014 to present, reflecting what the Bank of Zambia has published. Some earlier years may have fewer records for certain tenors — for example, 273-day instruments were not consistently auctioned throughout the entire period. Availability mirrors the official publication history.
Does the API cover treasury bonds or government securities other than treasury bills?+
Not currently. The API is scoped to treasury bill auctions (91, 182, 273, and 364-day tenors). Government bonds, Eurobonds, or other Bank of Zambia securities are not covered. You can fork this API on Parse and revise it to add endpoints for those instruments.
Page content last updated . Spec covers 2 endpoints from boz.zm.
Related APIs in FinanceSee all →
zppa.org.zm API
Search and browse open tenders in Zambia's public procurement system, view detailed tender information and procurement plans, and stay updated with the latest procurement news from the Zambia Public Procurement Authority. Get real-time access to current opportunities and historical procurement data to find relevant government contracts and bidding information.
bot.go.tz API
Access detailed statistics on government bond auctions from the Bank of Tanzania, including issuance data, bidding information, and yield results. Monitor auction performance and analyze bond market trends with comprehensive government bond data.
luse.co.zm API
Access real-time market data, index performance, and company information from the Lusaka Securities Exchange, including daily trading data, listed companies and debt instruments, SENS announcements, and the latest financial news. Monitor market trends and stay informed on securities exchange activity across Zambia's capital markets.
licitacoes-e.com API
Search and analyze Brazilian public tenders from Banco do Brasil, including filtering by buyer and tender status to find procurement opportunities. Get detailed information about specific tenders to track bids, deadlines, and procurement details.
bdtender.com API
Search and browse tender listings from Bangladesh's largest tender portal, discovering opportunities by category, organization, and location while accessing real-time tender data and site statistics. Get detailed information on individual tenders, view live postings, and see what was published today to stay updated on the latest bidding opportunities.
resbank.co.za API
Access real-time and historical financial data from South Africa's central bank, including prime rates, repo rates, exchange rates, inflation metrics (CPI and PPI), and commodity prices like gold. Track key interest rate benchmarks such as SABOR and ZARONIA rates, and monitor market rates to stay informed on South African economic indicators.
uzse.uz API
Monitor live stock quotes and detailed intraday trading data from the Tashkent Stock Exchange, including historical prices, listed companies, and complete securities information. Access real-time trade results and comprehensive market data to track investment opportunities across all exchange-listed securities.
auctionzip.com API
Search and browse auction lots across the AuctionZip marketplace, view detailed lot information and complete auction catalogs, track historical prices realized, and discover auctioneers by name or location. Access auction schedules, item specifications, seller terms, and top-performing auctioneers.