specstream-haystack
SpecStream is the live web data engine. One platform to build, search, extract, enrich, map, and monitor data across the entire web.
Ask for any dataset in plain words, and SpecStream builds it from the entire live web: every match found, extracted and enriched into structured records, then monitored for change. This package gives your Haystack pipeline or agent a fetcher component and a tool for it, with one Document per row. A run starts only within a price you set in code, and the model can't raise it.
Source URL and read time on every value.
pip install -U specstream-haystack
export SPECSTREAM_API_KEY=ss_live_... # Agents & API in your SpecStream workspace
A free account comes with $10 of credit to use within 30 days and needs no card: specstream.ai.
In a pipeline
from haystack_integrations.components.fetchers.specstream import SpecStreamListFetcher
fetcher = SpecStreamListFetcher(max_price_usd=3, max_results=25)
result = fetcher.run(request="Breweries in Portland, Oregon that host events, with their website")
for doc in result["documents"]:
print(doc.meta["source_url"], doc.content)
Each Document is one row. content is the row as JSON. meta carries source_url (the page the row was read from), checked_at, list_id, list_link, position, request and fields (the row's columns as a dict).
run also returns list_id, status, list_link and a message when the list was still running. When the quoted price is above max_price_usd, or the request is too vague to price, nothing runs and SpecStreamError explains why.
As an agent tool
from haystack.components.agents import Agent
from haystack.components.generators.chat import OpenAIChatGenerator
from haystack.dataclasses import ChatMessage
from haystack_integrations.tools.specstream import SpecStreamListTool
agent = Agent(
chat_generator=OpenAIChatGenerator(model="gpt-4o"),
tools=[SpecStreamListTool(max_price_usd=5)],
)
result = agent.run(messages=[ChatMessage.from_user("Find open grants for urban beekeeping in the EU and list their deadlines.")])
print(result["last_message"].text)
The agent writes the request and picks how many rows. You decide what one list may cost.
Retries don't buy twice
The same request with the same limits, in the same hour, reaches the run it already started instead of starting another. A retried step never pays for the list twice.
MIT licensed. Source: specstream/specstream-tools.
Metadata
Release files for specstream-haystack 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| specstream_haystack-0.2.0.tar.gz | 11.4 kB | With provenance | Details for specstream_haystack-0.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| specstream_haystack-0.2.0-py3-none-any.whl | Python 3 | none | any | Details for specstream_haystack-0.2.0-py3-none-any.whl |
Total release size: 23.8 kB
Release files / specstream_haystack-0.2.0.tar.gz
| Download URL | specstream_haystack-0.2.0.tar.gz |
|---|---|
| Size | 11.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5a1b74dbc10ccfcb9fd86edff4622652800a7d059abeec57f43fd5ac9ffc4cee
|
|
BLAKE2b-256 checksum How to use checksums |
3685fa971c14c7feb71560c8778c9a827f64bcd0ce2ebe708eda708fcb2d6f78
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 7, 2026.
Transparency logRelease files / specstream_haystack-0.2.0-py3-none-any.whl
| Download URL | specstream_haystack-0.2.0-py3-none-any.whl |
|---|---|
| Size | 12.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f45d1f782be8d2e1e0a6175b314b0480f9fcf53586a4d57d21abfb0b9df27bd1
|
|
BLAKE2b-256 checksum How to use checksums |
ceab691d40e48a94be8282a5f6da588e98e5c5000bec03f149d9f79bd3de55af
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 7, 2026.
Transparency logSecurity for specstream-haystack 0.2.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for specstream_haystack-0.2.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 7, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.