Public Market Data
Market Price Changes Info
Partner Support
User Flows
General API
- Builder Info
- System Info
- USDC Faucet
User API
- Registration
- Key Management
- Account/User Info
- Account Notifications
- Account Config
- Delegate Signer
Trading API
- Order Management
- Liquidations
- Assets/Withdraw/Settle PnL
- Positions
- Funding
Rewards API
- Trading Rewards
- Market Making Rewards
Staking & Valor API
- Staking
- Valor
Builder API
- User Data
- Trading Campaigns
- Fee Setting
- Referral Program
Market Data API
- TradingView
- Funding Rates
- Market Info
Websocket API
- Introduction
- PING/PONG
- Authentication
- Error Response
- Public Market Data
- Request orderbook
- Orderbook
- Order book update
- Trade
- 24h ticker
- 24h tickers
- 24h ticker by builder
- 24h tickers by builder
- bbo
- bbos
- k-line
- Market Price Changes Info
- Traders Open Interest
- Price for Small Charts
- Index price
- Index prices
- Mark price
- Mark prices
- Open interest
- Estimated funding rate
- Liquidation push
- System maintenance status
- Announcement
- Private User Data
Public Market Data
Market Price Changes Info
{
"id":"clientID11",
"event":"subscribe",
"success":true,
"ts":1682242408023
}
{
"topic": "price_changes",
"ts": 1702989203989,
"data": [
{
"symbol": "PERP_BTC_USDC",
"last_price": 31000,
"5m": 31000,
"30m": 31000,
"1h": 31000,
"4h": 31000,
"24h": 31000,
"3d": 31000,
"7d": 31000,
"30d": null
},
{
"symbol": "PERP_ETH_USDC",
"last_price": 2100,
"5m": 31000,
"30m": 31000,
"1h": 31000,
"4h": 31000,
"24h": 31000,
"3d": 31000,
"7d": 31000,
"30d": null
}
]
}
Push interval: every 1m
{
"id": "clientID11",
"topic": "price_changes",
"event": "subscribe"
}
Parameters
Name | Type | Required | Description |
---|---|---|---|
id | string | Y | id generate by client |
event | string | Y | subscribe /unsubscribe |
topic | string | N | price_changes |
{
"id":"clientID11",
"event":"subscribe",
"success":true,
"ts":1682242408023
}
{
"topic": "price_changes",
"ts": 1702989203989,
"data": [
{
"symbol": "PERP_BTC_USDC",
"last_price": 31000,
"5m": 31000,
"30m": 31000,
"1h": 31000,
"4h": 31000,
"24h": 31000,
"3d": 31000,
"7d": 31000,
"30d": null
},
{
"symbol": "PERP_ETH_USDC",
"last_price": 2100,
"5m": 31000,
"30m": 31000,
"1h": 31000,
"4h": 31000,
"24h": 31000,
"3d": 31000,
"7d": 31000,
"30d": null
}
]
}
{
"id":"clientID11",
"event":"subscribe",
"success":true,
"ts":1682242408023
}
{
"topic": "price_changes",
"ts": 1702989203989,
"data": [
{
"symbol": "PERP_BTC_USDC",
"last_price": 31000,
"5m": 31000,
"30m": 31000,
"1h": 31000,
"4h": 31000,
"24h": 31000,
"3d": 31000,
"7d": 31000,
"30d": null
},
{
"symbol": "PERP_ETH_USDC",
"last_price": 2100,
"5m": 31000,
"30m": 31000,
"1h": 31000,
"4h": 31000,
"24h": 31000,
"3d": 31000,
"7d": 31000,
"30d": null
}
]
}