Example
Earnings Results Review
Review earnings beat flags and surprise percentages for one company.
Request
GET https://api.earningsapi.com/v2/earnings-results?symbol=AAPL&apikey=YOUR_API_KEYCode example
ExamplePython
import requests
API_KEY = "YOUR_API_KEY"
response = requests.get("https://api.earningsapi.com/v2/earnings-results?symbol=AAPL", params={"apikey": API_KEY}, timeout=30)
response.raise_for_status()
print(response.json())Result shape
| date | fiscalPeriod | epsBeat | epsSurprisePercent | revenueBeat | revenueSurprisePercent |
|---|---|---|---|---|---|
| 2026-01-29 | 2025-12 | true | 12.5% | false | −2% |
| 2025-10-30 | 2025-09 | true | null | null | null |
Build steps
- 1Request results for one symbol and keep the returned report date and fiscal period.
- 2Read eps.beat and revenue.beat separately. A false result also covers a tie.
- 3Keep null values distinct from zero. A zero estimate can yield a beat flag with no surprise percentage.