/v1/markets
Tradable pairs with base/quote and precision
Pruébalo en vivo
10 llamadas gratis al día — sin registro, sin clave API. Pasa por el gateway de oanor.
Funciona. Consigue una clave API y úsala en tu proyecto.
Obtener una clave APIFragmentos de código
curl "https://api.oanor.com/bitrue-api/v1/markets" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/bitrue-api/v1/markets", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/bitrue-api/v1/markets");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
"https://api.oanor.com/bitrue-api/v1/markets",
headers={"x-oanor-key": "oanor_test_..."}
)
Respuesta de ejemplo
Una respuesta real de este endpoint, capturada en la última comprobación de estado.
{
"data": {
"count": 1393,
"quote": "USDT",
"source": "Bitrue",
"markets": [
{
"base": "LQTY3S",
"quote": "USDT",
"market": "LQTY3SUSDT",
"status": "TRADING",
"base_precision": 7,
"quote_precision": 10
},
{
"base": "FUN",
"quote": "USDT",
"market": "FUNUSDT",
"status": "TRADING",
"base_precision": 1,
"quote_precision": 5
},
{
"base": "LIT",
"quote": "USDT",
"market": "LITUSDT",
"status": "TRADING",
"base_precision": 2,
"quote_precision": 3
},
{
"base": "BCH3L",
"quote": "USDT",
"market": "BCH3LUSDT",
"status": "TRADING",
"base_precision": 8,
"quote_precision": 9
},
{
"base": "D3S",
"quote": "USDT",
"market": "D3SUSDT",
"status": "HALT",
"base_precision": 0,
"quote_precision": 10
},
{
"base": "ALICE",
"quote": "USDT",
"market": "ALICEUSDT",
"status": "TRADING",
"base_precision": 2,
"quote_precision": 3
},
{
"base": "LTC3L",
"quote": "USDT",
"market": "LTC3LUSDT",
"status": "TRADING",
"base_precision": 8,
"quote_precision": 8
},
{
"base": "PROMPT3S",
"quote": "USDT",
"market": "PROMPT3SUSDT",
"status": "TRADING",
"base_precision": 0,
"quote_precision": 8
},
{
"base": "DOGE3L",
"quote": "USDT",
"market": "DOGE3LUSDT",
"status": "TRADING",
"base_precision": 8,
"quote_precision": 8
},
{
"base": "CFX",
"quote": "USDT",
"market": "CFXUSDT",
"status": "TRADING",
"base_precision": 0,
"quote_precision": 4
},
{
"base": "ORCA3L",
"quote": "USDT",
"market": "ORCA3LUSDT",
"status": "TRADING",
"base_precision": 8,
"quote_precision": 8
},
{
"base": "YFI3S",
"quote": "USDT",
"market": "YFI3SUSDT",
"status": "TRADING",
"base_precision": 8,
…