SpecStream for dlt
Coming soon
SpecStream is the live web data engine for teams and agents. One Python file built on dlt's REST API source loads live web data into DuckDB, BigQuery, Snowflake, Postgres, or any other dlt destination. Copy it into your project and it's yours.
What you get
- A records__cells table
- Every value becomes a row in records__cells with its label, source_url, and observed_at, tied to its record in records by _dlt_parent_id.
- Reruns merge in place
- The lists and records resources merge on their primary keys, so running it again updates the same rows. Each later run fetches only lists created since the one before.
- Swap the destination line
- Change destination in dlt.pipeline() to go from DuckDB on a laptop to BigQuery, or edit shape_record to decide what each row carries.
Set it up
- Install dlt with pip install "dlt[duckdb]" and copy specstream_pipeline.py from SpecStream's examples.
- Export a key from Agents & API as SOURCES__SPECSTREAM__API_KEY. The pipeline only reads, so cap the key at $0.
- Run python specstream_pipeline.py. The first run loads every list your key can open into the specstream_data dataset.
The full setup guide has every step, with what to do if something doesn’t arrive.
Live web data, in dlt.
Ask in your own words for companies, places, people, filings or anything else the web lists.