Boolean company search API: AND, OR, NOT across signals
match_companies
2.5 credits / company returnedBoolean company match with evidence: combine signals with AND, OR and NOT. `all_of` is a list of groups that must ALL match; a group holds ONE signal — tech, hiring, ads, events, funding or investors — and matches when ANY of its terms does. To OR different signals inside one group, use `any_of`. `none_of` lists groups that must NOT match. Examples: (Datadog OR New Relic) AND OpenTelemetry → all_of: [{"tech":["datadog","new relic"]},{"tech":["opentelemetry"]}]. Uses Datadog OR runs Meta ads, AND is hiring SREs, NOT on Google ads → all_of: [{"any_of":[{"tech":["datadog"]},{"ads":["meta"]}]},{"hiring":["site reliability"]}], none_of: [{"ads":["google"]}]. Company filters (countries, sizes, industries, founded year) narrow every group. Each company comes back with `why` and `evidence`: what matched in each group, from which source and when. Results are the biggest companies first (LinkedIn following), one row per company. Use search_companies instead to find companies by what they do (plain-English `query`), by sector or business model, or by ad keywords — those are not available here.
Parameters
| param | type | description |
|---|---|---|
| all_of required | object[] | Groups that must ALL match. At least one. |
| countries | string[] | HQ countries, any of (names or ISO-2). Optional. |
| countries_exclude | string[] | HQ countries to exclude. Optional. |
| founded_year_max | integer | Founded in or before this year. Optional. |
| founded_year_min | integer | Founded in or after this year. Only companies with a known founding year match. Optional. |
| industries | string[] | LinkedIn industry labels, any of (exact, e.g. "Software Development"). Optional. |
| industries_exclude | string[] | LinkedIn industry labels to exclude. Optional. |
| keep_tool_vendors | boolean | Keep companies whose own name is one of the tools searched for (Datadog itself shows up as "uses Datadog"). Default false. |
| limit | integer | Companies to return (default 10, max 100). |
| min_followers | integer | Minimum LinkedIn followers. Optional. |
| none_of | object[] | Groups that must NOT match (same shape as all_of). Optional. |
| offset | integer | Rows to skip, for paging (offset+limit ≤ 5000). |
| sizes | string[] | Employee ranges, any of: "1", "2-10", "11-50", "51-200", "201-500", "501-1000", "1001-5000", "5001-10000", "10001+". Optional. |
Call it from your agent (MCP)
Connect once and match_companies appears in your agent’s toolbox next to every other gtm.dev tool. Claude Code:
claude mcp add --transport http gtm https://mcp.gtm.dev \
--header "Authorization: Bearer YOUR_API_KEY"Under the hood, the client sends:
curl -X POST https://mcp.gtm.dev \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call",
"params":{"name":"match_companies","arguments":{"all_of":[{"any_of":[{"tech":["datadog"]},{"ads":["meta"],"markets":["US"]}]}],"none_of":[{"ads":["google"]}],"countries":["US"],"sizes":["201-500"],"limit":10}}}'other clients (cursor, claude desktop, openai agents sdk, langchain): mcp setup
Call it over REST
curl -X POST https://api.gtm.dev/v1/tools/match_companies \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"all_of":[{"any_of":[{"tech":["datadog"]},{"ads":["meta"],"markets":["US"]}]}],"none_of":[{"ads":["google"]}],"countries":["US"],"sizes":["201-500"],"limit":10}'Errors (401, 402, 429, 400) are listed in the REST reference. Calls that error are not billed — see pricing.