Building an AI agent? Start with /llms.txt for the full site index.
Guide
Pull income statement, balance sheet and cash-flow for a company, then narrow by period.
Send your key in the X-API-Key header on every request.
import requests BASE = "https://api.twmarketdata.com"HEADERS = {"X-API-Key": "sk_live_..."}for slug in ["income-statement", "balance-sheet", "cash-flow-statement"]: resp = requests.get( f"{BASE}/v2/datasets/{slug}", params={"symbol": "2330"}, headers=HEADERS, ) resp.raise_for_status() print(slug, "->", len(resp.json()["data"]), "rows")Add start_date / end_date to limit the range.
resp = requests.get( f"{BASE}/v2/datasets/income-statement", params={"symbol": "2330", "start_date": "2024-01-01", "end_date": "2026-06-30"}, headers=HEADERS,)print(resp.json()["data"])English is a semantic rewrite, not a machine translation.