QuantSet Docs Developer console

FMP endpoint reference / Stable

Grades consensus

GET/stable/grades-consensus

FMP OpenAPI schema · View as Markdown

Example request

curl 'https://api.quantset.dev/stable/grades-consensus?symbol=NVDA' -H 'apikey: YOUR_QUANTSET_API_KEY'

Parameters

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

NameLocationTypeRequiredDefault
symbolquerystringYes—
formatqueryjson, csvNo"json"
snapshot_idquerystringNo—

Data coverage

Consensus reflects available analyst observations. It can omit unsupported ratings or targets.

JSON shape

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

[
  {
    "symbol": "<string | null>",
    "strongBuy": "<integer | null>",
    "buy": "<integer | null>",
    "hold": "<integer | null>",
    "sell": "<integer | null>",
    "strongSell": "<integer | null>",
    "consensus": "<string | null>"
  }
]
Response schema
{
  "type": "array",
  "items": {
    "properties": {
      "symbol": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Symbol"
      },
      "strongBuy": {
        "anyOf": [
          {
            "type": "integer"
          },
          {
            "type": "null"
          }
        ],
        "title": "Strongbuy"
      },
      "buy": {
        "anyOf": [
          {
            "type": "integer"
          },
          {
            "type": "null"
          }
        ],
        "title": "Buy"
      },
      "hold": {
        "anyOf": [
          {
            "type": "integer"
          },
          {
            "type": "null"
          }
        ],
        "title": "Hold"
      },
      "sell": {
        "anyOf": [
          {
            "type": "integer"
          },
          {
            "type": "null"
          }
        ],
        "title": "Sell"
      },
      "strongSell": {
        "anyOf": [
          {
            "type": "integer"
          },
          {
            "type": "null"
          }
        ],
        "title": "Strongsell"
      },
      "consensus": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Consensus"
      }
    },
    "additionalProperties": false,
    "type": "object",
    "title": "FmpStableGradesconsensus"
  },
  "title": "Response Grades Consensus Stable Grades Consensus Get"
}