Home › Guides › Aegwah API Python quickstart
Aegwah API Python quickstart
Get from zero to your first earnings + insider API call in a few minutes.
1. Authenticate
Every request uses a Bearer token (the same key that unlocks your ZIP download):
import requests
BASE = "https://api.aegwah.com"
HEADERS = {"Authorization": "Bearer your-api-key"}
def get(path):
r = requests.get(f"{BASE}{path}", headers=HEADERS, timeout=30)
r.raise_for_status()
return r.json()
2. Earnings actuals
payload = get("/v1/actuals/earnings/NVDA")
for row in payload["records"][:5]:
print(row["fiscal_quarter"], row["eps_diluted_gaap"])
3. Insider transactions
insiders = get("/v1/insiders/NVDA")
records = insiders.get("records", insiders)
print(len(records), "Form 4 transactions")
See the full API reference for all endpoints.
Get institutional-quality earnings data
502 tickers · 16+ years of GAAP EPS · ZIP + REST API. From $30/month.