SpecStream for Convex
SpecStream is the live web data engine for teams and agents. Ask for live web data from a Convex action and the rows land in your own tables as SpecStream finds them. Your server code caps the price.
What you get
- Rows your UI subscribes to
- The component keeps quotes, lists, and rows in its own tables. Subscribe to listRows with usePaginatedQuery and watch the count climb while the list fills.
- A directory that fills itself
- Start a list per city or category from a Convex scheduled function and render the rows from your own tables. Reading a list again never stores a row twice.
- An onComplete mutation
- Your mutation runs once when the list finishes, with the context you passed in. Email the person, mark the report ready, or flatten each row for a prompt.
Set it up
- Run npm install @specstream/convex, then add app.use(specstream) to convex/convex.config.ts with SPECSTREAM_API_KEY in the component env.
- Create a key under Agents & API in SpecStream, give it a spending limit, and set it with npx convex env set SPECSTREAM_API_KEY.
- Call specstream.findList from an action with your request, a row count, and maxPriceUsd, then subscribe to listRows with the listId it returns.
The full setup guide has every step, with what to do if something doesn’t arrive.
Live web data, in Convex.
Ask in your own words for companies, places, people, filings or anything else the web lists.