// Research & public data

Pull the latest quarterly results of a public company

Navigate DigitalOcean's investor relations site to the newest earnings release and extract revenue, profit, ARR and guidance.

stagehand code-mode agent (mcp facade), browserbase recording at 2× speed, no sound

8 agent tool calls, click to jump

++

Why it’s hard

Investor sites bury the numbers two clicks deep, in long releases mixing prose, bullets and GAAP tables.

  • The newest release has to be found from a list of quarters
  • Release links open in a new window
  • Figures sit in prose, highlight bullets and tables, in different units

Stagehand vs. Playwright MCP

Given the same goal and model, the Stagehand code-mode agent finished for 76% less than an agent driving Playwright MCP.

stagehand code mode agent3/3 runs succeeded
$0.053
playwright mcp agent3/3 runs succeeded
$0.221

medians over successful runs, or over all runs when none succeeded; lower is better

Then run it as a script

Once the flow works, the cookbook runs it as plain Stagehand calls. With caching on, a re-run cost 21% less, because Stagehand served unchanged steps from its cache.

cookbook, first run3/3 runs succeeded
$0.190
cookbook, cached re-run3/3 runs succeeded
$0.151

medians over successful runs, or over all runs when none succeeded; lower is better

anthropic/claude-sonnet-5 at $2 input · $0.2 cached · $2.5 cache write · $10 output per 1m tokens · stagehand 4.1.0 · playwright mcp 0.0.82 · agents stop after 60 llm calls · run on 2026-09-28 · methodology

++

Run it yourself

Give the same goal to Claude Code with Stagehand’s code-mode MCP server, which exposes three tools: run, snapshot and screenshot. Once the flow works, the cookbook runs it as a plain Stagehand script.

the goal both agents were given

On DigitalOcean's investor relations site, find the earnings press release for the most recent quarter and report: the quarter (e.g. Q2 2026), revenue in millions of USD, year-over-year revenue growth in percent, GAAP net income, adjusted EBITDA, adjusted free cash flow and annual run-rate revenue (all in millions of USD, null if not reported), the revenue guidance range for the next quarter and for the full year (null if not given), and the press release URL.

++
see all →
++