Aller au contenu
GET /v1/valuation

P/E, PEG, P/B, Graham

Essayez-le en direct

10 appels gratuits par jour — sans inscription, sans clé API. Passe par la passerelle oanor.

En-têtes personnalisés (facultatif)
api.oanor.com/dividend-api

Ça marche. Récupérez une clé API et utilisez-la dans votre projet.

Obtenez une clé API

Extraits de code

curl "https://api.oanor.com/dividend-api/v1/valuation" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/dividend-api/v1/valuation", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/dividend-api/v1/valuation");
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/dividend-api/v1/valuation",
    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": "P/E = price / EPS; earnings yield = EPS / price. PEG = P/E ÷ growth%; under 1 is often called cheap-for-growth. Graham number = √(22.5 · EPS · book value) — a rough fair-value ceiling.",
        "inputs": {
            "eps": 4,
            "price": 50
        },
        "pb_ratio": 2.5,
        "pe_ratio": 12.5,
        "peg_ratio": 1.25,
        "growth_rate": 10,
        "graham_number": 42.4264,
        "book_value_per_share": 20,
        "earnings_yield_percent": 8
    },
    "meta": {
        "timestamp": "2026-06-05T21:48:46.283Z",
        "request_id": "92e12145-098b-4560-95de-a69f85716800"
    },
    "status": "ok",
    "message": "Valuation ratios",
    "success": true
}