Developer Docs
Integrate GammaX Quotex API into your app, bot, or AI workflow.
Every protected endpoint accepts the license key by header, bearer token, or query parameter. Header authentication is recommended.
Authentication
Preferred header:
X-License-Key: YOUR_LICENSE_KEY
Alternative query parameter:
https://gammaxalpha.com/quotexapi/pairs/?license=YOUR_LICENSE_KEY
Pairs
Returns currently available assets with API name, display name, open status, and payout percentages.
GET https://gammaxalpha.com/quotexapi/pairs/
import requests
headers = {"X-License-Key": "PASTE_KEY"}
data = requests.get("https://gammaxalpha.com/quotexapi/pairs/", headers=headers, timeout=30).json()
for asset in data["assets"]:
print(asset["api_name"], asset["open"], asset["profit_1m"])
Candle Data
Reads uploaded daily candle files from /candle_data. Use this for stored real market and OTC market history.
GET https://gammaxalpha.com/quotexapi/candle_data/?asset=USDBDT_OTC&count=100
Now Candle
Returns completed candles only. For a 1-minute period, the newest candle is the previous complete minute.
GET https://gammaxalpha.com/quotexapi/now_candle/?asset=USDBDT_otc&period=60&count=100
Useful when your strategy must not use an unfinished candle.
No Latency Candle
Returns the currently running candle from the live tick stream. The candle resets at the next period boundary.
GET https://gammaxalpha.com/quotexapi/no_latency_candle/?asset=USDBDT_otc&period=60
{
"ok": true,
"type": "no_latency_candle",
"asset": "USDBDT_otc",
"period": 60,
"running_candle": {
"time": 1782824400,
"open": 109.12,
"high": 109.18,
"low": 109.10,
"close": 109.16,
"elapsed": 24,
"remaining": 36,
"ticks": 17
}
}
Extream Candle Data Live
Use this when a software needs the previous 100 completed candles plus the running candle in one response.
GET https://gammaxalpha.com/quotexapi/extream_candle_data_live/?asset=USDBDT_otc&period=60&count=100
import requests
headers = {"X-License-Key": "PASTE_KEY"}
params = {"asset": "USDBDT_otc", "period": 60, "count": 100}
data = requests.get("https://gammaxalpha.com/quotexapi/extream_candle_data_live/", headers=headers, params=params, timeout=45).json()
previous_100 = data["history_candles"]
running = data["running_candle"]
AI Prompt Workflow
If your software takes a chart screenshot around 30 seconds into a 1-minute candle, call extream_candle_data_live at the same time and send both the screenshot and JSON to your AI model.
You are analyzing a 1-minute market setup. Use the attached chart screenshot and this JSON: - previous_100 candles are completed candles. - running_candle is the current unfinished candle at about 30 seconds. Rules: 1. Do not treat running_candle as closed. 2. Compare the screenshot with the candle JSON. 3. Identify trend, support/resistance, candle pressure, and volatility. 4. Return CALL, PUT, or WAIT with confidence and a short reason. 5. If running_candle conflicts with the previous 100 candles, choose WAIT.
Endpoint Summary
| Folder | Description |
|---|---|
https://gammaxalpha.com/quotexapi/pairs/ | Live assets, API names, open status, and payout percentages. |
https://gammaxalpha.com/quotexapi/candle_data/ | Daily uploaded market and OTC candle files. |
https://gammaxalpha.com/quotexapi/now_candle/ | Latest completed candles up to the previous completed minute. |
https://gammaxalpha.com/quotexapi/no_latency_candle/ | The currently running candle rebuilt from live ticks. |
https://gammaxalpha.com/quotexapi/extream_candle_data_live/ | Historical completed candles plus the running live candle. |