APIEnrichmentLead Generation

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...
USE THIS API

Count lookalike companies for a seed (free)

Prepare your request, then continue with your agent.

Selected price

$0 / call

Provider
Pricing
Connect your agent
On this page

Playground

Run sends a real API request. Charges follow the published API contract.

Request parameters
body*object

body

Returns the total count of similar companies matching the given search criteria without retrieving the actual results

Sample response

{
  "count": 100,
  "total": 54000
}

Response result

Response structure

Inferred from examples
  • countinteger
  • totalinteger

Sellers

SellerPricingRequests · 30dPerformanceAccess
tregCurrent
Count lookalike companies for a seed (free) · POST · View API reference
$0 / call—
—successP50—
Loading...
Selected pricing · tregUSD / call
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.

calls

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.

ParameterLocationTypeRequiredDescription
categoryJSON request bodybodyarrayNob2b, b2c, b2g, saas, marketplace, service-provider …
Nested fields and variants

body.category[] · Array item · string

categoryOperatorJSON request bodybodystringNoand | or — how multiple `category` values combine
citiesJSON request bodybodyarrayNocity ids from the free POST /geo/cities
Nested fields and variants

body.cities[] · Array item · integer

countriesJSON request bodybodyarrayNonarrow the lookalikes by geography — every companyenrich.companies.search filter is accepted here too
Nested fields and variants

body.countries[] · Array item · string

domainJSON request bodybodystringNoDEPRECATED single-seed form — use `domains`
domainsJSON request bodybodyarrayNo1-10 seed domains; the result is similar to the SET, so several seeds sharpen the profile

minItems: 1 · maxItems: 10

Nested fields and variants

body.domains[] · Array item · string

employeesJSON request bodybodyarrayNonarrow by size bucket
Nested fields and variants

body.employees[] · Array item · string

excludeJSON request bodybodyobjectNodomains/companies to drop; the per-search exclude cap is plan-bound (500 Starter → 50,000 Scale)
foundedYearJSON request bodybodyobjectNorange object, e.g. {min: 2015, max: 2022}
fundingAmountJSON request bodybodyobjectNorange object in USD
fundingRoundsJSON request bodybodyarrayNoseed, 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
Nested fields and variants

body.fundingRounds[] · Array item · string

fundingYearJSON request bodybodyobjectNorange object
keywordsJSON request bodybodyarrayNodescription keywords; resolve them first with the free /keywords/autocomplete
Nested fields and variants

body.keywords[] · Array item · string

keywordsOperatorJSON request bodybodystringNoand | or
listsJSON request bodybodyarrayNorestrict to saved list ids (dashboard feature, plan-gated)
Nested fields and variants

body.lists[] · Array item · integer

minScoreJSON request bodybodynumberNo0-1 floor on the similarity score

minimum: 0 · maximum: 1

naicsCodeJSON request bodybodyarrayNo2-6 digit NAICS; a short code matches all its children
Nested fields and variants

body.naicsCode[] · Array item · integer

pageJSON request bodybodyintegerNo1-based page number
pageSizeJSON request bodybodyintegerNo1-100. THIS IS THE PRICE — 5 credits per company returned
queryJSON request bodybodystringNofree-text match on company name and domain, max 250 chars
regionsJSON request bodybodyarrayNoregion ids from the free GET /geo/regions
Nested fields and variants

body.regions[] · Array item · string

reportedEmployeesJSON request bodybodyarrayNosame buckets, but the externally reported figure
Nested fields and variants

body.reportedEmployees[] · Array item · string

requireJSON request bodybodyarrayNofeatures that MUST be present on the company record
Nested fields and variants

body.require[] · Array item · string

revenueJSON request bodybodyarrayNorevenue buckets, e.g. over-1b
Nested fields and variants

body.revenue[] · Array item · string

semanticQueryJSON request bodybodystringNonatural-language description of the companies you want; costs 2 credits per company instead of 1
semanticWeightJSON request bodybodynumberNo0-1, default 0.7 — higher favours semantic similarity over the structured filters
similarityWeightJSON request bodybodynumberNo-1 to 1, default 0; higher weights raw similarity over the structured filters
statesJSON request bodybodyarrayNostate ids from the free POST /geo/states
Nested fields and variants

body.states[] · Array item · integer

technologiesJSON request bodybodyarrayNotechnology-stack names; resolve them first with the free /technologies/autocomplete
Nested fields and variants

body.technologies[] · Array item · string

technologiesOperatorJSON request bodybodystringNoand | or
typeJSON request bodybodyarrayNoprivate, public, nonprofit, educational, government
Nested fields and variants

body.type[] · Array item · string

workforceGrowthJSON request bodybodyobjectNofilter by headcount growth rate over a window
workforceSizeJSON request bodybodyarrayNoabsolute headcount ranges, finer-grained than the buckets
Nested fields and variants

body.workforceSize[] · Array item · object

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.

Official example · TREG catalog reference (HTTP assumed)
{
  "count": 100,
  "total": 54000
}

Agent integration

Copy the resource contract without sharing an API key.

View API Markdown
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

StatusNext step
400Check the offering and request fields.
401 / 403Verify your credentials and access permissions.
402Inspect the selected access mode and returned payment requirements.
429Respect the returned rate limit and retry guidance.
5xxInspect 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.

  1. 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 / Linux
    printf 'OpenAny API key: '
    read -r -s OPENANY_API_KEY
    export OPENANY_API_KEY
    printf '\n'
  2. 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 · cURL
    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"
      ]
    }'
  3. Check the response

    Sample response · Configured HTTP 200; actual status is unverified.

    Sample response
    {
      "count": 100,
      "total": 54000
    }

Common questions

Do I need a separate key for every provider?

Use your OpenAny API key for standard API access. Read it from OPENANY_API_KEY in your environment and keep it out of prompts, source code and logs.

Are these providers interchangeable?

No. Each offering has its own inputs, pricing and response contract. Selecting a catalog offering does not establish automatic routing or fallback. Confirm the service contract before calling.

How is this API billed?

API-key calls use your shared balance at the selected implementation's published rate. Check the billing unit and request-specific pricing rules before making a paid call. Recorded usage determines the final charge under that contract.

Where do the price and contract come from?

The selected implementation publishes its provider, request contract, revision and billing rules through OpenAny's public API catalog. A revision number identifies a contract version, not a price update date. A price update timestamp is not supplied; do not treat a page date as one.

How do OpenAny Balance and x402 differ?

OpenAny Balance uses an API key and one shared balance. Card, USDC and x402 top-ups, card auto top-up and USDC subscriptions fund that balance; available routes appear on the Credits page. Direct x402 is a separate pay-per-request flow, available only on listings that show it and requiring an authorized payment client.

Does Playground send a paid request?

Yes. After you sign in, Run sends a real API request using an active OpenAny API key. Charges follow the published API contract and use your shared balance. Selecting an implementation, editing inputs and viewing sample responses do not send requests.

Use Count lookalike companies for a seed (free) with your agent

Inspect endpoint contracts and confirm availability and pricing before a paid call.