/v1/meta
Spec
Provalo dal vivo
10 chiamate gratuite al giorno — senza registrazione, senza chiave API. Passa dal gateway oanor.
Funziona. Prendi una chiave API e usala nel tuo progetto.
Ottieni una chiave APIFrammenti di codice
curl "https://api.oanor.com/vwap-api/v1/meta" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/vwap-api/v1/meta", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/vwap-api/v1/meta");
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/vwap-api/v1/meta",
headers={"x-oanor-key": "oanor_test_..."}
)
Risposta di esempio
Una risposta reale di questo endpoint, acquisita dall'ultimo health check.
{
"data": {
"note": "candles = open:high:low:close:volume, comma-separated, oldest first. Volume is required for VWAP.",
"source": "Computed in-process from caller-supplied OHLCV candles (no upstream)",
"service": "vwap-api",
"endpoints": {
"GET /v1/meta": "This document.",
"GET /v1/vwap": "Session VWAP + cumulative curve (candles=o:h:l:c:v,...).",
"GET /v1/anchored": "VWAP measured from a chosen bar (candles=..., anchor=0).",
"GET /v1/benchmark": "Score a fill vs VWAP & TWAP (candles=..., fill_price=100.5, side=buy)."
},
"description": "Live VWAP and execution-benchmark analytics computed on demand from OHLCV candles. The vwap endpoint returns the session VWAP, its cumulative curve and where the last price sits relative to it; the anchored endpoint returns the VWAP measured from a chosen bar; the benchmark endpoint scores an execution price against VWAP and TWAP (slippage in basis points and whether the fill beat the benchmark). Computed live from your input, nothing stored — works for forex, stocks, crypto or commodities. An execution-analytics engine, distinct from indicator and pattern tools. VWAP uses the typical price (H+L+C)/3.",
"upstream_status": "ok"
},
"meta": {
"timestamp": "2026-06-11T07:49:29.105Z",
"request_id": "4c94268c-d0a4-4465-9e4d-e81a90e1ed2d"
},
"status": "ok",
"message": "Meta",
"success": true
}