/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/tradesetup-api/v1/meta" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/tradesetup-api/v1/meta", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/tradesetup-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/tradesetup-api/v1/meta",
headers={"x-oanor-key": "oanor_test_..."}
)
Example response
A real response from this endpoint, captured by the latest health check.
{
"data": {
"note": "entry, stop and target are prices; side is long or short. account & risk_pct optional for sizing; win_rate accepts a fraction or percent.",
"source": "Computed in-process from caller-supplied entry/stop/target prices (no upstream)",
"service": "tradesetup-api",
"endpoints": {
"GET /v1/meta": "This document.",
"GET /v1/plan": "Risk/reward, RR ratio, break-even win rate + position size (entry=100&stop=98&target=106&side=long&account=10000&risk_pct=1).",
"GET /v1/targets": "Target prices at R-multiples of the stop (entry=100&stop=98&side=long&r_multiples=1,2,3).",
"GET /v1/expectancy": "Expected value & profit factor (reward_risk_ratio=3&win_rate=40, or entry/stop/target+win_rate)."
},
"description": "Live trade-planning analytics built on the geometry of a setup. The plan endpoint turns an entry, stop and target into risk/reward per unit, the reward-to-risk ratio and the break-even win rate, plus position sizing from an account and risk percent; the targets endpoint projects target prices at chosen R-multiples; the expectancy endpoint turns a reward-to-risk ratio and win rate into expected value per trade and profit factor. A trade-geometry planner, distinct from account-based position sizers, forward simulators and backward trade analyzers. Computed locally, nothing stored.",
"upstream_status": "ok"
},
"meta": {
"timestamp": "2026-06-11T07:49:07.180Z",
"request_id": "2ded5979-7621-4be3-9885-ffdb03451c7a"
},
"status": "ok",
"message": "Meta",
"success": true
}