Count lookalike companies for a seed (free)
Retrieve the total count of similar companies matching the given search criteria without retrieving the actual results. The request accepts a category and a page number when provided. Use it to surface relevant records in a search or discovery tool.
- Selected price
- $0 / callPublished pricing
- Sellers / APIs
- 1 / 1
- Requests · 30d
- —Loading...
- Success rate · 30d
- —Loading...
Count lookalike companies for a seed (free)
Prepare your request, then continue with your agent.
Selected price
$0 / call
- Provider
- Pricing
On this page
Playground
Run sends a real API request. Charges follow the published API contract.
Response structure
countintegertotalinteger
// Inferred from response examples. Fields are optional and other fields may be returned.
export type ApiResponse = {
count?: number;
total?: number;
};Sellers
| Seller | Pricing | Requests · 30d | Performance | Access |
|---|---|---|---|---|
tregCurrent Count lookalike companies for a seed (free) · POST · View API reference | $0 / call | — | —successP50— |
- Unit price
- $0
Statistics use persisted gateway logs from the last 30 days up to now, including today.
Success rate = successful requests / all requests;
P50 = median latency of successful requests.
Prices reflect the published API contract. Contract revision: 3. Price update time: not supplied.
Total $0
API
- Method
- POST
- Endpoint
https://api.openany.si/v1/agent-apis/treg/call/companyenrich.companies.similar.count- Content type
- application/json
- Authentication
Authorization: Bearer $OPENANY_API_KEY
curl \
'https://api.openany.si/v1/agent-apis/treg/call/companyenrich.companies.similar.count' \
-X POST \
-H "Authorization: Bearer $OPENANY_API_KEY" \
-H 'Content-Type: application/json' \
--data-raw '{
"domains": [
"stripe.com"
]
}'Input parameters
Fields in this listing; additional options and input encoding can vary by provider.
| Parameter | Location | Type | Required | Description |
|---|---|---|---|---|
category | JSON request bodybody | array | No | b2b, b2c, b2g, saas, marketplace, service-provider …Nested fields and variants
|
categoryOperator | JSON request bodybody | string | No | and | or — how multiple `category` values combine |
cities | JSON request bodybody | array | No | city ids from the free POST /geo/citiesNested fields and variants
|
countries | JSON request bodybody | array | No | narrow the lookalikes by geography — every companyenrich.companies.search filter is accepted here tooNested fields and variants
|
domain | JSON request bodybody | string | No | DEPRECATED single-seed form — use `domains` |
domains | JSON request bodybody | array | No | 1-10 seed domains; the result is similar to the SET, so several seeds sharpen the profile minItems: 1 · maxItems: 10 Nested fields and variants
|
employees | JSON request bodybody | array | No | narrow by size bucketNested fields and variants
|
exclude | JSON request bodybody | object | No | domains/companies to drop; the per-search exclude cap is plan-bound (500 Starter → 50,000 Scale) |
foundedYear | JSON request bodybody | object | No | range object, e.g. {min: 2015, max: 2022} |
fundingAmount | JSON request bodybody | object | No | range object in USD |
fundingRounds | JSON request bodybody | array | No | seed, debt_financing, angel, venture, series_a, series_b, series_c, series_d, series_e, series_f, series_g, series_h, other; hyphen forms like series-a are rejectedNested fields and variants
|
fundingYear | JSON request bodybody | object | No | range object |
keywords | JSON request bodybody | array | No | description keywords; resolve them first with the free /keywords/autocompleteNested fields and variants
|
keywordsOperator | JSON request bodybody | string | No | and | or |
lists | JSON request bodybody | array | No | restrict to saved list ids (dashboard feature, plan-gated)Nested fields and variants
|
minScore | JSON request bodybody | number | No | 0-1 floor on the similarity score minimum: 0 · maximum: 1 |
naicsCode | JSON request bodybody | array | No | 2-6 digit NAICS; a short code matches all its childrenNested fields and variants
|
page | JSON request bodybody | integer | No | 1-based page number |
pageSize | JSON request bodybody | integer | No | 1-100. THIS IS THE PRICE — 5 credits per company returned |
query | JSON request bodybody | string | No | free-text match on company name and domain, max 250 chars |
regions | JSON request bodybody | array | No | region ids from the free GET /geo/regionsNested fields and variants
|
reportedEmployees | JSON request bodybody | array | No | same buckets, but the externally reported figureNested fields and variants
|
require | JSON request bodybody | array | No | features that MUST be present on the company recordNested fields and variants
|
revenue | JSON request bodybody | array | No | revenue buckets, e.g. over-1bNested fields and variants
|
semanticQuery | JSON request bodybody | string | No | natural-language description of the companies you want; costs 2 credits per company instead of 1 |
semanticWeight | JSON request bodybody | number | No | 0-1, default 0.7 — higher favours semantic similarity over the structured filters |
similarityWeight | JSON request bodybody | number | No | -1 to 1, default 0; higher weights raw similarity over the structured filters |
states | JSON request bodybody | array | No | state ids from the free POST /geo/statesNested fields and variants
|
technologies | JSON request bodybody | array | No | technology-stack names; resolve them first with the free /technologies/autocompleteNested fields and variants
|
technologiesOperator | JSON request bodybody | string | No | and | or |
type | JSON request bodybody | array | No | private, public, nonprofit, educational, governmentNested fields and variants
|
workforceGrowth | JSON request bodybody | object | No | filter by headcount growth rate over a window |
workforceSize | JSON request bodybody | array | No | absolute headcount ranges, finer-grained than the bucketsNested fields and variants
|
Required markers inside a nested object or variant apply when that object or variant is used.
Sample response
Sample response · Configured HTTP 200; actual status is unverified. Example from the provider's documentation. Field values in your results will differ.
{
"count": 100,
"total": 54000
}Agent integration
Copy the resource contract without sharing an API key.
View API Markdown
# Count lookalike companies for a seed (free)
Retrieve the total count of similar companies matching the given search criteria without retrieving the actual results. The request accepts a category and a page number when provided. Use it to surface relevant records in a search or discovery tool.
## Available implementations
treg · Count lookalike companies for a seed (free): https://openany.si/markets/apis/capabilities/company-count-lookalike-companies-for-a-seed-free?offering=8cd065fd-20fc-4b8d-ba79-9fc61f9f773e · $0 / call
## Selected API contract
Documentation: https://openany.si/markets/apis/capabilities/company-count-lookalike-companies-for-a-seed-free
Method: POST
Endpoint: https://api.openany.si/v1/agent-apis/treg/call/companyenrich.companies.similar.count
Price: $0 / call
Provider: treg
Contract revision: 3
Price source: OpenAny public API contract and documented provider unit rates. Price update time: not supplied.
Use OPENANY_API_KEY from the environment. API Key calls use your shared balance.
## Prepared request
```bash
curl \
'https://api.openany.si/v1/agent-apis/treg/call/companyenrich.companies.similar.count' \
-X POST \
-H "Authorization: Bearer $OPENANY_API_KEY" \
-H 'Content-Type: application/json' \
--data-raw '{
"domains": [
"stripe.com"
]
}'
```
## API contract
```json
{
"resource_type": "api",
"name": "Count lookalike companies for a seed (free)",
"endpoint": "https://api.openany.si/v1/agent-apis/treg/call/companyenrich.companies.similar.count",
"method": "POST",
"content_type": "application/json",
"execution_mode": "sync",
"authentication": {
"type": "bearer",
"environment_variable": "OPENANY_API_KEY"
},
"inputs": [
{
"description": "Returns the total count of similar companies matching the given search criteria without retrieving the actual results",
"json_schema": {
"additionalProperties": false,
"properties": {
"category": {
"description": "b2b, b2c, b2g, saas, marketplace, service-provider …",
"items": {
"type": "string"
},
"type": "array"
},
"categoryOperator": {
"description": "and | or — how multiple `category` values combine",
"type": "string"
},
"cities": {
"description": "city ids from the free POST /geo/cities",
"items": {
"type": "integer"
},
"type": "array"
},
"countries": {
"description": "narrow the lookalikes by geography — every companyenrich.companies.search filter is accepted here too",
"items": {
"type": "string"
},
"type": "array"
},
"domain": {
"description": "DEPRECATED single-seed form — use `domains`",
"type": "string"
},
"domains": {
"description": "1-10 seed domains; the result is similar to the SET, so several seeds sharpen the profile",
"items": {
"type": "string"
},
"maxItems": 10,
"minItems": 1,
"type": "array"
},
"employees": {
"description": "narrow by size bucket",
"items": {
"type": "string"
},
"type": "array"
},
"exclude": {
"additionalProperties": true,
"description": "domains/companies to drop; the per-search exclude cap is plan-bound (500 Starter → 50,000 Scale)",
"properties": {},
"type": "object"
},
"foundedYear": {
"additionalProperties": true,
"description": "range object, e.g. {min: 2015, max: 2022}",
"properties": {},
"type": "object"
},
"fundingAmount": {
"additionalProperties": true,
"description": "range object in USD",
"properties": {},
"type": "object"
},
"fundingRounds": {
"description": "seed, debt_financing, angel, venture, series_a, series_b, series_c, series_d, series_e, series_f, series_g, series_h, other; hyphen forms like series-a are rejected",
"items": {
"type": "string"
},
"type": "array"
},
"fundingYear": {
"additionalProperties": true,
"description": "range object",
"properties": {},
"type": "object"
},
"keywords": {
"description": "description keywords; resolve them first with the free /keywords/autocomplete",
"items": {
"type": "string"
},
"type": "array"
},
"keywordsOperator": {
"description": "and | or",
"type": "string"
},
"lists": {
"description": "restrict to saved list ids (dashboard feature, plan-gated)",
"items": {
"type": "integer"
},
"type": "array"
},
"minScore": {
"description": "0-1 floor on the similarity score",
"maximum": 1,
"minimum": 0,
"type": "number"
},
"naicsCode": {
"description": "2-6 digit NAICS; a short code matches all its children",
"items": {
"type": "integer"
},
"type": "array"
},
"page": {
"description": "1-based page number",
"type": "integer"
},
"pageSize": {
"description": "1-100. THIS IS THE PRICE — 5 credits per company returned",
"type": "integer"
},
"query": {
"description": "free-text match on company name and domain, max 250 chars",
"type": "string"
},
"regions": {
"description": "region ids from the free GET /geo/regions",
"items": {
"type": "string"
},
"type": "array"
},
"reportedEmployees": {
"description": "same buckets, but the externally reported figure",
"items": {
"type": "string"
},
"type": "array"
},
"require": {
"description": "features that MUST be present on the company record",
"items": {
"type": "string"
},
"type": "array"
},
"revenue": {
"description": "revenue buckets, e.g. over-1b",
"items": {
"type": "string"
},
"type": "array"
},
"semanticQuery": {
"description": "natural-language description of the companies you want; costs 2 credits per company instead of 1",
"type": "string"
},
"semanticWeight": {
"description": "0-1, default 0.7 — higher favours semantic similarity over the structured filters",
"type": "number"
},
"similarityWeight": {
"description": "-1 to 1, default 0; higher weights raw similarity over the structured filters",
"type": "number"
},
"states": {
"description": "state ids from the free POST /geo/states",
"items": {
"type": "integer"
},
"type": "array"
},
"technologies": {
"description": "technology-stack names; resolve them first with the free /technologies/autocomplete",
"items": {
"type": "string"
},
"type": "array"
},
"technologiesOperator": {
"description": "and | or",
"type": "string"
},
"type": {
"description": "private, public, nonprofit, educational, government",
"items": {
"type": "string"
},
"type": "array"
},
"workforceGrowth": {
"additionalProperties": true,
"description": "filter by headcount growth rate over a window",
"properties": {},
"type": "object"
},
"workforceSize": {
"description": "absolute headcount ranges, finer-grained than the buckets",
"items": {
"additionalProperties": true,
"properties": {},
"type": "object"
},
"type": "array"
}
},
"required": [],
"type": "object"
},
"location": "body",
"name": "body",
"nullable": false,
"pointer": "",
"required": true,
"type": "object"
}
],
"billing": {
"currency": "USD",
"mode": "fixed",
"priceMicroUsd": "0",
"rounding": null,
"unit": "call",
"unitQuantity": null
},
"examples": [
{
"http_status": 200,
"name": "Official example · TREG catalog reference (HTTP assumed)",
"request": {
"body": {
"domains": [
"stripe.com"
]
},
"headers": {},
"path": {},
"query": {}
},
"response_body": {
"count": 100,
"total": 54000
}
}
]
}
```Error handling
| Status | Next step |
|---|---|
400 | Check the offering and request fields. |
401 / 403 | Verify your credentials and access permissions. |
402 | Inspect the selected access mode and returned payment requirements. |
429 | Respect the returned rate limit and retry guidance. |
5xx | Inspect the error and usage record before retrying a paid operation. |
Examples
Official example · TREG catalog reference (HTTP assumed)
Example from the provider's documentation. Field values in your results will differ.
Prepare your environment
Use a terminal with cURL installed.
Use an OpenAny API key with shared-balance access. Confirm availability and price before running; a call may charge your balance.
Set the key in your terminal using the hidden prompt below. Keep its value out of source files and logs.
Terminal · macOS / Linuxprintf 'OpenAny API key: ' read -r -s OPENANY_API_KEY export OPENANY_API_KEY printf '\n'Run the request
Paste the complete command below into your terminal.
Values to replace before running 1
Review these request fields before running. Keep the published provider and request method unchanged.
body- Returns the total count of similar companies matching the given search criteria without retrieving the actual results
Terminal · cURLcurl \ 'https://api.openany.si/v1/agent-apis/treg/call/companyenrich.companies.similar.count' \ -X POST \ -H "Authorization: Bearer $OPENANY_API_KEY" \ -H 'Content-Type: application/json' \ --data-raw '{ "domains": [ "stripe.com" ] }'Check the response
Sample response · Configured HTTP 200; actual status is unverified.
Sample response{ "count": 100, "total": 54000 }