Sentiment
The relative ratio of USDT and USDC relative to the 1:1 USD peg, otherwise known as 'premium', on the Okx peer-to-peer market.
Request
Add the parameter Authorization
to Headers,whose value is to concatenate the Token after the Bearer. Example:Authorization: Bearer ********************
Token URL: https://auth-api.dev.hyblockcapital.com/oauth2/token
Add parameter in header x-api-key
Example:x-api-key: ********************
or
Request Code Samples
curl --location --request GET 'https://api.dev.hyblockcapital.com/v2/stablecoinPremiumP2P?timeframe&limit&startTime&endTime&sort&advanceFilter' \
--header 'Authorization: Bearer <token>' \
--header 'x-api-key: <api-key>'
Responses
{
"data": [
{
"openDate": 1691987220,
"usdcPremium": 100.95,
"usdtPremium": 100.6
}
],
"metadata": {
"exchanges": [
"okx_perp_coin"
]
}
}
Modified at 2025-12-31 05:42:54