# Earnings

`GET /stable/earnings`

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

## Example request

```bash
curl 'https://api.quantset.dev/stable/earnings?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 | — |
| `limit` | query | integer, 1 to 1,000 | No | 100 |
| `includeReportTimes` | query | boolean | No | false |
| `format` | query | json, csv | No | "json" |
| `snapshot_id` | query | string | No | — |

## Data coverage

A row can establish the report date while EPS, revenue, and revision fields remain null.

## JSON shape

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

```json
[
  {
    "symbol": "<string | null>",
    "date": "<string | null>",
    "epsActual": "<number | null>",
    "epsEstimated": "<number | null>",
    "revenueActual": "<number | null>",
    "revenueEstimated": "<number | null>",
    "lastUpdated": "<string | null>"
  }
]
```

## Response schema

```json
{
  "type": "array",
  "items": {
    "properties": {
      "symbol": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Symbol"
      },
      "date": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Date"
      },
      "epsActual": {
        "anyOf": [
          {
            "type": "number"
          },
          {
            "type": "null"
          }
        ],
        "title": "Epsactual"
      },
      "epsEstimated": {
        "anyOf": [
          {
            "type": "number"
          },
          {
            "type": "null"
          }
        ],
        "title": "Epsestimated"
      },
      "revenueActual": {
        "anyOf": [
          {
            "type": "number"
          },
          {
            "type": "null"
          }
        ],
        "title": "Revenueactual"
      },
      "revenueEstimated": {
        "anyOf": [
          {
            "type": "number"
          },
          {
            "type": "null"
          }
        ],
        "title": "Revenueestimated"
      },
      "lastUpdated": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Lastupdated"
      }
    },
    "additionalProperties": false,
    "type": "object",
    "title": "FmpStableEarning"
  },
  "title": "Response Stable Earnings Stable Earnings Get"
}
```
