# Company Registration Number Format Detector

> Company Registration Number Format Detector is a paid API for AI agents from api.strale.io, paid per call via x402, $0.054001/call, status unknown (last checked 2026-09-15).

Identifies the type and country of origin of a company registration number (e.g. Swedish org number, German HRB, LEI, DUNS) using pure algorithmic detection across 20+ formats.

## Facts

- Endpoint: GET https://api.strale.io/x402/company-id-detect
- Price: $0.054001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/api-strale-io-0e86320a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_FZ-NO78aPfImn0wakuvsA

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability api-strale-io-0e86320a
```

Example prompt: Can you figure out what type of company registration number '5560885502' is — like whether it's a Swedish org number, Finnish business ID, LEI, or something else, and which country it belongs to?

## When to prefer this

Use this endpoint when you have an unknown or uncertain company identifier string and need to determine its format and country before doing further lookups. Ideal for data ingestion pipelines, KYC workflows, or vendor onboarding where IDs arrive in mixed formats. Prefer over manual regex banks because it covers 20+ formats algorithmically in a single call. Not suitable if you need the actual company data behind the number — use country-specific registry lookups for that.

## Known failure modes

- Unrecognized format: number does not match any of the 20+ supported patterns — returns unknown or null type
- Ambiguous format: number could match multiple patterns — may return best guess with confidence or list of candidates
- Missing required query parameter 'id': returns 400 or validation error
- Empty string or malformed input: returns error or null result

## How this service works

Identify the type and country of a company registration number. Detects Swedish org numbers, Finnish business IDs, German HRB numbers, LEIs, DUNS, and 20+ other formats. Pure algorithmic.

## Output

Returns the detected registration number format (e.g. 'Swedish Organisationsnummer', 'German HRB', 'LEI', 'DUNS') and the associated country, determined algorithmically without any external lookup.

## Example request

```json
{
 "id": "5560885502"
}
```

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "id"
     ],
     "properties": {
      "id": {
       "type": "string",
       "description": "Company registration number to identify"
      }
     }
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/api-strale-io-0e86320a/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.strale.io](https://www.zero.xyz/host/api.strale.io/llms.txt)
