Skip to the page

SpecStream for LiteLLM

SpecStream is the live web data engine for teams and agents. Point LiteLLM's google_pse or searxng search provider at the SpecStream Search API with its environment variables, in the SDK or on the proxy.

What you get

The same JSON as Google Custom Search
Set GOOGLE_PSE_API_BASE and GOOGLE_PSE_API_KEY, and code that calls the google_pse provider keeps working as it is.
Or the SearXNG provider
Set SEARXNG_API_BASE and SEARXNG_API_KEY, and LiteLLM sends the key as a Bearer token.
Paid per search
Each search is one Search API call of up to 10 results, paid from your balance with no quote and no approval.

Set it up

  1. In SpecStream, open Agents & API and create an API key.
  2. Set GOOGLE_PSE_API_BASE to https://api.specstream.ai/customsearch/v1 with your key in GOOGLE_PSE_API_KEY, or SEARXNG_API_BASE to https://api.specstream.ai/searxng with your key in SEARXNG_API_KEY.
  3. Run litellm.search with that search_provider and read the results.

The full setup guide has every step, with what to do if something doesn’t arrive.

Live web data, in LiteLLM.

Ask in your own words for companies, places, people, filings or anything else the web lists.