---
title: "Fundamental-ratio percentiles within the S&P 500 GICS sector"
method: GET
path: "/api/v1/equities/{symbol}/sector-percentiles"
tags: ["Equities Indices"]
---

# Fundamental-ratio percentiles within the S&P 500 GICS sector

`GET /api/v1/equities/{symbol}/sector-percentiles`

Peer-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.

## Path parameters

- `symbol` string, required — S&P 500 member ticker symbol.

## Query parameters

- `year` integer, nullable — Frame year (default: most recent completed year).

## Response `200`

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).

- EnvelopePeerPercentilesData
  - `data` PeerPercentilesData, required — DATA-5.2.1: sector peer percentiles for fundamental quality ratios.
    - `symbol` string, required
    - `cik` string, nullable
    - `sector` string, required — GICS sector (from the S&P 500 constituents blob).
    - `peer_universe` string, required
    - `sector_size` integer, required — S&P 500 members in this sector.
    - `frame_year` integer, required — Calendar year of the XBRL frames used.
    - `metrics` object, required — roa, net_margin, gross_margin, asset_turnover, accruals_ratio, leverage.
    - `methodology` object
  - `meta` SugraMeta, required — Metadata attached to every /api/v1/* response envelope.
    - `endpoint` string, required — Requested endpoint path.
    - `data_time` string, required — ISO 8601 UTC timestamp of the source data, not of the request.
    - `response_time` string, required — ISO 8601 UTC timestamp when this response was produced.
    - `provider` string, required — API name and version.
    - `source` string, nullable — Identifier of the primary upstream source used for this response.
    - `attribution` string, nullable — Human-readable attribution mandated by an upstream source (e.g. a securities regulator or self-regulatory organization). Present only on responses whose source requires the owner and source to be clearly identified. Do not remove or alter it when using the response.
    - `fallback_used` boolean, nullable — True when the primary source failed and a fallback produced the data.
    - `fallback_chain` string[], nullable — Ordered list of sources attempted, in the order they were tried.
    - `cached` boolean, nullable — True when this response was served from the internal cache.
    - `stale` boolean, nullable — True when the cached response was returned after the upstream rate-limited or errored. Clients can use this to detect degraded data.

## Other responses

- `400` — Invalid ticker symbol.
- `401` — Missing or invalid `x-api-key` header.
- `404` — Symbol is not an S&P 500 member (out of v1 scope).
- `422` — Parameter bounds, or no XBRL frame coverage for the requested year.
- `429` — Daily rate limit exceeded. Check `X-RateLimit-Reset` for the next window.
- `502` — SEC XBRL frames temporarily unavailable.
- `503` — Upstream source is temporarily unavailable. Retry after a short delay.

---

[API](https://skmtc.net/sugra/apis/sugra-api.md) · [All operations](https://skmtc.net/sugra/apis/sugra-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/sugra/sugra-api/versions/4e2740743eb4/schema)
