Messages
{
"type": "pyth_value",
"sid": 1,
"seq": 42,
"msg": {
"underlying_ticker": "Metal.XAU/USD",
"value_usd": "2365.12345000",
"source_ts_ms": 1710000000100,
"received_at": 1710000000123
}
}{
"type": "pyth_value_underlying_list",
"id": 2,
"sid": 1,
"seq": 1,
"msg": {
"underlying_tickers": [
"Metal.XAG/USD",
"Metal.XAU/USD"
]
}
}WebSockets
Pyth Value Feed
Real-time Pyth price updates for configured underlying tickers
WSS
pyth_value
Messages
{
"type": "pyth_value",
"sid": 1,
"seq": 42,
"msg": {
"underlying_ticker": "Metal.XAU/USD",
"value_usd": "2365.12345000",
"source_ts_ms": 1710000000100,
"received_at": 1710000000123
}
}{
"type": "pyth_value_underlying_list",
"id": 2,
"sid": 1,
"seq": 1,
"msg": {
"underlying_tickers": [
"Metal.XAG/USD",
"Metal.XAU/USD"
]
}
}apiKey
type:apiKey
API key authentication required for WebSocket connections. The API key should be provided during the WebSocket handshake.
Pyth Value Update
type:object
Deduplicated real-time Pyth price for an underlying ticker
Pyth Underlying List
type:object
Recently streamed Pyth underlying tickers
⌘I