Skip to main content
Use free_simple_company_search to query a shared company dataset with SQL. Use it for exact company resolution, bounded list building, and segment checks. This Deepline Native tool reads a shared Snowflake companies table. It does not call a live provider API. Deepline transforms a People Data Labs CSV snapshot into the read-only table.
Deepline does not charge credits for free_simple_company_search. Broad queries can still time out, so treat it as a free database with guardrails, not an unlimited scanner.

When to use it

Use it for:
  • Exact domain lookup when you have websites or normalized domains.
  • Small exact batches by domain, LinkedIn company URL, or company name.
  • Prefix candidate generation, such as company_name ILIKE 'acme%'.
  • Bounded ICP pulls where industry, location, size, or founding year are enough.
  • Quick exploratory counts before deciding whether to use paid company search.
Use a provider-native company search instead when you need live web coverage, advanced facets, funding or investor filters, hiring signals, strict market sizing totals, or semantic discovery by what a company does.

Source

The production loader expects the raw PDL company CSV header:
Deepline transforms that source into the query table: updated_at is set during Deepline’s table load. It should be read as import/update time for this corpus, not as proof that PDL recently observed the company.

Schema

Query the table as companies. public.companies also works for compatibility.

Query from the CLI

Inspect the live tool schema first:
Exact domain lookup:
Use the same payload shape for other SQL queries. Batch domain lookup SQL:
LinkedIn company URL lookup SQL:
Prefix fallback SQL when exact lookup misses:
Bounded segment count SQL:
Bounded company pull SQL:

Query from the API

Use the normal tool execution endpoint:
The response wraps the SQL result in data:

SQL rules and limits

  • SQL must be a single statement.
  • Only SELECT, WITH, or EXPLAIN statements are allowed.
  • The statement must read from companies or public.companies.
  • A top-level LIMIT is required and must be 100000 or less.
  • Queries run with a Snowflake timeout. Broad ILIKE '%keyword%', long OR chains, large country-wide scans, and expensive GROUP BY shapes can time out.
  • Workspaces are currently rate-limited to 5 requests per second.
  • Matching records are returned in rows. Use deepline tools execute free_simple_company_search --input "$PAYLOAD" --out companies.csv when you want to save direct CLI results as CSV.

Use inside a Play

Inside a Play, call the tool through ctx.tools.execute. Row-shaped extracted list getters return a Dataset Handle. Pass the rows through the Play output or into another ctx.dataset stage.
After the Play run completes, export returned datasets with runs export:

Save matching companies to your workspace database

To save query results in your Customer DB, use materialize_free_customer_companies. It runs the SQL query and upserts rows into enrichments.companies. The query must return only these company columns:
Example:
Then query the saved rows with query_customer_db:

TAM builder guidance

For TAM work, start here when the ICP can be expressed with exact domains, company names, LinkedIn company URLs, industry, location, employee count, or founding year. Escalate to Dropleads, Apollo, Crustdata, Exa, or known-source extraction when the needed signal is not in this schema.