# Use SimilarIQ with Snowflake

> SimilarIQ has no native Snowflake connector, marketplace listing or scheduled sync. You get look-alike companies into Snowflake by exporting a search as CSV or JSON, or pulling it with the CLI or REST API, and then loading the file through Snowsight or a staged COPY INTO. Each search costs $0.25; exports and re-reads are free.

Source: https://similariq.ai/integrations/snowflake · Updated 2026-11-25

## What Snowflake is, and what connecting means here

Snowflake is a cloud data platform. The part that matters for this page is the warehouse side: databases, schemas and tables, stages that hold files waiting to be loaded, and virtual warehouses that supply the compute for a load. Its documentation describes two ways to get a local file into a table: a point-and-click loader in Snowsight, its web interface, and a staged load using the `PUT` and `COPY INTO` commands.

SimilarIQ is a look-alike company search engine and API. You give it one domain and it returns up to 100 ranked companies, each with a match score, a relationship type, a confidence score and a likely-competitor flag. It does not connect to Snowflake. There is no connector to install, no listing to subscribe to and no sync to schedule.

So the integration is a file handoff. SimilarIQ produces CSV and JSON; Snowflake loads CSV and JSON. This page walks through that handoff using Snowflake's current loading documentation for the Snowflake side, and SimilarIQ's [CSV and JSON export](https://similariq.ai/features/csv-json-export), CLI and REST API for the other side.

## Why put look-alike results in a warehouse

A look-alike list is most useful when it is joined to data you already hold. In a warehouse the domain column becomes a join key. You can match look-alikes against your customer table to remove existing accounts, against your CRM extract to find accounts nobody owns, or against a firmographic table from another provider to add headcount and location.

That last join matters because of what SimilarIQ leaves out. A result is a company name, a domain, a match score, a type, a confidence score and a likely-competitor flag. There are no contacts, no revenue, no headcount and no industry codes. The warehouse is where you add those from other sources.

A warehouse also keeps history. Each search is a fresh research pass, so the same seed searched a quarter apart can return a different list. If you load every run with a seed domain and a load date, you can query which companies entered or left a competitor set over time. See [competitor monitoring](https://similariq.ai/use-cases/competitor-monitoring) for that pattern.

## Get the file out of SimilarIQ

For a handful of seeds, run the searches in the web app and export each as CSV or JSON. Opening a past search and exporting it again is free. For a list of seeds, use bulk upload: one credit per domain and one combined export.

For anything repeatable, use the CLI. `similariq search stripe.com --csv` writes one search as CSV, `--json` writes it as JSON, and `similariq bulk domains.txt --wait --out results.csv` runs a file of domains and waits for the combined CSV. The key can come from the `SIMILARIQ_API_KEY` environment variable, which suits a scheduled job.

Open the file before loading it. Read the header row and note the column names and order, because your Snowflake table has to match them. This page does not list the export's column headers; treat the file itself as the source of truth. A single search takes roughly 30 to 60 seconds, so give any script that calls the API a timeout above a minute.

## Load walkthrough: Snowsight

These steps follow Snowflake's documentation for loading data with the web interface at the time of writing. Snowflake renames navigation items from time to time, so if a label has moved, search its docs for loading data using Snowsight.

To create a new table from the file: sign in to Snowsight and switch to a role with the right privileges. Select **Create**, then **Table**, then **From File**. In the dialog, choose the database and schema, add the file by drag and drop or **Browse**, enter a table name and select **Next**. Snowflake shows the file format, column names and data types it inferred, with sample data. Correct anything wrong, then select **Load**.

To add a later export to the same table: select **Ingestion**, then **Add Data**, then **Load data into a Table**. Choose the file, then the database, schema and table, and select **Next**. Under the table loading methods, **Append** is the documented default and **Replace** is the alternative. Map source columns to target columns, then select **Load**.

The documented limits for this loader are 250 files at a time and 250 MB per file, and it accepts CSV, TSV, JSON, Avro, ORC, Parquet and XML. A SimilarIQ export of 100 rows per search is far below that. For a new table the documentation lists USAGE on the database and CREATE TABLE on the schema; for an existing table, INSERT on the table.

## Load walkthrough: PUT and COPY INTO

For a scheduled pipeline, use the staged route. Snowflake's documentation describes it as two steps: upload the file to an internal stage with `PUT`, then load it with `COPY INTO`. It also says `PUT` cannot be run from the Worksheets page, so run it from the Snowflake CLI or a driver. A running virtual warehouse must be the current warehouse for the session, because it does the insert.

A minimal CSV load looks like `PUT file:///tmp/similariq/results.csv @~/similariq/` followed by `COPY INTO lookalikes FROM @~/similariq/ FILE_FORMAT = (TYPE = CSV SKIP_HEADER = 1 FIELD_OPTIONALLY_ENCLOSED_BY = '"')`. `SKIP_HEADER` drops the header line and the enclosing option handles company names that contain commas. The table and path names here are placeholders. The documented default for errors in a bulk load is to abort the statement, so one bad row stops the load until you fix it or change `ON_ERROR`.

For JSON, load into a table with a single VARIANT column and query the fields from there. If the file is one outer array of objects, the JSON file format option `STRIP_OUTER_ARRAY = TRUE` tells the parser to remove the outer brackets so each object becomes a row. Whether you need it depends on the shape of the file you exported, so check the first character.

## Example tasks once the data is loaded

These are queries the loaded columns make possible. They assume a table with one row per look-alike plus a seed domain and a load date that you add yourself.

- Anti-join look-alikes against your customer table to keep only net-new domains.
- Count how many different seeds returned each domain; companies that recur across seeds are strong candidates.
- Filter to match score above a threshold you choose, then rank by confidence.
- Split the set by type so Direct rows feed competitive work and Adjacent rows feed partnerships.
- Compare this month's load with last month's for one seed to list new entrants.
- Join to a firmographic table on domain to add size and region before scoring.
- Publish a view of top-ranked net-new accounts for a BI dashboard or a reverse-ETL job.
- Flag open opportunities whose account domain appears as a likely competitor of another customer.

## Controlling spend

SimilarIQ charges per search, not per row loaded or per query. One search is $0.25 for up to 100 look-alikes. Twenty seeds cost $5.00 and return up to 2,000 rows; a bulk file of 500 domains costs $125. Changing the `limit` does not change the price.

Reading is free. History, past results, exports and the balance check cost nothing, so a pipeline that reloads yesterday's results into Snowflake spends no credits. Only a new search does. Build the job so it calls `similariq balance` first and stops if the balance is below what the run needs. A failed search returns 502 and the credit is refunded automatically.

On the account side, auto-refill is optional and the monthly cap is a hard ceiling on what your card can be charged; see [spend controls](https://similariq.ai/features/spend-controls). Snowflake's own compute charges for the warehouse that runs the load are separate and were not verified for this page; check your Snowflake pricing.

## Two end-to-end workflows

**Weekly customer look-alike refresh.** A scheduled job queries Snowflake for the domains of customers won in the last week and writes them to `domains.txt`. It runs `similariq bulk domains.txt --wait --out results.csv`, uploads the file with `PUT`, and appends it with `COPY INTO`. A view anti-joins the table against existing customers and open pipeline. Sales operations reads the view. At 30 new customers a week the SimilarIQ cost is $7.50.

**One-off market map.** An analyst searches ten seed companies in the web app for $2.50, exports each as CSV, and loads them with the Snowsight **From File** flow, adding a seed column by hand. A query counts how often each domain appears across the ten seeds. The result is a ranked category map built in an afternoon. The [data teams](https://similariq.ai/roles/data-teams) page covers more of these.

Both workflows stop at company-level rows. If the next step needs people to contact, that data has to come from a contact provider, joined on domain.

## Troubleshooting and security

If the Snowsight loader infers the wrong type for a column, fix it on the review screen before loading. If `COPY INTO` aborts, the usual causes are a header row that was not skipped, a company name with an unquoted comma, or a column count that does not match the table. If a JSON load produces one row holding the whole file, the outer array was not stripped.

On the SimilarIQ side the status codes are specific: 401 is a bad or missing key, 402 is an empty balance, 429 is the rate limiter smoothing a burst, and 502 is a failed search that was refunded and is safe to retry. The [error handling](https://similariq.ai/features/error-handling) page lists them in full.

Keep the `sk-live-` key in your scheduler's secret store, not in the job script, and use a dedicated key for the pipeline so you can revoke it without touching anyone else's access. Load with a Snowflake role that holds only the privileges listed above. This page did not verify calling outside APIs from inside Snowflake, so run the search outside and load the file in.

## Frequently asked questions

### Does SimilarIQ have a native Snowflake integration?

No. There is no connector, no marketplace listing and no built-in sync. You export results as CSV or JSON, or fetch them with the CLI, SDKs or REST API, and load the file into Snowflake with its own loading tools.

### Should I load the CSV or the JSON export into Snowflake?

CSV maps directly to typed columns and is the simpler choice for a flat table of look-alikes. JSON suits a single VARIANT column when you want to keep the raw response and query fields later. Both formats are accepted by Snowflake's Snowsight loader and by `COPY INTO`.

### Can I run SimilarIQ searches from inside Snowflake?

This page did not verify a way to call the SimilarIQ API from inside Snowflake, so it does not describe one. The verified pattern is to run the search outside Snowflake with the CLI, an SDK or the REST API and load the output file.

### How much does it cost to load 500 seed domains of look-alikes?

The SimilarIQ side is one credit per domain, so a bulk file of 500 domains costs $125 and returns up to 50,000 rows. Exporting and re-downloading the result is free. Snowflake's compute for the load is billed separately by Snowflake.

### What columns will the table have?

Each result carries a rank, a company name, a domain, a match score from 0 to 100, a relationship type, a confidence score from 0 to 100 and a likely-competitor flag. Add your own seed domain and load date columns. There are no contact or firmographic fields.

### Why does my scheduled job time out?

A search is a fresh research pass that takes roughly 30 to 60 seconds, so an HTTP client with a short default timeout will give up early. Raise the timeout above a minute, or use the bulk endpoint, which runs asynchronously: start a job, poll it and download the result.
