Search companies
/companies/searchSearch the company graph using structured filters (industry, headcount, location, technology). Returns paginated company summaries.
Call it over REST
Authenticate with a bearer token against https://api.superagnt.com. Swap the placeholders for your key and parameter values.
curl -s -X POST "https://api.superagnt.com/companies/search" \
-H "Authorization: Bearer <YOUR_AGNTDATA_API_KEY>" \
-H "Content-Type: application/json" \
-d '{ "filters": {}, "page": 0 }'Copy-paste prompt
Paste this into a coding agent. It connects the superagnt MCP server, finds the tool data_agnt_companies_search, and runs a first call — with the REST fallback if MCP is unavailable.
You are wiring up the superagnt "Lead APIs" API to use this endpoint: Search companies.
1. CONNECT over MCP (preferred). No token to paste either way.
On Claude (claude.ai, the desktop app, or Claude Code signed in with a Claude
account), the server is a connector: give the user this link, they click Add
and approve:
https://claude.ai/customize/connectors/yours?modal=add-custom-connector&connectorName=superagnt&connectorUrl=https%3A%2F%2Fmcp.superagnt.com%2Fmcp&open_in_browser=1
Any other MCP client (or Claude Code signed in with an API key): add the server
and let the client run the browser sign-in:
claude mcp add --scope user --transport http superagnt https://mcp.superagnt.com/mcp
claude mcp login superagnt
MCP endpoint: https://mcp.superagnt.com/mcp
After connecting, the tool you want is named exactly:
data_agnt_companies_search
Call agnt_tools_search or agnt_tools_list_enabled to confirm it is available.
2. REST fallback (if you are not using MCP):
POST https://api.superagnt.com/companies/search
Header: Authorization: Bearer <YOUR_AGNTDATA_API_KEY>
Required parameters:
- (none)
Optional parameters:
- filters (object, optional) — Filter object. Each entry is keyed by filter name and takes either `{ include?: string[], exclude?: string[] }` for categorical filters or `{ min?, max? }` for ranges. Searches that contain ONLY `exclude` filters are rejected — always pair with at least one positive filter. Common keys: `company_industry` ({ include/exclude } — e.g. `{ "include": ["Software Development"] }`); `company_headcount` ({ min, max } — numeric employee count range, e.g. `{ "min": 1000 }`); `company_country` ({ include/exclude } — ISO country names or codes); `company_funding` ({ stage: string[], funding_date: number-of-days, last_funding: { min, max }, total_funding: { min, max } }; stages: "Pre seed", "Seed", "Series A", "Series B", "Series C", "Series D", "Series E-J", "Series unknown", "Angel", "Grant", "Convertible note", "Corporate round", "Debt financing", "Equity crowdfunding", "Product crowdfunding", "Private equity", "Non equity assistance", "Initial coin offering", "Secondary market", "Post IPO equity", "Post IPO debt", "Post IPO secondary", "Undisclosed"; amounts use suffix notation like "1M", "10M", "100M"); `company_type` ({ include/exclude } — e.g. ["Privately Held", "Public Company"]). For convenience, flat aliases are accepted and translated server-side: `industry`/`industries` → `company_industry.include`, `country`/`countries` → `company_country.include`, `headcount_min`/`headcount_max` → `company_headcount.{min,max}`. Top-level keys other than `filters`/`page` (e.g. `limit`) are ignored. Example: `{ "company_industry": { "include": ["Software Development"] }, "company_headcount": { "min": 1000 } }`. A valid search that matches nothing returns an empty `results` list and is not charged. A filter value the data provider does not accept returns 400 VALIDATION_ERROR naming the value; fix it and retry.
- page (integer, optional) — Page number (25 results per page; max page = 1000).
- max_cost_cents (number, optional)
3. COST & KEY. This endpoint is metered — pricing varies by request, from $0.02 per call. Only successful calls are charged.
Get a superagnt API key at https://app.superagnt.com.
4. TEST. Connect the server (or set the key), discover the tool
(data_agnt_companies_search), run one minimal call with just the required parameters,
and report back the shape of the JSON response (top-level fields).
Reference (machine-readable variant): https://www.superagnt.com/docs/apis/lead/agnt/endpoints/companies_search.md{
"name": "companies_search",
"description": "Search the company graph using structured filters (industry, headcount, location, technology, …). Returns paginated company summaries.",
"parameters": {
"type": "object",
"properties": {
"filters": {
"type": "object",
"additionalProperties": {},
"description": "Filter object. Each entry is keyed by filter name and takes either `{ include?: string[], exclude?: string[] }` for categorical filters or `{ min?, max? }` for ranges. Searches that contain ONLY `exclude` filters are rejected — always pair with at least one positive filter. Common keys: `company_industry` ({ include/exclude } — e.g. `{ \"include\": [\"Software Development\"] }`); `company_headcount` ({ min, max } — numeric employee count range, e.g. `{ \"min\": 1000 }`); `company_country` ({ include/exclude } — ISO country names or codes); `company_funding` ({ stage: string[], funding_date: number-of-days, last_funding: { min, max }, total_funding: { min, max } }; stages: \"Pre seed\", \"Seed\", \"Series A\", \"Series B\", \"Series C\", \"Series D\", \"Series E-J\", \"Series unknown\", \"Angel\", \"Grant\", \"Convertible note\", \"Corporate round\", \"Debt financing\", \"Equity crowdfunding\", \"Product crowdfunding\", \"Private equity\", \"Non equity assistance\", \"Initial coin offering\", \"Secondary market\", \"Post IPO equity\", \"Post IPO debt\", \"Post IPO secondary\", \"Undisclosed\"; amounts use suffix notation like \"1M\", \"10M\", \"100M\"); `company_type` ({ include/exclude } — e.g. [\"Privately Held\", \"Public Company\"]). For convenience, flat aliases are accepted and translated server-side: `industry`/`industries` → `company_industry.include`, `country`/`countries` → `company_country.include`, `headcount_min`/`headcount_max` → `company_headcount.{min,max}`. Top-level keys other than `filters`/`page` (e.g. `limit`) are ignored. Example: `{ \"company_industry\": { \"include\": [\"Software Development\"] }, \"company_headcount\": { \"min\": 1000 } }`. A valid search that matches nothing returns an empty `results` list and is not charged. A filter value the data provider does not accept returns 400 VALIDATION_ERROR naming the value; fix it and retry."
},
"page": {
"type": "integer",
"exclusiveMinimum": 0,
"minimum": 0,
"description": "Page number (25 results per page; max page = 1000)."
},
"max_cost_cents": {
"type": "number",
"minimum": 0
}
},
"required": []
}
}| Name | In | Type | Required | Description |
|---|---|---|---|---|
filters | body | object | optional | Filter object. Each entry is keyed by filter name and takes either `{ include?: string[], exclude?: string[] }` for categorical filters or `{ min?, max? }` for ranges. Searches that contain ONLY `exclude` filters are rejected — always pair with at least one positive filter. Common keys: `company_industry` ({ include/exclude } — e.g. `{ "include": ["Software Development"] }`); `company_headcount` ({ min, max } — numeric employee count range, e.g. `{ "min": 1000 }`); `company_country` ({ include/exclude } — ISO country names or codes); `company_funding` ({ stage: string[], funding_date: number-of-days, last_funding: { min, max }, total_funding: { min, max } }; stages: "Pre seed", "Seed", "Series A", "Series B", "Series C", "Series D", "Series E-J", "Series unknown", "Angel", "Grant", "Convertible note", "Corporate round", "Debt financing", "Equity crowdfunding", "Product crowdfunding", "Private equity", "Non equity assistance", "Initial coin offering", "Secondary market", "Post IPO equity", "Post IPO debt", "Post IPO secondary", "Undisclosed"; amounts use suffix notation like "1M", "10M", "100M"); `company_type` ({ include/exclude } — e.g. ["Privately Held", "Public Company"]). For convenience, flat aliases are accepted and translated server-side: `industry`/`industries` → `company_industry.include`, `country`/`countries` → `company_country.include`, `headcount_min`/`headcount_max` → `company_headcount.{min,max}`. Top-level keys other than `filters`/`page` (e.g. `limit`) are ignored. Example: `{ "company_industry": { "include": ["Software Development"] }, "company_headcount": { "min": 1000 } }`. A valid search that matches nothing returns an empty `results` list and is not charged. A filter value the data provider does not accept returns 400 VALIDATION_ERROR naming the value; fix it and retry. |
page | body | integer | optional | Page number (25 results per page; max page = 1000). |
max_cost_cents | body | number | optional |
Company search results.
{
"type": "object",
"required": [
"success",
"data"
],
"properties": {
"success": {
"type": "boolean",
"enum": [
true
]
},
"data": {
"$ref": "#/components/schemas/CompaniesSearchResponse"
},
"meta": {
"$ref": "#/components/schemas/AgntMeta"
}
}
}Metered endpoint — the exact cost depends on the request. Credits are deducted per successful call; failed requests (4xx/5xx) are not charged.
Get started at app.superagnt.com.
start calling
Point your client at https://mcp.superagnt.com/mcp and your agent has this endpoint, plus every other source on one balance.