# Financial Datasets Get Earnings Data API

> Get the most recent earnings snapshot for a ticker. Optional change fields are returned only when available.

Source: https://www.sandbase.ai/model/financial-datasets/earnings
API reference: https://www.sandbase.ai/model/financial-datasets/earnings/docs

## Facts

- Provider: Financial Datasets
- Type: Data API
- Endpoint: `POST https://api.sandbase.ai/v1/api/financial-datasets/earnings`
- Price: $0.03 per call
- Capabilities: api, financial datasets, stocks
- Billing: pay per use from one SandBase balance; no provider account or subscription needed

## Call it

`POST https://api.sandbase.ai/v1/api/financial-datasets/earnings` with `Authorization: Bearer $SANDBASE_API_KEY` and the parameters as a JSON body.

| Parameter | Type | Required | Allowed values |
| --- | --- | --- | --- |
| `ticker` | string | yes |  |
| `cursor` | string | no |  |
| `limit` | integer | no |  |

## FAQ

### How do I use the Financial Datasets Get Earnings Data API?

Send a POST request to https://api.sandbase.ai/v1/api/financial-datasets/earnings with your SandBase API key in the Authorization header (Bearer) and the parameters as a JSON body. You can also try it in the Playground on this page without writing code.

### How much does the Financial Datasets Get Earnings Data API cost?

$0.03 per call, billed from your SandBase balance. You are only charged for calls you make; there is no subscription.

### What parameters does the Financial Datasets Get Earnings Data API accept?

Required: ticker (string). Optional: cursor (string) and limit (integer). The Parameters table and the Playground on this page list every field.

### What does the Financial Datasets Get Earnings Data API return?

A JSON response returned in the same HTTP request (synchronous).

### Do I need a Financial Datasets developer account or API key?

No. Financial Datasets Get Earnings Data runs through SandBase, so one SandBase API key covers this endpoint and every other API and model in the catalog. You do not need to apply for Financial Datasets API access separately.

## README

### Financial Datasets Get Earnings Data API

Get the most recent earnings snapshot for a ticker. Optional change fields are returned only when available.

The response is the official Financial Datasets API response, unchanged.

#### Request

```bash
curl -X POST "https://api.sandbase.ai/v1/run" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model": "financial-datasets/earnings", "ticker": "<ticker>"}'
```

#### Parameters

| Name | Type | Required | Description |
|---|---|---|---|
| `cursor` | string | No | Opaque pagination cursor from a previous response's next_page_url. When provided, all other query parameters are ignored: the cursor carries the original reques |
| `limit` | integer | No | Number of most-recent report periods worth of filings to return, sorted by `(report_period DESC, filing_date ASC)`. The number of entries returned may exceed `l |
| `ticker` | string | Yes | The ticker symbol (e.g. `AAPL`). |

#### Pricing

Flat price per call. Failed calls are not charged.
