Village.aiCompany DataEnrichment

Search companies in plain language, network or global

village.companies.search

Search for companies using natural language queries.

Price
$0.006/resultAt list price
Success rate
—No success-rate data yetLast 30 days · 0 calls
Latency p50
——
Last verified
—Not verified yet
POSThttps://toolswitch.dev/v1/tools/village.companies.searchBeta
  • Uses platform quota
  • Synchronous response
  • Reads public data

Parameters

Search companies in plain language, across your network or globally, to build account and investor target lists. By default this searches only companies connected to your network; pass scope global to search everyone. Results carry relevance scores and connection strength. Complex searches usually take 20 to 60 seconds; wait rather than retry. Streaming (stream) is not accepted by this tool.

ParameterTypeRequiredDescriptionExample
Request body (JSON)
modestringOptionalSearch mode for prompt-only searches: auto lets the system decide, lookup is a direct match, simple is LLM-powered, complex adds thinking and high-reasoning SQL generation. Structured filters always compile deterministically.auto
limitintegerOptionalMaximum number of results per page. The price scales with the results returned.25
scopestringOptionalnetwork searches companies connected to your network first, global searches all companies.global
cursorstring|objectOptionalPagination cursor from the previous response (encoded string or cursor object).
promptstringOptionalNatural language search query. Send it as prompt, not query. Optional when filters or list_filter is sent.Find B2B SaaS companies with 50-200 employees in California
filtersobjectOptionalStructured company filters, compiled deterministically. Send filters without a prompt. Keys include name, domain, linkedinUrl, industry, companySize, companyType, country, city, fundingStage, foundedAfter, hiring and totalFundingMinUsd; the docs list them all.
list_filterobjectOptionalSearch within your saved lists: company_list_id, people_list_id, or both. A list alone is a valid search. Lists must belong to your active workspace.{"company_list_id":123}
include_countsstringOptionalInline count scopes computed on the first page only. Ignored when cursor is sent, and adds latency.
network_filtersobjectOptionalNetwork path and relationship filters: connection_degrees, introducer_linkedin_ids, user_to_introducer_types, user_to_introducer_min_score, introducer_to_target_types, introducer_to_target_min_score, exclude_teams, exclude_community.
screening_handoffbooleanOptionalComplex searches keep only objective constraints in SQL and return the subjective ones as metadata.screening_criteria for a downstream screening step.false
  • Request body (JSON)
  • modestringOptional

    Search mode for prompt-only searches: auto lets the system decide, lookup is a direct match, simple is LLM-powered, complex adds thinking and high-reasoning SQL generation. Structured filters always compile deterministically.

    Example: auto

  • limitintegerOptional

    Maximum number of results per page. The price scales with the results returned.

    Example: 25

  • scopestringOptional

    network searches companies connected to your network first, global searches all companies.

    Example: global

  • cursorstring|objectOptional

    Pagination cursor from the previous response (encoded string or cursor object).

  • promptstringOptional

    Natural language search query. Send it as prompt, not query. Optional when filters or list_filter is sent.

    Example: Find B2B SaaS companies with 50-200 employees in California

  • filtersobjectOptional

    Structured company filters, compiled deterministically. Send filters without a prompt. Keys include name, domain, linkedinUrl, industry, companySize, companyType, country, city, fundingStage, foundedAfter, hiring and totalFundingMinUsd; the docs list them all.

  • list_filterobjectOptional

    Search within your saved lists: company_list_id, people_list_id, or both. A list alone is a valid search. Lists must belong to your active workspace.

    Example: {"company_list_id":123}

  • include_countsstringOptional

    Inline count scopes computed on the first page only. Ignored when cursor is sent, and adds latency.

  • network_filtersobjectOptional

    Network path and relationship filters: connection_degrees, introducer_linkedin_ids, user_to_introducer_types, user_to_introducer_min_score, introducer_to_target_types, introducer_to_target_min_score, exclude_teams, exclude_community.

  • screening_handoffbooleanOptional

    Complex searches keep only objective constraints in SQL and return the subjective ones as metadata.screening_criteria for a downstream screening step.

    Example: false

Code samples

Replace $TOOLSWITCH_KEY with the key you created in the console.

Beta
curl -X POST 'https://toolswitch.dev/v1/tools/village.companies.search' \
  -H "X-Toolswitch-Key: $TOOLSWITCH_KEY" \
  -H "Content-Type: application/json" \
  --data-raw '{"limit":1,"scope":"global","prompt":"Stripe"}'

This gateway API is in beta; its URL and authentication may change. The example parameters are sample data. Calls are billed at $0.006/result, including the service fee.