Skip to content
GET /v1/meta

Service metadata

Try it live

10 free calls per day — no sign-up, no API key. Goes through the oanor gateway.

Custom headers (optional)
api.oanor.com/fxcalculator-api

It works. Grab an API key and use it in your project.

Get an API key

Code snippets

curl "https://api.oanor.com/fxcalculator-api/v1/meta" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/fxcalculator-api/v1/meta", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/fxcalculator-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/fxcalculator-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": "Standard lot = 100,000 base units; pip = 0.0001 (0.01 for JPY pairs). Supports ECB major currencies.",
        "source": "ECB rates via Frankfurter (api.frankfurter.dev, live)",
        "service": "fxcalculator-api",
        "endpoints": {
            "GET /v1/meta": "This document.",
            "GET /v1/margin": "Required margin (pair=EURUSD, lot=1, leverage=100).",
            "GET /v1/pip-value": "Pip value in the account currency (pair=EURUSD, lot=1, account=USD).",
            "GET /v1/profit-loss": "Trade P&L (pair=EURUSD, entry=1.0850, exit=1.0900, lot=1, direction=buy).",
            "GET /v1/position-size": "Lots to risk a % of the account (balance=10000, risk_pct=1, stop_loss_pips=20, pair=EURUSD)."
        },
        "rates_date": "2026-06-10",
        "description": "Live foreign-exchange trading calculators computed from live ECB reference rates. The pip-value endpoint returns what one pip of a currency pair is worth, in the trader's account currency, for a given lot size; the position-size endpoint returns how many lots to trade to risk a fixed percentage of the account on a given stop-loss; the profit-loss endpoint returns the P&L of a trade from its entry, exit and direction; the margin endpoint returns the margin a position requires at a given leverage. All conversion to the account currency uses live rates. Computed live, nothing stored. Distinct from raw FX-rate feeds — this turns rates into the pip values, position sizes, margins and P&L a trader acts on.",
        "upstream_status": "ok"
    },
    "meta": {
        "timestamp": "2026-06-10T22:56:38.802Z",
        "request_id": "da87e9db-e3b9-4607-9753-22d90851ceaf"
    },
    "status": "ok",
    "message": "Meta",
    "success": true
}