/v1/orderbook
Top-three bid/ask order book
Live testen
10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.
Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.
API-Key holenCode-Snippets
curl "https://api.oanor.com/hose-api/v1/orderbook" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/hose-api/v1/orderbook", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/hose-api/v1/orderbook");
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/hose-api/v1/orderbook",
headers={"x-oanor-key": "oanor_test_..."}
)
Beispiel-Response
Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.
{
"data": {
"asks": [
{
"price": 196.5,
"volume": 20
},
{
"price": 196.8,
"volume": 130
},
{
"price": 197,
"volume": 500
}
],
"bids": [
{
"price": 196,
"volume": 1390
},
{
"price": 195.9,
"volume": 90
},
{
"price": 195.8,
"volume": 120
}
],
"note": "The live order book for one Vietnamese stock — the top three bid and ask levels with price and volume. Pass ticker (e.g. VIC). Bids are the buy side (g1-g3), asks the sell side (g4-g6).",
"source": "HOSE / Vietnam (VPS)",
"ticker": "VIC",
"last_price": 196
},
"meta": {
"timestamp": "2026-06-15T02:10:49.038Z",
"request_id": "6678323b-3d9c-4a8f-b60e-3fc054bfa5d8"
},
"status": "ok",
"message": "Order book retrieved successfully",
"success": true
}