# Stock peers

`GET /stable/stock-peers`

[FMP OpenAPI schema](https://api.quantset.dev/openapi/fmp.json)

## Example request

```bash
curl 'https://api.quantset.dev/stable/stock-peers?symbol=NVDA' -H 'apikey: YOUR_QUANTSET_API_KEY'
```

## Parameters

Authenticate with a QuantSet API key in the `apikey` header or query parameter.

| Name | Location | Type | Required | Default |
| --- | --- | --- | --- | --- |
| `symbol` | query | string | Yes | — |
| `format` | query | json, csv | No | "json" |
| `snapshot_id` | query | string | No | — |

## Data coverage

Peers are drawn from the warehouse industry classification for the listing.

## JSON shape

Angle brackets indicate types. Arrays show one item. See the schema for all constraints.

```json
[
  {
    "symbol": "<string | null>",
    "companyName": "<string | null>",
    "price": "<number | null>",
    "mktCap": "<number | null>"
  }
]
```

## Response schema

```json
{
  "type": "array",
  "items": {
    "properties": {
      "symbol": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Symbol"
      },
      "companyName": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Companyname"
      },
      "price": {
        "anyOf": [
          {
            "type": "number"
          },
          {
            "type": "null"
          }
        ],
        "title": "Price"
      },
      "mktCap": {
        "anyOf": [
          {
            "type": "number"
          },
          {
            "type": "null"
          }
        ],
        "title": "Mktcap"
      }
    },
    "additionalProperties": false,
    "type": "object",
    "title": "FmpStablePeers"
  },
  "title": "Response Stable Stock Peers Stable Stock Peers Get"
}
```
