Stock market data infrastructure
Choosing an ASX stock data API
Compare ways to get Australian company data: ASX announcements directly, global price APIs, and an API with ASX statements, reports and markdown in one contract.
Documentation revised
Third-party plans and limits on this page were checked against each provider's public pages on 2026-11-04. Providers change plans; their current pages are authoritative.
Option 1: ASX announcements directly
Listed companies publish their periodic reports and market announcements on the ASX website. For a handful of companies, reading those documents yourself is free and authoritative. At scale it means building document discovery, PDF handling, table extraction and period mapping, and checking the ASX's terms for how you may store and reuse the material.
Option 2: global price and fundamentals APIs
Many global providers cover ASX symbols, often with a suffix such as .AX, and most cover end-of-day prices. Fundamentals depth varies more: confirm for your own tickers whether half-year periods exist, which accounting standard and currency each value uses, and whether there is any route from a number back to the report it came from.
Option 3: an ASX-aware company data API
This API stores ASX listings alongside US companies under one contract: ticker plus exchange=ASX for identity, normalized statements with currency and source labels, ASX announcements and reports through the filings endpoint, and markdown conversions of reports for search and LLM pipelines. Half-year periods appear where the source history supports them.
import os
from urllib.parse import urlparse
import httpx
headers = {"X-API-Key": os.environ["STOCKMARKET_API_KEY"]}
with httpx.Client(timeout=30) as client:
response = client.get(
"https://stockmarketapi.ai/api/v1/companies/BHP/filings",
params={"source": "asx", "limit": 3, "exchange": "ASX"},
headers=headers,
)
response.raise_for_status()
for filing in response.json()["filings"]:
url = filing.get("markdown_url")
if not url:
continue
# Only send the API key to the API's own download host.
parsed = urlparse(url)
if parsed.scheme != "https" or parsed.netloc != "stockmarketapi.ai":
continue
document = client.get(url, headers=headers)
document.raise_for_status()
print(filing.get("report_date"), document.text[:500])
Questions to ask any ASX source
Is the listing identified unambiguously, especially for dual-listed companies? Which periods exist: FY, half-year, quarterly? Is AUD reporting preserved or converted, and is that labeled? Are missing fields null or silently zero? Can you reach the original report for a disputed value? Ask these of every candidate, including this one.
Limits to know here
Coverage is strongest for the ASX 200 collection universe; smaller listings can have a profile without stored statements or prices. Intraday prices are a paid-tier path and limited to that universe. Markdown is a conversion, so compare tables with the PDF before relying on them. Check stored availability for your tickers before integrating.