{"openapi":"3.1.0","info":{"title":"HKEX Hong Kong Stock Exchange API","version":"1.0.0","description":"Live data from the Hong Kong Stock Exchange (HKEX), with no key. Read the live quote for one or more HKEX-listed stocks by their stock code (price, open/high/low, previous close, change, volume, turnover, P/E and market capitalisation, in Hong Kong dollars, with the Chinese and English names); and the live value of the major Hong Kong indices (Hang Seng, Hang Seng TECH, Hang Seng China Enterprises). The Hong-Kong-equities / Hang-Seng-index layer for trading dashboards, screeners and research — distinct from other exchange readers, this is the HKEX market. Live; short cache only.","contact":{"name":"PremiumApi","url":"https://www.oanor.com/by/premiumapi"}},"servers":[{"url":"https://api.oanor.com/hkex-api","description":"oanor gateway"}],"tags":[{"name":"Stocks"},{"name":"Indices"},{"name":"Meta"}],"components":{"securitySchemes":{"oanorKey":{"type":"apiKey","in":"header","name":"x-oanor-key","description":"Get your key at https://www.oanor.com/developer/keys"}}},"security":[{"oanorKey":[]}],"paths":{"/v1/quote":{"get":{"operationId":"get_v1_quote","tags":["Stocks"],"summary":"Live quote for one or more HKEX stocks","description":"","parameters":[{"name":"codes","in":"query","required":true,"description":"HKEX stock numbers, comma-separated, e.g. 00700 (Tencent), 09988 (Alibaba)","schema":{"type":"string"},"example":"00700,09988"}],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"data":{"note":"The live quote for one or more HKEX-listed stocks — price, open/high/low, previous close, change, volume, turnover, turnover rate, P/E and market cap (in 100M HKD) each, with the Chinese and English names. Pass codes (the stock number, comma-separate up to 10, e.g. 00700,09988 for Tencent and Alibaba).","count":2,"quotes":[{"low":462.8,"code":"00700","high":476.8,"name":"腾讯控股","open":475,"as_of":"2026/06/15 10:10:48","price":463.8,"change":0.2,"volume":6648252,"currency":"HKD","pe_ratio":16.97,"turnover":3122964393.398,"english_name":"TENCENT","market_cap_yi":42243.0591,"turnover_rate":3.02,"change_percent":0.04,"previous_close":463.6,"total_market_cap_yi":42243.0591},{"low":110.2,"code":"09988","high":113.2,"name":"阿里巴巴-W","open":113.1,"as_of":"2026/06/15 10:10:50","price":110.2,"change":0,"volume":21280760,"currency":"HKD","pe_ratio":18.03,"turnover":2371530623.28,"english_name":"BABA-W","market_cap_yi":21150.7653,"turnover_rate":2.72,"change_percent":0,"previous_close":110.2,"total_market_cap_yi":21150.7653}],"source":"HKEX (Tencent)"},"meta":{"timestamp":"2026-06-15T02:10:51.506Z","request_id":"ae4d9ea0-3789-412c-b737-7f7edf2806fe"},"status":"ok","message":"Quote retrieved successfully","success":true}}}},"401":{"description":"Missing or invalid x-oanor-key header"},"402":{"description":"Active subscription required"},"429":{"description":"Rate-limit or monthly quota reached"},"502":{"description":"Upstream did not respond"}}}},"/v1/index":{"get":{"operationId":"get_v1_index","tags":["Indices"],"summary":"Live value of a Hong Kong index","description":"","parameters":[{"name":"name","in":"query","required":false,"description":"HSI (Hang Seng), HSTECH (Hang Seng TECH), HSCEI (China Enterprises); default HSI","schema":{"type":"string"},"example":"HSI"}],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"data":{"note":"The live value of a major Hong Kong stock index — current level, open, day high/low, previous close, change and percent change. Pass name (HSI = Hang Seng, HSTECH = Hang Seng TECH, HSCEI = Hang Seng China Enterprises; default HSI).","index":{"low":24880.59,"code":"HSI","high":25047.9,"name":"恒生指数","open":25001.42,"as_of":"2026/06/15 10:10:48","value":24925.02,"change":206.92,"change_percent":0.84,"previous_close":24718.1},"source":"HKEX (Tencent)"},"meta":{"timestamp":"2026-06-15T02:10:51.801Z","request_id":"b86e408d-ec9f-4924-9757-b8730486ead0"},"status":"ok","message":"Index retrieved successfully","success":true}}}},"401":{"description":"Missing or invalid x-oanor-key header"},"402":{"description":"Active subscription required"},"429":{"description":"Rate-limit or monthly quota reached"},"502":{"description":"Upstream did not respond"}}}},"/v1/meta":{"get":{"operationId":"get_v1_meta","tags":["Meta"],"summary":"Endpoints & source","description":"","parameters":[],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"data":{"sample":{"hang_seng":24925.02},"source":"Tencent public stock quote feed (qt.gtimg.cn), keyless","indexes":["HSI","HSTECH","HSCEI"],"service":"hkex-api","endpoints":{"GET /v1/meta":"This document.","GET /v1/index":"Live value of a Hong Kong index (name).","GET /v1/quote":"Live quote for one or more HKEX stocks (codes)."},"description":"Live data from the Hong Kong Stock Exchange (HKEX) with no key: the live quote for one or more HKEX-listed stocks by code (price, open/high/low, change, volume, turnover, P/E, market cap in HKD), and the live value of the major Hong Kong indices (Hang Seng, Hang Seng TECH, Hang Seng China Enterprises). The Hong-Kong-equities / Hang-Seng-index layer for trading dashboards and screeners. Distinct from other exchange readers — the HKEX market. Live, short cache only.","upstream_status":"ok"},"meta":{"timestamp":"2026-06-15T02:10:51.895Z","request_id":"39abc6a0-662b-4e67-868b-d5d6c4c0c49a"},"status":"ok","message":"Meta","success":true}}}},"401":{"description":"Missing or invalid x-oanor-key header"},"402":{"description":"Active subscription required"},"429":{"description":"Rate-limit or monthly quota reached"},"502":{"description":"Upstream did not respond"}}}}},"x-oanor-pricing":[{"slug":"free","name":"Free","price_cents_month":0,"monthly_call_quota":17000,"rps_limit":3,"hard_limit":true},{"slug":"starter","name":"Starter","price_cents_month":2020,"monthly_call_quota":340000,"rps_limit":8,"hard_limit":true},{"slug":"pro","name":"Pro","price_cents_month":5080,"monthly_call_quota":1760000,"rps_limit":20,"hard_limit":true},{"slug":"enterprise","name":"Enterprise","price_cents_month":11750,"monthly_call_quota":8750000,"rps_limit":60,"hard_limit":true}],"x-oanor-marketplace-url":"https://www.oanor.com/api/hkex-api"}