/v1/meta
Spec
Try it live
10 free calls per day — no sign-up, no API key. Goes through the oanor gateway.
It works. Grab an API key and use it in your project.
Get an API keyCode snippets
curl "https://api.oanor.com/trading-api/v1/meta" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/trading-api/v1/meta", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/trading-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/trading-api/v1/meta",
headers={"x-oanor-key": "oanor_test_..."}
)
Example response
A real response from this endpoint, captured by the latest health check.
{
"data": {
"notes": "Position sizing is instrument-agnostic (stocks, futures, crypto, forex). Risk % is a percentage (1.5 = 1.5%). For FX rate conversion use a currency API and for option pricing a Black-Scholes API.",
"service": "trading-api",
"endpoints": {
"GET /v1/meta": "This document.",
"GET /v1/kelly": "Kelly criterion fraction and expectancy from win rate and payoff ratio.",
"GET /v1/pip-value": "Forex pip value for a lot/unit size in the quote (and account) currency.",
"GET /v1/position-size": "Position size and risk-reward from account balance, risk %, entry, stop (and target)."
},
"description": "Trading risk-management maths: position sizing from account risk, forex pip value, and the Kelly criterion / expectancy."
},
"meta": {
"timestamp": "2026-06-05T21:48:46.828Z",
"request_id": "0214d5d0-0270-43a3-8e3e-fa7f98dbb5d1"
},
"status": "ok",
"message": "Meta",
"success": true
}