Sources › Finance › Yahoo Finance › Earnings

Yahoo Finance Earnings API

Reported vs consensus EPS, surprise, and forward estimates.

Yahoo FinanceGET /earningsAll plans1 Zap

Request

GET
https://api.zapi.ink/v1/finance:yahoo-finance/earnings

Send your key in the x-api-key header. The response is JSON in the { project, data, timestamp } envelope, and an identical request is served from cache for 5 minutes.

Parameters

NameTypeInRequiredDescription
symbolstringqueryYesInstrument symbol. Jakarta listings use the .JK suffix Example: AAPL

Code examples

cURL
curl -X GET "https://api.zapi.ink/v1/finance:yahoo-finance/earnings?symbol=AAPL" \
  -H "x-api-key: zpi_xxxxxxxxxxxxxxxxxxxxxxxx"
JavaScript
const res = await fetch("https://api.zapi.ink/v1/finance:yahoo-finance/earnings?symbol=AAPL", {
  method: "GET",
  headers: {
    "x-api-key": "zpi_xxxxxxxxxxxxxxxxxxxxxxxx"
  },
});
const data = await res.json();
console.log(data);
Python
import requests

res = requests.get(
    "https://api.zapi.ink/v1/finance:yahoo-finance/earnings",
    params={"symbol":"AAPL"},
    headers={"x-api-key":"zpi_xxxxxxxxxxxxxxxxxxxxxxxx"},
)
print(res.json())

Example response

200 OK · application/json
{
  "project": "finance:yahoo-finance",
  "data": {
    "count": 4,
    "items": [
      {
        "period": "-4q",
        "currency": "USD",
        "epsActual": 1.85,
        "quarterEnd": 1759190400,
        "epsEstimate": 1.76993,
        "epsDifference": 0.08,
        "surprisePercent": 4.52
      },
      {
        "period": "-3q",
        "currency": "USD",
        "epsActual": 2.84,
        "quarterEnd": 1767139200,
        "epsEstimate": 2.6708,
        "epsDifference": 0.17,
        "surprisePercent": 6.34
      },
      {
        "period": "-2q",
        "currency": "USD",
        "epsActual": 2.01,
        "quarterEnd": 1774915200,
        "epsEstimate": 1.94275,
        "epsDifference": 0.07,
        "surprisePercent": 3.46
      },
      {
        "period": "-1q",
        "currency": "USD",
        "epsActual": 2.02,
        "quarterEnd": 1782777600,
        "epsEstimate": 1.89243,
        "epsDifference": 0.13,
        "surprisePercent": 6.74
      }
    ],
    "annual": [
      {
        "year": 2022,
        "revenue": 394328000000,
        "earnings": 99803000000
      },
      {
        "year": 2023,
        "revenue": 383285000000,
        "earnings": 96995000000
      },
      {
        "year": 2024,
        "revenue": 391035000000,
        "earnings": 93736000000
      },
      {
        "year": 2025,
        "revenue": 416161000000,
        "earnings": 112010000000
      }
    ],
    "symbol": "AAPL",
    "currency": "USD",
    "provider": "yahoo",
    "estimates": [
      {
        "epsLow": 1.95,
        "period": "0q",
        "endDate": "2026-09-30",
        "epsHigh": 2.04,
        "epsAverage": 1.97898,
        "epsAnalysts": 26,
        "growthPercent": 7.03,
        "revenueAverage": 113259618670,
        "revenueAnalysts": 26
      },
      {
        "epsLow": 2.51,
        "period": "+1q",
        "endDate": "2026-12-31",
        "epsHigh": 3.42,
        "epsAverage": 2.90908,
        "epsAnalysts": 23,
        "growthPercent": 1.61,
        "revenueAverage": 153920295200,
        "revenueAnalysts": 21
      },
      {
        "epsLow": 8.57,
        "period": "0y",
        "endDate": "2026-09-30",
        "epsHigh": 8.92,
        "epsAverage": 8.81411,
        "epsAnalysts": 37,
        "growthPercent": 18.030001,
        "revenueAverage": 477391182150,
        "revenueAnalysts": 28
      },
      {
        "epsLow": 8.24,
        "period": "+1y",
        "endDate": "2027-09-30",
        "epsHigh": 10.96,
        "epsAverage": 9.58609,
        "epsAnalysts": 41,
        "growthPercent": 8.01,
        "revenueAverage": 523865758660,
        "revenueAnalysts": 40
      }
    ],
    "nextEarningsDate": 1793304000,
    "nextEarningsDateEstimated": false
  },
  "timestamp": "2026-08-02T04:21:08Z"
}

Frequently asked questions

How do I call the Yahoo Finance Earnings API?

Send a GET request to https://api.zapi.ink/v1/finance:yahoo-finance/earnings?symbol=AAPL with your Zapi key in the x-api-key header. Parameters — required: symbol. The response is JSON in the { project, data, timestamp } envelope.

What does the Yahoo Finance Earnings API return?

Reported vs consensus EPS, surprise, and forward estimates. The example response has the fields count, items, annual, symbol, currency, provider, estimates, nextEarningsDate. Each item in items has fields such as period, currency, epsActual, quarterEnd, epsEstimate, epsDifference, surprisePercent.

Is the Yahoo Finance Earnings API free?

Yes. It is on the Zapi free tier: 600 Zap a month with one API key and no credit card. Each call costs 1 Zap. Paid plans raise the limits.

Can an AI assistant call the Yahoo Finance Earnings API?

Yes. Add the Zapi MCP server (https://mcp.zapi.ink/mcp) to Claude, Cursor or another MCP client and ask in plain words; it calls run_scraper with scraper "yahoo-finance" and endpoint "earnings".

What other Yahoo Finance API endpoints are there?

It has 11 endpoints. Besides Earnings: Quote, Summary, Historical, Search, Screener, News, and 4 more.