av_earnings
Pack: alphavantage · Endpoint: https://gateway.pipeworx.io/alphavantage/mcp
Get quarterly earnings data for a symbol (e.g., “AAPL”). Returns reported and estimated EPS, surprise amount, and surprise percentage.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
_apiKey | string | yes | Alpha Vantage API key |
symbol | string | yes | Stock ticker symbol (e.g., “AAPL”, “NVDA”) |
Example call
Arguments
{
"_apiKey": "your-alphavantage-api-key",
"symbol": "AAPL"
}
curl
curl -X POST https://gateway.pipeworx.io/alphavantage/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"av_earnings","arguments":{"_apiKey":"your-alphavantage-api-key","symbol":"AAPL"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('av_earnings', {
"_apiKey": "your-alphavantage-api-key",
"symbol": "AAPL"
});
More examples
{
"_apiKey": "your-alphavantage-api-key",
"symbol": "NVDA"
}
Response shape
Always returns: symbol, annual_earnings, quarterly_earnings
| Field | Type | Description |
|---|---|---|
symbol | string | Stock ticker symbol |
annual_earnings | array | Annual earnings data |
quarterly_earnings | array | Quarterly earnings data (up to 12) |
Full JSON Schema
{
"type": "object",
"properties": {
"symbol": {
"type": "string",
"description": "Stock ticker symbol"
},
"annual_earnings": {
"type": "array",
"description": "Annual earnings data",
"items": {
"type": "object",
"properties": {
"fiscal_date": {
"type": [
"string",
"null"
],
"description": "Fiscal date ending"
},
"reported_eps": {
"type": [
"string",
"null"
],
"description": "Reported earnings per share"
}
}
}
},
"quarterly_earnings": {
"type": "array",
"description": "Quarterly earnings data (up to 12)",
"items": {
"type": "object",
"properties": {
"fiscal_date": {
"type": [
"string",
"null"
],
"description": "Fiscal date ending"
},
"reported_date": {
"type": [
"string",
"null"
],
"description": "Earnings report date"
},
"reported_eps": {
"type": [
"string",
"null"
],
"description": "Reported earnings per share"
},
"estimated_eps": {
"type": [
"string",
"null"
],
"description": "Estimated earnings per share"
},
"surprise": {
"type": [
"string",
"null"
],
"description": "Earnings surprise amount"
},
"surprise_percentage": {
"type": [
"string",
"null"
],
"description": "Earnings surprise percentage"
}
}
}
}
},
"required": [
"symbol",
"annual_earnings",
"quarterly_earnings"
]
}
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"alphavantage": {
"url": "https://gateway.pipeworx.io/alphavantage/mcp"
}
}
}
See Getting Started for client-specific install steps.