/v1/pip-value
Forex pip value
Essayez-le en direct
10 appels gratuits par jour — sans inscription, sans clé API. Passe par la passerelle oanor.
Ça marche. Récupérez une clé API et utilisez-la dans votre projet.
Obtenez une clé APIExtraits de code
curl "https://api.oanor.com/trading-api/v1/pip-value" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/trading-api/v1/pip-value", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/trading-api/v1/pip-value");
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/pip-value",
headers={"x-oanor-key": "oanor_test_..."}
)
Exemple de réponse
Une réponse réelle de ce endpoint, capturée lors du dernier contrôle de santé.
{
"data": {
"note": "Pip value = position units × pip size, in the quote currency. A standard lot (100,000) at a 0.0001 pip is 10 of the quote currency; multiply by the quote-to-account rate for non-account quotes.",
"inputs": {
"lots": 1,
"pip_size": 0.0001,
"contract_size": 100000,
"position_units": 100000,
"quote_to_account_rate": 1
},
"pip_value_quote_currency": 10,
"pip_value_account_currency": 10
},
"meta": {
"timestamp": "2026-06-05T21:48:46.611Z",
"request_id": "12e53744-20fa-4490-98eb-eafa552a41ab"
},
"status": "ok",
"message": "Pip value",
"success": true
}