{"openapi":"3.1.0","info":{"title":"Stock Exchange of Thailand (SET) API","version":"1.0.0","description":"Live data for the Stock Exchange of Thailand (SET, the Bangkok market) with no key: the live quote for one or more stocks by ticker (price, change, open/high/low, volume, market cap, P/E, sector, in baht, with the company name), a ranked market screener (top gainers, losers, most active, or largest by market cap), and the live value of the SET Index.","contact":{"name":"PremiumApi","url":"https://www.oanor.com/by/premiumapi"}},"servers":[{"url":"https://api.oanor.com/set-api","description":"oanor gateway"}],"tags":[{"name":"Quotes"},{"name":"Screener"},{"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":["Quotes"],"summary":"Live quote for one or more SET stocks","description":"","parameters":[{"name":"codes","in":"query","required":true,"description":"SET ticker(s), comma-separated up to 20","schema":{"type":"string"},"example":"PTT,DELTA"}],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"data":{"note":"The live quote for one or more Thai (SET) stocks — price, change, open/high/low, volume, market cap, P/E and sector (in baht), with the company name. Pass codes (the SET ticker, comma-separate up to 20, e.g. PTT,DELTA).","count":2,"quotes":[{"low":36,"high":36.5,"open":36.25,"price":36,"change":-0.5,"sector":"Energy Minerals","ticker":"PTT","volume":58568852,"company":"PTT Public Co., Ltd.","currency":"THB","pe_ratio":11.09,"market_cap":1028267859375,"change_percent":-1.37},{"low":360,"high":368,"open":366,"price":363,"change":5,"sector":"Electronic Technology","ticker":"DELTA","volume":19461890,"company":"Delta Electronics (Thailand) Public Co. Ltd.","currency":"THB","pe_ratio":159.39,"market_cap":4527995355469,"change_percent":1.4}],"source":"Stock Exchange of Thailand / SET (TradingView)"},"meta":{"timestamp":"2026-06-15T02:10:42.078Z","request_id":"daf84211-f0eb-4b63-b71e-4e88ba2231bd"},"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/screener":{"get":{"operationId":"get_v1_screener","tags":["Screener"],"summary":"Ranked market screener","description":"","parameters":[{"name":"by","in":"query","required":false,"description":"Ranking: gainers, losers, active, marketcap","schema":{"type":"string"},"example":"gainers"},{"name":"limit","in":"query","required":false,"description":"Results 1-100","schema":{"type":"string"},"example":"20"}],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"data":{"by":"gainers","note":"A ranked screener of the Thai (SET) market — the top stocks by your chosen ranking. Pass by (gainers, losers, active, or marketcap; default marketcap) and limit (1-100, default 20). Only real stocks above a market-cap floor are ranked.","count":20,"source":"Stock Exchange of Thailand / SET (TradingView)","results":[{"price":0.03,"change":0.009999999999999998,"sector":"Consumer Services","ticker":"GRAND","volume":407951,"company":"Grande Asset Hotels & Property Public Co. Ltd.","currency":"THB","market_cap":278566927,"change_percent":50},{"price":1.32,"change":0.26,"sector":"Energy Minerals","ticker":"UMS","volume":18318308,"company":"Unique Mining Services Public Co. Ltd.","currency":"THB","market_cap":3152621325,"change_percent":24.53},{"price":3.78,"change":0.6999999999999997,"sector":"Electronic Technology","ticker":"SMT","volume":53576442,"company":"Stars Microelectronics (Thailand) Public Co. Ltd.","currency":"THB","market_cap":3169502983,"change_percent":22.73},{"price":0.06,"change":0.009999999999999995,"sector":"Process Industries","ticker":"DIMET","volume":505102,"company":"Dimet (Siam) Public Co. Ltd.","currency":"THB","market_cap":161460143,"change_percent":20},{"price":0.06,"change":0.009999999999999995,"sector":"Utilities","ticker":"PRIME","volume":4212100,"company":"Prime Road Power Public Co. Ltd.","currency":"THB","market_cap":255269115,"change_percent":20},{"price":0.06,"change":0.009999999999999995,"sector":"Finance","ticker":"EVER","volume":1396502,"company":"Everland Public Co. Ltd.","currency":"THB","market_cap":291287074,"change_percent":20},{"price":0.47,"change":0.06,"sector":"Producer Manufacturing","ticker":"UREKA","volume":129153533,"company":"Eureka Design Public Co. Ltd.","currency":"THB","market_cap":884643786,"change_percent":14.63},{"price":1.71,"change":0.20999999999999996,"sector":"Industrial Services","ticker":"CNT","volume":14817968,"company":"Christiani & Nielsen Thailand Public Co. Ltd.","currency":"THB","market_cap":1757716178,"change_percent":14},{"price":0.09,"change":0.009999999999999995,"sector":"Consumer Services","ticker":"XBIO","volume":7013591,"company":"X Bioscience Public Company Limited","currency":"THB","market_cap":1465199355,"change_percent":12.5},{"price":1.13,"change":0.11999999999999988,"sector":"Industrial Services","ticker":"CIVIL","volume":9679757,"company":"Civil Engineering Public Company Ltd","currency":"THB","market_cap":790999997,"change_percent":11.88},{"price":3.52,"change":0.3599999999999999,"sector":"Technology Services","ticker":"INSET","volume":48770404,"company":"Infraset Public Co., Ltd.","currency":"THB","market_cap":2860960981,"change_percent":11.39},{"price":4.92,"change":0.4399999999999995,"sector":"Electronic Technology","ticker":"TEAM","volume":23580108,"company":"Team Precision Public Co. Ltd.","currency":"THB","market_cap":3134351753,"change_percent":9.82},{"price":1.85,"change":0.15000000000000013,"sector":"Health Technology","ticker":"JSP","volume":1382856,"company":"JSP Pharmaceutical Manufacturing (Thailand) Public Company Limited","currency":"THB","market_cap":877963671,"change_percent":8.82},{"price":0.13,"change":0.010000000000000009,"sector":"Utilities","ticker":"SUPER","volume":15138644,"company":"Super Energy Corporation Public Company Limited","currency":"THB","market_cap":3555430553,"change_percent":8.33},{"price":0.39,"change":0.030000000000000027,"sector":"Transportation","ticker":"ETL","volume":280552,"company":"Euroasia Total Logistics Public Co. Ltd.","currency":"THB","market_cap":241799991,"change_percent":8.33},{"price":2.94,"change":0.21999999999999975,"sector":"Electronic Technology","ticker":"SICT","volume":4125887,"company":"Silicon Craft Technology Public Co., Ltd.","currency":"THB","market_cap":1411200027,"change_percent":8.09},{"price":2.78,"change":0.19999999999999973,"sector":"Distribution Services","ticker":"LTS","volume":7003021,"company":"Light Up Total Solution Company Limited","currency":"THB","market_cap":663308010,"change_percent":7.75},{"price":0.14,"change":0.010000000000000009,"sector":"Non-Energy Minerals","ticker":"GJS","volume":354801,"company":"GJ Steel Public Co., Ltd.","currency":"THB","market_cap":3568198882,"change_percent":7.69},{"price":2.8,"change":0.19999999999999973,"sector":"Transportation","ticker":"ANI","volume":636102,"company":"Asia Network International Public Company Limited","currency":"THB","market_cap":5174399912,"change_percent":7.69},{"price":17,"change":1.1999999999999993,"sector":"Industrial Services","ticker":"STECON","volume":47920538,"company":"Stecon Group Public Company Limited","currency":"THB","market_cap":25586041748,"change_percent":7.59}],"description":"top gainers (by % change)"},"meta":{"timestamp":"2026-06-15T02:10:42.288Z","request_id":"8a0ed5ea-400e-4172-a246-ce215463f4e3"},"status":"ok","message":"Screener 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 the SET Index","description":"","parameters":[{"name":"name","in":"query","required":false,"description":"SET","schema":{"type":"string"},"example":"SET"}],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"data":{"low":1582.26,"high":1595.84,"name":"SET Index","note":"The live value of the SET Index (the Stock Exchange of Thailand benchmark) — current level, change, and the day's open/high/low. Pass name (SET; default SET).","open":1588.1,"index":"SET","value":1592.41,"change":20.090000000000146,"source":"Stock Exchange of Thailand / SET (TradingView)","change_percent":1.28},"meta":{"timestamp":"2026-06-15T02:10:42.507Z","request_id":"8cbd8f77-f3d9-43f1-a51e-44b41e05edea"},"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":"Service metadata & endpoint catalog","description":"","parameters":[],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"data":{"sample":{"set_index":1592.41},"source":"TradingView public screener (scanner.tradingview.com/thailand/scan), keyless","indexes":["SET"],"screens":["gainers","losers","active","marketcap"],"service":"set-api","endpoints":{"GET /v1/meta":"This document.","GET /v1/index":"Live value of the SET Index (name).","GET /v1/quote":"Live quote for one or more stocks (codes).","GET /v1/screener":"Ranked market screener (by, limit)."},"description":"Live data for the Stock Exchange of Thailand (SET, the Bangkok market) with no key: the live quote for one or more stocks by ticker (price, change, open/high/low, volume, market cap, P/E, sector, in baht, with the company name), a ranked market screener (top gainers, losers, most active, or largest by market cap), and the live value of the SET Index. The Thailand-equities / SET-index / screener layer for trading dashboards and research. Distinct from other exchange readers — the SET market with a built-in screener. Live, short cache only.","upstream_status":"ok"},"meta":{"timestamp":"2026-06-15T02:10:42.582Z","request_id":"4cf433e7-a897-4bbd-aee3-5b6d672132cf"},"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":11500,"rps_limit":2,"hard_limit":true},{"slug":"basic","name":"Basic","price_cents_month":1940,"monthly_call_quota":255000,"rps_limit":10,"hard_limit":true},{"slug":"pro","name":"Pro","price_cents_month":5170,"monthly_call_quota":1390000,"rps_limit":20,"hard_limit":true},{"slug":"scale","name":"Scale","price_cents_month":11860,"monthly_call_quota":7400000,"rps_limit":50,"hard_limit":true}],"x-oanor-marketplace-url":"https://www.oanor.com/api/set-api"}