Returns all available trading instruments with metadata: symbol code, name, type, pip size, contract specs.
Response 200 OK
{
"items": [
{
"symbol": "XAUUSD",
"name": "Gold vs US Dollar",
"type": "commodity",
"pip_size": 0.01,
"contract_size": 100,
"margin_rate": 0.01,
"min_lot": 0.01,
"max_lot": 50
}
],
"count": 30
}
cURLPythonJavaScript
curl -H "X-API-Key: YOUR_KEY" "https://gfil-intel.xyz/api/symbols"
import requests
r = requests.get("https://gfil-intel.xyz/api/symbols",
headers={"X-API-Key": "YOUR_KEY"})
symbols = r.json()["items"]
for s in symbols:
print(f"{s['symbol']}: {s['name']}")
fetch("https://gfil-intel.xyz/api/symbols", {
headers: { "X-API-Key": "YOUR_KEY" }
}).then(r => r.json()).then(data => {
data.items.forEach(s => console.log(s.symbol, s.name));
});