Earnings
earningsTwelve Data earnings history and upcoming earnings dates for a stock symbol: EPS estimate, EPS actual, surprise percentage, and report date per quarter.
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"symbol": "AAPL"
},
"name": "earnings"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| symbol | Yes | Ticker/symbol. Stocks e.g. "AAPL", "MSFT"; forex "EUR/USD"; crypto "BTC/USD"; ETFs "SPY". Comma-separate for a batch (e.g. "AAPL,MSFT"). Market indices (SPX, N225, ...) need a Grow-or-higher Twelve Data key passed via _apiKey, the shared key cannot quote them. | |
| end_date | No | Optional end of range, "YYYY-MM-DD" or "YYYY-MM-DD HH:MM:SS". | |
| exchange | No | Optional exchange filter (e.g. "NASDAQ", "NYSE", "Binance"). | |
| start_date | No | Optional start of range, "YYYY-MM-DD" or "YYYY-MM-DD HH:MM:SS". |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | No | Response code | |
| status | No | Response status | |
| message | No | Response message |