Menu

1 / 2

How to Research Many Companies at Once with the DeepResearch Batch API

DEV Community: deeplearning·Prosper Otemuyiwa·14 days ago
#rovJztPv
#devtodeeplearning#education#devto#dev#batch
Reading 0:00
15s threshold

Day 29 of 30 Days of Search.

TL;DR

The Valyu DeepResearch Batch API runs the same research brief across many entities in parallel. You create a batch with the shared settings (mode, output format, sources), add one task per company (up to 100 per request), wait, then list every task's report, sources and cost.

We ran one brief across 10 payments companies : latest-year revenue, growth, net income and top risk factors from each 10-K, using only SEC filings. 10 of 10 tasks completed and 0 failed. The whole batch took 4.9 minutes from creation to the last report (about 24 minutes if run one after another) and cost $1.56 in total. Every revenue and net income figure matched SEC XBRL data.

The full script is about 100 lines of Python.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.