Infoway
Infoway Real-time Market Data APIBest Data API for Algo-traders and developers.
GET FREE API KEY

OPTX.US

Stock Market Closed

Syntec Optics

United States · USD · Active

Real-time and historical OHLCV, tick, and aggregate market data for OPTX.US are available through the Infoway Market Data API. Test a live request in the playground below.

API Playground

Test our market data APIs directly with the tools below.

Input

Data Type
KlineType

Code Sample

import requests

api_url = "https://data.infoway.io/stock/v2/batch_kline"

headers = {
    "User-Agent": "Mozilla/5.0",
    "Accept": "application/json",
    "Content-Type": "application/json",
    "apiKey": "yourApikey",
}

payload = {
    "klineType": 1,
    "klineNum": 1,
    "codes": "OPTX.US"
}

response = requests.post(api_url, headers=headers, json=payload)
print(f"HTTP code: {response.status_code}")
print(f"message: {response.text}")

Output

200
// Sample response only. Numbers below are from the API docs, not live OPTX.US data.
// Enter your API key and click Run to get real results.
/*
{
  "ret": 200,
  "msg": "success",
  "traceId": "19814db2-42f7-4788-9b51-b2001bf17953",
  "data": [
    {
      "s": "OPTX.US",
      "respList": [
        {
          "t": "1751372340",
          "h": "298.620",
          "o": "298.439",
          "l": "298.100",
          "c": "298.310",
          "v": "24329",
          "vw": "7259092.235",
          "pc": "-0.02%",
          "pca": "-0.070"
        },
        {
          "t": "1751372280",
          "h": "298.450",
          "o": "298.090",
          "l": "298.000",
          "c": "298.380",
          "v": "32214",
          "vw": "9607344.900",
          "pc": "0.10%",
          "pca": "0.290"
        }
      ]
    }
  ]
}
*/

FAQ

Find answers to common questions about this symbol and its data.

What is the latest price of Syntec Optics (OPTX.US)?

Syntec Optics (OPTX.US) The price on this page updates once per trading day after the session closes. For a live quote, use the REST endpoint or WebSocket stream in the API playground above.

How do I get real-time OPTX.US data from an API?

POST the Infoway REST endpoint at data.infoway.io/stock/v2/batch_kline. Put your API key in the request header, and send a JSON body with codes=OPTX.US, klineType (1-minute through yearly), and klineNum. It returns the latest OHLCV bars for OPTX.US — open, high, low, close, volume, and percent change. Enter OPTX.US and your key in the REST tab of the playground above to see the full request and response.

How do I get historical OHLCV data for OPTX.US?

Use the same kline endpoint with a daily interval and a bar count, and it returns up to that many daily candles for OPTX.US ending at the latest completed session. Each candle carries a Unix timestamp, open/high/low/close, volume, and turnover. For intraday history, change the interval to minutes or hours; for a fixed date window, filter the returned candles by timestamp. The playground above generates ready-to-run OPTX.US samples in Java, Go, Python, JavaScript, PHP, and cURL.

How do I stream live OPTX.US prices over WebSocket?

Open a connection to the Infoway WebSocket endpoint, authenticate with your API key, and send a subscribe message listing OPTX.US. You then receive a push on every bar update for OPTX.US with price, size, and timestamp. A single connection can subscribe to many symbols at once. The WebSocket tab in the playground above has a runnable example pre-filled with OPTX.US.

More Symbols

Explore more symbols and discover their market data.

Resources

Explore tutorials and guides to get started with Infoway quickly.

REST API Docs

Explore our REST API documentation for endpoints, parameters, examples, and market data integration.

Learn More

WebSocket Docs

Learn how to connect to Infoway WebSocket and receive real-time market data with low-latency streaming.

Learn More

Blog & News

Discover tutorials, API guides, product updates, and the latest news from Infoway.

Learn More

Google Sheets Add-on

Access market data directly in Google Sheets with our powerful add-ons for easy analysis and reporting.

Learn More

Get Started. For Free!

Get instant access to Infoway's market data APIs with a free trial. Simply sign up with your email and get your API key.

Get Free API Key No Credit Card Required