Developer Documentation

Integrate our 63-layer symplectic forward pass Neural SDE and real-time physical lead signals directly into your analysis infrastructure.

POST /api/v1/forward
Headers: { "Authorization": "Bearer $KEY" } Payload: { "state_3072d": [0.421, -0.198, ...] }
Runs a 63-layer symplectic Hamiltonian forward pass. Warped with SiLU. Price: $0.002 per call.
POST /api/v1/classify
Headers: { "Authorization": "Bearer $KEY" } Payload: { "ode_states": [0.923, 0.442, ...] }
Processes regime classification and stability analysis. Price: $0.002 per call.
POST /api/v1/tier
Headers: { "Authorization": "Bearer $KEY" } Response: { "id": 1284, "tier": "Platinum", "charge": 0.882 }
Grades physical leads or market states (Platinum, Gold, Silver, Bronze) using the confidence scoring. Price: $0.002 + lead price.
GET /api/v1/phase-log
Headers: { "Authorization": "Bearer $KEY" } Response: { "phases_energy_levels": [...] }
Retrieves the complete 63-layer forward pass state log for the last forward pass sequence. Price: $0.002 per call.

Sample Implementations

Connect to our live WebSocket gateway or issue REST payloads with these template scripts.

Python Client WebSocket Stream
import websocket, zlib, json

def on_message(ws, msg):
    # Decode compressed packet
    payload = json.loads(zlib.decompress(msg))
    print(f"Asset: {payload['asset']} win_prob={payload['xgb_win_probability']:.4f}")

ws = websocket.WebSocketApp(
    "ws://kairossignal.com:8090/ws?token=your_key",
    on_message=on_message
)
ws.run_forever()
Go Client REST Forward API
package main

import (
	"bytes"
	"net/http"
)

func main() {
	body := []byte(`{"state_3072d": [0.42, -0.19]}`)
	req, _ := http.NewRequest("POST", "https://kairossignal.com/api/v1/forward", bytes.NewBuffer(body))
	req.Header.Set("Authorization", "Bearer your_key")
	
	client := &http.Client{}
	resp, _ := client.Do(req)
	_ = resp.Body.Close()
}