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
| Field | Type | Required | What it is |
|---|---|---|---|
id | string | Yes | Company registration number to identify |
Output fields
How reliably each field appears in a successful answer.
| Field | Type | Appears |
|---|---|---|
input | string | Always (present in every successful answer) |
matches | array | Usually (present for most inputs) |
message | string | Usually (present for most inputs) |
detected | boolean | Always (present in every successful answer) |
best_match | object | Usually (present for most inputs) |
all_matches | array | Usually (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
}' {
"tool": "strale_execute",
"arguments": {
"slug": "company-id-detect",
"inputs": {
"id": "559395-7979"
},
"max_price_cents": 5
}
} import { Strale } from "straleio";
const strale = new Strale({ apiKey: process.env.STRALE_API_KEY! });
const result = await strale.do({
capability_slug: "company-id-detect",
inputs: {
"id": "559395-7979"
},
max_price_cents: 5,
}); import os
from straleio import Strale, DoRequest
strale = Strale(api_key=os.environ["STRALE_API_KEY"])
result = strale.do(DoRequest(
capability_slug="company-id-detect",
inputs={
"id": "559395-7979",
},
max_price_cents=5,
)) # No account. The first request answers 402 with the price in USDC;
# an x402 client pays it from your wallet and repeats the request.
curl -i 'https://api.strale.io/x402/v2/company-id-detect?id=559395-7979' 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
Related tools
- Address Validation €0.03
- Age Check €0.02
- Bank BIC Lookup €0.05
- Bulk Email Validation €0.15
- Business Day Check €0.02
- Czech Bank Account Validation €0.02