# Industry peers (QuantSet API)

> Peer companies matched by canonical sector or 4-digit SIC industry, ordered by market cap.

> ## For AI agents
> The QuantSet API is at https://api.quantset.dev. Send the key in the `X-API-Key` header. The sandbox key `mw_demo` needs no signup and reads the sample listings.
> No key yet? An agent can open an account on its own: https://api.quantset.dev/skill.md
> Connect an MCP client to https://api.quantset.dev/mcp. Client setup is at https://api.quantset.dev/agents.md.
> Start with https://api.quantset.dev/llms.txt or read the full reference at https://api.quantset.dev/llms-full.txt. The OpenAPI file is https://api.quantset.dev/openapi.json. Add `.md` to any docs URL to get that page as Markdown.

`GET https://api.quantset.dev/api/v1/peers` · `get_peers`

Send a key in the `X-API-Key` header. Try `mw_demo` with the sample selectors.
Add `format=csv` to get a UTF-8 table.
Price: 3 credits for every 10 rows returned.

## Research questions

### Which companies form a sensible starting peer set for Nvidia?

```http
GET https://api.quantset.dev/api/v1/peers?ticker=us:NVDA&limit=10
```

Read peer_group and group_basis for each comparison. Check industry and size before adopting the set.

### Why were these companies selected for comparison?

```http
GET https://api.quantset.dev/api/v1/peers?ticker=AAPL&limit=5
```

Read group_basis and peer_group, then inspect each company’s industry and size before using a peer median.

## Reading the results

A shared industry classification is a screening criterion. Two companies in it can have very different customers, margins or capital structures.


## Coverage and limits

The returned list is bounded by available classification data and the requested limit. It is not an exhaustive competitor list.


## Related guides

- [Choose a listing across exchanges](https://quantset.dev/docs/guides/instrument-ids)

## Parameters

- `ticker` (string, required): Catalog selector, such as NVDA, 7203.T, or a canonical ID such as us:NVDA.
- `limit` (integer, 1 to 100, optional): Maximum number of rows to return.
- `snapshot_id` (string, optional): Pin the request to one immutable snapshot so a read across several pages stays consistent.
- `format` (json | csv, optional): Return a JSON page or UTF-8 CSV rows.
- `X-Max-Credits` (integer, 0 to 999,999,999,999, optional, in header): Refuse the request if its maximum charge exceeds this ceiling.
- `X-Workflow-Id` (string, optional, in header): Optional printable identifier for grouping charges in a research workflow.

## Response fields

- `sector` (string): The company's sector, in one standard list used across all markets.
- `sector_as_of` (string): The date the sector label was observed.
- `sector_funds` (array)
- `directory_sector` (string)
- `sector_coverage` (direct | linked_isin | directory_only | industry_only | not_applicable | unclassified): How the sector was established: direct, linked_isin, directory_only, industry_only, not_applicable or unclassified.
- `sector_asset_type` (string)
- `sector_isin` (string)
- `sector_link_venue` (string)
- `sector_link_ticker` (string)
- `directory_link_venue` (string)
- `directory_link_ticker` (string)
- `industry_label` (string): The company's industry in plain words, where one is established.
- `sic_code` (string): The company's SEC Standard Industrial Classification code.
- `sic_description` (string): The SEC's name for that industry code.
- `group_basis` (sector | sic_industry | sec_division | industry)
- `instrument_id` (string): The listing's ID: a market prefix, a colon, then the ticker. For example us:NVDA, global:SHEL.L, crypto:BTCUSDT or index:SPX.
- `symbol` (string): The ticker without its market prefix.
- `peer_group` (string)
- `name` (string): The company, fund or instrument name.
- `industry` (string): The company's industry, as reported for its home market.
- `sec_sector` (string)
- `price` (number): The latest price in US dollars.
- `change_1y_pct` (number): In percent: 10 means 10%.
- `market_cap_b` (number): The company's market value, in billions of US dollars.
- `rev_growth_yoy_pct` (number): In percent: 10 means 10%.
- `net_margin_pct` (number): Net income as a share of sales, in percent.
- `roe_pct` (number): Net income as a share of shareholders' equity, in percent.
- `roic_pct` (number): After-tax operating profit as a share of invested capital, in percent.
- `debt_to_equity` (number): Total debt divided by shareholders' equity.
- `pe_ttm` (number): Price divided by trailing earnings per share.
- `pe_forward` (number): Price divided by the consensus estimate of next year's earnings per share.
- `fcf_yield_pct` (number): Free cash flow per share as a share of the price, in percent.
- `dividend_yield_pct` (number): Annual dividends per share as a share of the price, in percent.
- `analyst_rank` (string): The analyst rank for the stock.
- `vgm_grade` (string): The combined value, growth and momentum grade, from A to F.

## Example

```
curl 'https://api.quantset.dev/api/v1/peers?ticker=us:NVDA&limit=10' -H 'X-API-Key: mw_demo'
```

## Responses

- 200 Successful Response
- 400 Supply one credential.
- 401 Supply a valid API key.
- 402 Reduce the request ceiling or refill your credits.
- 403 Your key does not have the required access.
- 404 The requested listing is absent from the catalog.
- 409 Start the read again with the current snapshot.
- 413 Reduce the page size before requesting CSV again.
- 422 Correct the named parameter and retry.
- 429 Wait for Retry-After seconds.
- 500 The request could not be completed.
- 503 Retry safe reads after a short delay.

## Questions

**Can I try Industry peers without signing up?** Yes. Use the sandbox key mw_demo and the sample selectors on this page.

**What does Industry peers cost?** 3 credits for every 10 rows returned. A request that fails costs nothing.

**Which plan includes it?** Every account. Free credits, credit packs and subscriptions all read this data.

**Can I get it as CSV or in a spreadsheet?** Yes. Add format=csv to the request. In Google Sheets, put that URL inside IMPORTDATA with a data-only key in apikey.

**Can an AI agent use this?** Yes. On the QuantSet MCP server it is the get_peers tool, so Claude, ChatGPT, Cursor and other clients can call it with no code.

**What does null mean in the response?** The value could not be confirmed. It is never a zero, so treat it as missing in your own calculations.

Group: Fundamentals and screening
Docs page: https://quantset.dev/docs/api/peers
Integrations & Ecosystem: https://quantset.dev/integrations (Claude/Cursor MCP, LangGraph, PydanticAI, CrewAI, Agno, Vercel AI SDK, Mastra, Sheets =QUANTSET(), Excel, Notion & x402)
Full API guide: https://api.quantset.dev/llms-full.txt
