searchweb-datalists

SpecStream is the live web data engine for agents. Describe the data in plain words, such as "dental clinics in Lisbon with online booking" or "US startups that filed a $5M+ Form D this month", and get structured rows from the live web, every value linked to the page it came from. The price cap is set in your code before anything runs, the model cannot raise it, and you pay only for rows that match.

Installation

pnpm add @specstream/ai-sdk
# Add to your .env file
SPECSTREAM_API_KEY=your_api_key_here

Usage

import { generateText, isStepCount } from 'ai';
import { specstreamTools } from '@specstream/ai-sdk';

const { text } = await generateText({
  model: 'openai/gpt-5-mini',
  tools: specstreamTools({ maxPriceUsd: 5 }),
  stopWhen: isStepCount(5),
  prompt:
    'Find breweries in Portland, Oregon that host events, with their website.',
});

console.log(text);