Fundamental-ratio percentiles within the S&P 500 GICS sector
Changed onPeer-comparison companion to /{symbol}/earnings-quality. For an S&P 500 member, each fundamental ratio is built from single-concept SEC XBRL frames (one value per filer), joined by CIK, filtered to the company's GICS sector, and percentile-ranked (mid-rank tie-breaking; lower-is-better ratios are inverted so a higher percentile always means higher quality). v1 scope: S&P 500 members only - GICS sector classification is licensed and used only where the constituents blob already ships it. Per-metric peer coverage is reported; calendar-year frames omit non-calendar fiscal-year filers. MODEL ESTIMATE from public filings, not investment advice.
Request
- Base URL: https://sugra.ai
- URL: https://sugra.ai/api/v1/equities/{symbol}/sector-percentiles
- Auth: API key in header x-api-key
Path parameters
S&P 500 member ticker symbol.
Query parameters
Frame year (default: most recent completed year).
Response
The company's ROA, margins, asset turnover, accruals ratio and leverage, each percentile-ranked against its S&P 500 sector peers (higher percentile = higher quality).
Example response
{
"data": {
"symbol": "AAPL",
"sector": "Information Technology",
"peer_universe": "S&P 500"
},
"meta": {
"endpoint": "/api/v1/fred/us/cpi",
"data_time": "2026-04-16T14:30:00Z",
"response_time": "2026-04-16T14:30:12Z",
"provider": "Sugra API v1.0.1",
"data_age_days": 8.532,
"source": "sugra_crypto",
"attribution": "Short interest and Reg SHO daily short volume data is owned by and sourced from FINRA (Financial Industry Regulatory Authority).",
"fallback_chain": [
"sugra_crypto",
"sugra_finance"
],
"stale_since": "2026-09-08T12:00:00Z",
"period": "2026-Q1",
"notes": "the UKMTO report behind these counts is dated 2026-08-21 and is 11 days old"
}
}Changes
- info
added the non-success response with the status
- info
- info
added the optional property
/to the response with the status
- info