Docs / API reference
GET /v1/ratios/{ticker}
Margins, returns, leverage and liquidity, computed from the EDGAR fundamentals. Price-based ratios like P/E and P/B aren't included, since EDGAR has no market price.
Request
curl https://api.edgrapi.com/v1/ratios/MSFT -H "X-API-Key: edgr_..."
Response
{
"ticker": "MSFT", "company": "MICROSOFT CORP",
"ratios": {
"period": "2025", "gross_margin": 0.6882, "operating_margin": 0.4562,
"net_margin": 0.3615, "return_on_equity": 0.2965, "return_on_assets": 0.1645,
"current_ratio": 1.3534, "debt_to_equity": 0.8022, "revenue_growth_yoy": 0.1493
},
"source": "SEC EDGAR companyfacts"
}