cURL
curl --request GET \ --url https://unidexv4-api-production.up.railway.app/api/globalinfo
{ "fundingRate": 0.0044877381, "borrowRateForLong": 0.005, "borrowRateForShort": 0, "longOpenInterest": 111841.688373, "shortOpenInterest": 129096, "maxLongOpenInterest": 699096, "maxShortOpenInterest": 699096, "longTradingFee": 0.0005, "shortTradingFee": 0.0005 }
Retrieve global market information for a specific trading pair
curl "https://unidexv4-api-production.up.railway.app/api/globalinfo?assetId=1"
{ "fundingRate": 0.0044877381, "borrowRateForLong": 0.0050, "borrowRateForShort": 0.0000, "longOpenInterest": 111841.688373, "shortOpenInterest": 129096.000000, "maxLongOpenInterest": 699096.000000, "maxShortOpenInterest": 699096.000000, "longTradingFee": 0.0005, "shortTradingFee": 0.0005 }
Asset ID (e.g., 1 for BTC/USD)
Ethereum address
Successful response
The response is of type object.
object