<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Anas on Medium]]></title>
        <description><![CDATA[Stories by Anas on Medium]]></description>
        <link>https://medium.com/@anas_65471?source=rss-6b23babb8cf1------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*-OyHqh6y2amnKqz0</url>
            <title>Stories by Anas on Medium</title>
            <link>https://medium.com/@anas_65471?source=rss-6b23babb8cf1------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 29 Nov 2026 14:33:21 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@anas_65471/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Building an AI Earnings Research Assistant with Claude and EarningsCall API]]></title>
            <link>https://medium.com/@anas_65471/building-an-ai-earnings-research-assistant-with-claude-and-earningscall-api-9d90afbd5409?source=rss-6b23babb8cf1------2</link>
            <guid isPermaLink="false">https://medium.com/p/9d90afbd5409</guid>
            <category><![CDATA[earnings-call]]></category>
            <category><![CDATA[earnings-call-with-ai]]></category>
            <category><![CDATA[earnings-call-with-calude]]></category>
            <category><![CDATA[earnings-call-api]]></category>
            <category><![CDATA[earnings-call-analysis]]></category>
            <dc:creator><![CDATA[Anas]]></dc:creator>
            <pubDate>Tue, 29 Sep 2026 07:28:03 GMT</pubDate>
            <atom:updated>2026-09-29T07:28:03.575Z</atom:updated>
            <content:encoded><![CDATA[<p>Earnings calls can run 60 to 90 minutes. Management speaks for the first 30. Analysts ask questions for the rest. Somewhere in that hour and a half is the information that actually matters: the revenue guidance, the margin commentary, the cautious language buried in a CFO’s answer to a pointed analyst question.</p><p>Most people either listen live, which is time-consuming, or read the transcript later, which is only slightly less so. What if an AI assistant could read it for you and hand you the parts that matter in seconds?</p><p>That is exactly what we are going to build. Using the EarningsCall API to access structured transcripts and Claude to analyse them, we can put together an AI earnings research assistant that reads any earnings call and returns a clean, structured summary in seconds.</p><h3>What We Are Building</h3><p>The assistant does three things. It fetches the earnings call transcript for any public company and quarter using the <a href="https://earningscall.biz/earnings-call-api">EarningsCall API</a>. It separates the prepared management remarks from the analyst Q&amp;A section, because they carry different information. Then it sends both to Claude with a research-focused prompt and returns a structured analysis covering the key financial highlights, forward guidance, and any notable language from the Q&amp;A.</p><p>The result is something you can read in two minutes instead of ninety.</p><h3>What You Need</h3><p>Two API keys: one from EarningsCall for transcript access, one from Anthropic for Claude. Both have free tiers that are enough to follow this walkthrough.</p><p>Install the dependencies:</p><pre>pip install earningscall anthropic</pre><h3>Step 1: Fetch the Transcript</h3><p>The EarningsCall API returns structured transcript data at multiple access levels. We want level 4, which separates prepared remarks from Q&amp;A and includes speaker names and titles.</p><pre>import earningscall<br>from earningscall import get_company</pre><pre>earningscall.api_key = &quot;YOUR-EARNINGSCALL-API-KEY&quot;</pre><pre>company = get_company(&quot;aapl&quot;)<br>transcript = company.get_transcript(year=2024, quarter=4)</pre><pre>if transcript:<br>    prepared = transcript.prepared_remarks<br>    qa = transcript.questions_and_answers<br>    print(f&quot;Got transcript: {len(prepared)} prepared statements, {len(qa)} Q&amp;A exchanges&quot;)</pre><p>The prepared remarks contain everything management chose to say before taking questions. The Q&amp;A contains the unscripted exchanges where analysts press for specifics. Analysing them separately gives much better results than treating the full transcript as one block.</p><h3>Step 2: Build the Claude Analysis Layer</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/720/1*GjS7oY-OBAcpIHEKRfNB5g.jpeg" /></figure><p>Now we send the transcript sections to Claude with a prompt designed for earnings research.</p><pre>from anthropic import Anthropic</pre><pre>client = Anthropic(api_key=&quot;YOUR-ANTHROPIC-API-KEY&quot;)</pre><pre>def analyze_earnings_call(prepared_text, qa_text, company_name):<br>    prompt = f&quot;&quot;&quot;<br>You are an experienced financial analyst reviewing an earnings call for {company_name}.</pre><pre>PREPARED REMARKS:<br>{prepared_text}</pre><pre>Q&amp;A SECTION:<br>{qa_text}</pre><pre>Please provide a structured analysis covering:<br>1. Key financial highlights mentioned by management<br>2. Forward guidance and outlook language<br>3. Most significant analyst questions and management responses<br>4. Any notable tone shifts or cautious language worth flagging<br>5. Overall sentiment: Positive / Neutral / Cautious</pre><pre>Keep each section concise and factual. Use management&#39;s own language where possible.<br>&quot;&quot;&quot;<br>    response = client.messages.create(<br>        model=&quot;claude-haiku-4-5-20251001&quot;,<br>        max_tokens=1024,<br>        messages=[{&quot;role&quot;: &quot;user&quot;, &quot;content&quot;: prompt}]<br>    )<br>    return response.content[0].text</pre><p>The prompt is structured to extract the five things that matter most in an earnings research context: financial highlights, guidance language, Q&amp;A themes, tone signals, and an overall read on sentiment.</p><h3>Step 3: Putting It Together</h3><pre>import earningscall<br>from earningscall import get_company<br>from anthropic import Anthropic</pre><pre>earningscall.api_key = &quot;YOUR-EARNINGSCALL-API-KEY&quot;<br>client = Anthropic(api_key=&quot;YOUR-ANTHROPIC-API-KEY&quot;)</pre><pre>company = get_company(&quot;aapl&quot;)<br>transcript = company.get_transcript(year=2024, quarter=4)</pre><pre>if transcript:<br>    prepared_text = &quot; &quot;.join([s.text for s in transcript.prepared_remarks])<br>    qa_text = &quot; &quot;.join([s.text for s in transcript.questions_and_answers])</pre><pre>    analysis = analyze_earnings_call(<br>        prepared_text,<br>        qa_text,<br>        company.company_name<br>    )</pre><pre>    print(f&quot;Analysis for {company.company_name}:&quot;)<br>    print(analysis)</pre><p>Run this and within a few seconds you get a structured research summary of the full earnings call. No listening, no manual note-taking, no skimming through a 40-page transcript.</p><h3>What the Output Looks Like</h3><p>The assistant returns something like this:</p><p><strong>Key financial highlights:</strong> Revenue of $X billion, up Y% year over year. Services segment reached a new record. iPhone unit volumes slightly below consensus.</p><p><strong>Forward guidance:</strong> Management guided to revenue in the range of $X to $Y for the next quarter. Language around international markets was notably cautious — “subject to macroeconomic conditions” appeared three times in prepared remarks.</p><p><strong>Notable Q&amp;A:</strong> Three analysts pressed on gross margin trajectory. CFO responses were precise on near-term but directional only on the full year. One exchange on AI integration received an unusually detailed answer from the CEO, suggesting it is a current priority for investor communication.</p><p><strong>Tone signals:</strong> Prepared remarks struck a confident tone. Q&amp;A was more measured, particularly around guidance specificity. Minor divergence between CEO and CFO tone worth monitoring.</p><p><strong>Overall sentiment:</strong> Neutral — solid results but cautious forward language.</p><p>That summary would take a senior analyst 30 to 45 minutes to produce manually. The assistant produces it in under 10 seconds.</p><h3>What You Can Extend This To</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/720/1*RFdoSp2E5o_YS8kGDeT0EQ.jpeg" /></figure><p>Once the basic assistant is working, the extensions are where it gets interesting.</p><p>You can run it across an entire sector. Loop through every company in a sector using the EarningsCall API’s S&amp;P 500 coverage and build a sector digest that surfaces common themes across all earnings calls in a single reporting period. Which companies are all talking about the same headwinds? Which ones are outliers?</p><p>You can add a historical comparison layer. Run the same analysis for the last four quarters and ask Claude to identify what has changed in management’s language and emphasis. A shift in how a CEO talks about international growth from one quarter to the next often signals something worth investigating.</p><p>You can build an alert system on top of it. The <a href="https://earningscall.biz/earnings-transcripts-api">EarningsCall Transcripts API</a> returns a transcript_ready field that you can poll. The moment a transcript is available for a company you follow, the assistant fetches it, runs the analysis, and delivers the summary to your inbox or Slack before most analysts have even opened the transcript.</p><p>The EarningsCall API covers 9,000+ public companies, which means the same assistant that works for Apple works for any mid-cap company that would never make it onto a traditional research desk.</p><h3>Why This Combination Works</h3><p>EarningsCall solves the data access problem. Getting clean, speaker-attributed, section-separated transcript data programmatically across thousands of companies is genuinely hard to do yourself. The <a href="https://earningscall.biz/earnings-call-api">EarningsCall API</a> handles that entirely, returning structured JSON that feeds directly into the analysis layer without any preprocessing.</p><p>Claude solves the analysis problem. Unlike keyword search or sentiment scores, Claude understands context. It can distinguish between a CEO who is genuinely confident about guidance and one who is using forward-looking language defensively. That distinction is exactly what experienced analysts spend their careers learning to read.</p><p>Together they produce something that was not practically buildable a few years ago: a personal research assistant that reads earnings calls at the speed of an API call.</p><h3>Getting Started</h3><p>The full <a href="https://earningscall.biz/blog/getting-started-earningscall-api">EarningsCall API documentation</a> covers authentication, access levels, and the calendar endpoint for monitoring upcoming calls. The demo key gives you immediate access to Apple and Microsoft transcripts to test the assistant before expanding coverage.</p><p>The code in this article is intentionally minimal. In production you would add error handling, transcript caching, rate limiting, and a delivery layer. But the core loop — fetch transcript, analyse with Claude, return structured research — is exactly what is shown here.</p><p>For anyone spending hours each quarter reading earnings call transcripts, this is worth an afternoon to build.</p><p><em>EarningsCall provides programmatic access to earnings call transcripts for 9,000+ public companies via REST API and Python SDK. No institutional pricing.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9d90afbd5409" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>