Company ID Detection

Identify possible countries and identifier types from a company registration number's format. Returns candidate matches and confidence levels.

Pay by wallet (x402) company-id-detect

Example

Example answer
{
  "input": "test",
  "matches": [],
  "message": "Could not identify the format of this company ID.",
  "detected": false
}

Inputs

FieldTypeRequiredWhat it is
idstringYesCompany registration number to identify

Output fields

How reliably each field appears in a successful answer.

FieldTypeAppears
inputstringAlways (present in every successful answer)
matchesarrayUsually (present for most inputs)
messagestringUsually (present for most inputs)
detectedbooleanAlways (present in every successful answer)
best_matchobjectUsually (present for most inputs)
all_matchesarrayUsually (present for most inputs)

How to call it

The same tool through each route. MCP clients reach it through Strale’s server at https://api.strale.io/mcp; the call below is what the agent sends.

# Needs an API key. max_price_cents caps what this call may cost.
curl -X POST https://api.strale.io/v1/do \
  -H "Authorization: Bearer $STRALE_API_KEY" \
  -H 'Content-Type: application/json' \
  -d '{
    "capability_slug": "company-id-detect",
    "inputs": {
      "id": "559395-7979"
    },
    "max_price_cents": 5
  }'

Limitations

  • An identifier can match several countries

    Pattern-based detection of company IDs — ambiguous formats (e.g., a number matching multiple country patterns) may return multiple candidates

    What to do instead: Provide the expected country or ID type to disambiguate when the input matches multiple format patterns