Building an AI agent? Start with /llms.txt for the full site index.
Overview
Three steps, five minutes to your first Taiwan market data response.
These 5 symbols work without a key: 2330 TSMC / 2317 Hon Hai / 2454 MediaTek / 0050 / 2603. Paste this to your AI or run curl directly:
curl "https://api.twmarketdata.com/v2/datasets/twse-daily-price?symbol=2330&limit=1"(Other stocks / other datasets need the API key below.)
Register in the dashboard and create an API key there. Put the key in the request header, not in the URL.
Every data endpoint is GET /v2/datasets/{dataset}, with the key passed in the X-API-Key header.
curl "https://api.twmarketdata.com/v2/datasets/monthly-revenue?symbol=2330&limit=12" \
-H "X-API-Key: $TWMD_API_KEY"import requests
r = requests.get(
"https://api.twmarketdata.com/v2/datasets/monthly-revenue",
params={"symbol": "2330", "limit": 12},
headers={"X-API-Key": TWMD_API_KEY},
)
data = r.json()You get typed JSON, each record carrying its source; missing data is left empty rather than filled in. Field definitions are on each dataset page.
Next → Authentication