> SpecStream is the live web data engine for teams and agents. This is the Markdown copy of https://specstream.ai/docs/integrations/meltano. Every page, with what SpecStream does and costs: https://specstream.ai/llms.txt

# Meltano

Load the live web data SpecStream finds into any target your Meltano project runs. The Singer tap tap-specstream reads your lists and records, with each value next to its source URL and read time.

[SpecStream for Meltano, Data & warehouses](https://specstream.ai/integrations/meltano.md)

## What you need

-   A SpecStream account. Every new account starts with $2 of credit and no card.
-   A Meltano project on Python 3.10 or later.
-   An API key from your SpecStream account, created in step 1.

1.  1

    ## 1. Create an API key

    Open [Agents & API](https://specstream.ai/workspace/keys) in SpecStream, choose **API keys**, and select **Create API key**. A read key with a $0 spending limit is all the tap needs.

    Copy the key when SpecStream shows it. It won't show it again.

2.  2

    ## 2. Add the tap

    Add `tap-specstream` to your Meltano project from its definition file. The definition installs the [\`tap-specstream\` package from PyPI (opens in a new tab)](https://pypi.org/project/tap-specstream/).

    Terminal

    ```bash
    meltano add extractor tap-specstream --from-ref https://raw.githubusercontent.com/specstream/specstream-tools/main/integrations/meltano/tap-specstream.yml
    ```

3.  3

    ## 3. Set your key

    Store the key as the tap's `api_key` setting. The tap marks it as sensitive. The optional settings are in the table below the steps.

    Terminal

    ```bash
    meltano config tap-specstream set api_key YOUR_SPECSTREAM_API_KEY
    ```

4.  4

    ## 4. Add a loader and run

    Any Singer target works. This example adds `target-duckdb` and runs the tap into it:

    Terminal

    ```bash
    meltano add loader target-duckdb
    meltano run tap-specstream target-duckdb
    ```

## What arrives

The tap reads these streams:

| Stream | One row per | Fields |
| --- | --- | --- |
| `lists` | List | `id`, `name`, `kind`, `imported`, `project_id`, `created_at`, `row_count`, `link` |
| `records` | Record, a child of `lists` | `list_id`, `list_created_at`, `record_id`, `entity_id`, `values`, `cells` |

## Fields

`kind` is `find`, `snapshot`, `import`, or `combined`, and `link` opens the list in SpecStream.

`values` maps each column's label to its value. `cells` keeps every value with its `source_url` and its `observed_at`, when it was read. A value SpecStream couldn't find is null.

Records about one company, place, person, or posting share an `entity_id` in every list, so they join across lists. The tap supports stream maps, so you can rename or drop fields before they reach the target.

## Settings

The tap takes these settings. Set an optional one the same way as the key, for example `meltano config tap-specstream set start_date 2026-01-01T00:00:00Z`.

| Setting | Required | What it does |
| --- | --- | --- |
| `api_key` | Yes | Your SpecStream API key. |
| `start_date` | No | Reads only lists created after this time, for example `2026-01-01T00:00:00Z`. |
| `api_url` | No | The SpecStream API. Defaults to `https://api.specstream.ai`. |

## Later runs

The first run reads every list the key can open. After that, the `lists` stream is incremental on `created_at`, so a run reads only lists created since the previous one. Meltano's state remembers where the last run stopped.

A [SpecStream schedule](https://specstream.ai/docs/schedules.md) puts what it finds in a fresh list. Your next run reads that list, so run `meltano run` on the scheduler you already use.

## Use the tap without Meltano

Any Singer target can read it. Install the tap with `pip install tap-specstream`, put your settings in a `config.json` file with an `api_key` entry, and pipe the output to the target, for example `tap-specstream --config config.json | target-jsonl`.

## Cost

The tap never starts a request or spends from your SpecStream balance, so every run is free. Your balance pays for the requests that find the data, per result that matches. The way quotes and billing work is in [balance, quotes, and billing](https://specstream.ai/docs/billing.md).

## Disconnect

Remove the extractor from your project with `meltano remove extractor tap-specstream`, and revoke the key under **Agents & API** to end access at once. Data already in your target stays there. For the rest of the tools SpecStream connects to, see [Connect your tools](https://specstream.ai/docs/integrations.md). Email [support@specstream.ai](mailto:support@specstream.ai) for help.

## More

[SpecStream for Meltano](https://specstream.ai/integrations/meltano.md) covers what it does in Meltano on one page. Every other tool has its guide in [Connect your tools](https://specstream.ai/docs/integrations.md). You see the most a request can cost before it starts, and the matches are paid from your balance. [Billing](https://specstream.ai/docs/billing.md) has the details. For help, email [support@specstream.ai](mailto:support@specstream.ai).
