Business research5 min readBy Purrkey teamUpdated

How to search companies by primary domain with Company data

Match a list of target domains to Crustdata company records with firmographic, funding, and follower fields

On this page

You have 40 target domains from a partner list and need to match each one to a Crustdata company record before scoring accounts. The worksheet below is the deliverable: one row per domain, with identity and firmographic fields for scoring. No run has been executed for this guide, so the table values are placeholders showing the shape

The task and the worksheet design

Example target domains, invented for this guide:

Domain
acme-plumbing.example
northstar-robotics.example
harbor-light.example

Replace these with the real domains from your partner list. This task passes one condition per call, so the 40-domain list becomes 40 calls unless you group domains with list membership of at most 5 values. The worksheet follows your partner-list order so a missing domain is easy to spot

The agent fills a table with these columns. Values here are placeholders showing the shape

NameDomaincompanyIdemployeeCountemployeeRangeheadquartershqCountrytotalFundingUsdlastFundingTypefollowerCount
(company name or empty)acme-plumbing.example(id or empty)(number or empty)(band or empty)(location or empty)(country or empty)(number or empty)(round type or empty)(number or empty)

An empty companyId gives the enrichment step no identifier, even when other fields are present. Keep the row so the gap stays visible

Build the domain filter

anyapi.company_search.crustdata runs through POST /v1/runs with toolId anyapi.company_search.crustdata. The required input is filters. For this task, pass one condition with field set to basic_info.primary_domain, the condition's type set to equals, and value set to the domain from your list. Example filter: {"filters":{"field":"basic_info.primary_domain","type":"=","value":"acme-plumbing.example"},"limit":10}

The contract supports condition groups: an op value of and or or, with conditions holding the nested conditions. Operators include equal, not equal, less than, less than or equal, greater than, greater than or equal, list membership, list exclusion, fuzzy text, and [.] for exact token. A list-membership filter takes at most 5 values. This task uses equality and one domain per call so each result row maps cleanly to a target domain

Optional inputs shape the page. limit defaults to 10 and caps at 250. Each company returned is billed; the page is capped at 250 to bound the cost of a single call. cursor comes from a prior nextCursor. fields selects response groups, and omitting it returns the default set: basic_info, headcount, funding, revenue, locations, social_profiles, taxonomy, followers and metadata. Omit fields for this task so the default groups come back. sorts takes directives with field and order

Page through results and read the fields

Read found first. When found is false, reason is not_found; the contract treats that answer as a successful call, not an error. When found is true, the companies sit in data.companies. Use data.hasMore and data.nextCursor to walk additional pages, and use data.totalCount to see how many companies match the filters

Keep limit at 10 for this task until the first page shows whether a domain has more than one record. The fields that drive the scoring decision are name, domain, companyId, employeeCount, employeeRange, headquarters, hqCountry, totalFundingUsd, lastFundingType and followerCount. companyId is the Crustdata identifier accepted by the Company Enrichment endpoint. A null companyId cannot be used for that enrichment step. The table design keeps the row anyway so the missing identifier is visible

Use the firmographic fields to decide which accounts are worth a follow-up enrichment call. The companion guide covers that next step: the companion guide for the enrichment step

The agent prompt

Agent prompt
Set up https://purrkey.app/SKILL.md, then use Purrkey to search companies by primary domain for the target domain list below. Check the current inputs and price of anyapi.company_search.crustdata before running anything. Call the tool once per domain with filters field basic_info.primary_domain, type =, and value set to the domain. Use limit 10. Follow data.nextCursor while data.hasMore is true. Return a table with name, domain, companyId, employeeCount, employeeRange, headquarters, hqCountry, totalFundingUsd, lastFundingType and followerCount. Mark found false with reason not_found as no match. Do not invent company records.

acme-plumbing.example
northstar-robotics.example
harbor-light.example

Replace the example domains with your 40 target domains. Keep the first pass small, then run the full list once the table shape is clear

Estimated tool cost

Prices from the Purrkey catalog, read November 13, 2026. The catalog lists max_call as "Maximum per call. Successful runs settle at the actual AnyAPI charge." The totals below are ceilings, not settled charges

StepFormulaUnit pricePlanned quantityTotal
Single domain lookupcalls x max price$0.3612 per call1$0.3612
Three-page walkcalls x max price$0.3612 per call3$1.0836
40-domain plan at one call per domaincalls x max price$0.3612 per call40$14.448

Model fees for the agent are not counted. A domain that needs three cursor pages is at most $1.0836. The 40-domain plan at one call per domain is at most $14.448

Run one domain first

Open the Company data search tool and run one domain from your list before starting the 40-domain pass

Get started by giving this to your agent

  • Claude Code
  • Codex
  • Gemini CLI
  • Cursor
  • GitHub Copilot
Set up https://purrkey.app/SKILL.md, then use Purrkey to show me what I can do with Company data.
Explore Company data tools and pricing

FAQ

How do I search companies by primary domain?

Pass a filter to anyapi.company_search.crustdata with field basic_info.primary_domain, type =, and the domain as value. The call returns matching company records in data.companies.

What inputs does anyapi.company_search.crustdata take?

It requires filters, plus optional cursor, fields, limit and sorts. A filter condition uses field, type and value, and limit defaults to 10 with a maximum of 250.

Which output fields should I keep for account scoring?

Keep name, domain, companyId, employeeCount, employeeRange, headquarters, hqCountry, totalFundingUsd, lastFundingType and followerCount. companyId is the identifier accepted by the Company Enrichment endpoint.

What happens when no company matches a domain?

found is false and reason is not_found. The contract treats that answer as a successful call, not an error.

How much does a domain search cost?

The catalog lists anyapi.company_search.crustdata at up to $0.3612 per call, using the max_call unit. One call is at most $0.3612 and three cursor pages are at most $1.0836.

Can one search call return more than one company?

A page can return up to the limit, which defaults to 10 and caps at 250. Use data.hasMore and data.nextCursor to walk additional pages.

Why should I replace the .example domains in the prompt?

The example domains are invented placeholders. Replace them with real target domains before running the search.

Next step

Try this with Company data

The tool directory lists every endpoint with its current price. Inspect the inputs there, then let your agent run a small batch before scaling up.

See Company data tools

Share this article