# Swedish Identifier Validator (personnummer, orgnr, bankgiro, OCR, etc.)

> Swedish Identifier Validator (personnummer, orgnr, bankgiro, OCR, etc.) is a paid API for AI agents from agentkit-x402.erikssonanton2001.workers.dev, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-17).

Validates Swedish identifiers including personnummer, samordningsnummer, organisationsnummer, bankgiro, plusgiro, and OCR numbers, returning validity, normalized form, and derived metadata.

## Facts

- Endpoint: GET https://agentkit-x402.erikssonanton2001.workers.dev/v1/se/validate?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-17
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/swedish-identifier-validator-personnummer-orgnr-bankgiro-ocr-etc-67f9227e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_He38xGVxUnhhoyJs4ytQb

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 swedish-identifier-validator-personnummer-orgnr-bankgiro-ocr-etc-67f9227e
```

Example prompt: Can you validate the Swedish organisation number 556016-0680 and tell me whether it's valid, what legal form it represents, and what the VAT number would be?

## When to prefer this

Use this endpoint when you need to validate, normalize, or enrich any Swedish identifier — personal numbers, organisation numbers, payment references, or tax/VAT numbers — especially in onboarding, compliance, payments, or data-quality workflows targeting Swedish entities. It covers all major Swedish identifier types in a single service paid per call in USDC.

## Known failure modes

- Invalid or unrecognized identifier format returns valid:false with error messages in the errors array
- Missing required query parameters (type or value) returns an error response
- Unsupported type enum value returns a validation error
- Malformed input string may return parsing errors rather than a clean validity result

## How this service works

Email checks, DNS and email-authentication audits, website contact extraction, SEO audits, URL to Markdown and Swedish validators, paid per call in USDC with x402.

## Output

Returns a JSON object with: 'valid' (boolean), 'errors' (array of validation error strings), 'normalized' (canonical formatted identifier), 'kind' (e.g. 'legal_entity' or 'person'), 'legal_form' (human-readable company type if applicable), 'vat_number' (derived SE VAT number if applicable), 'vat_format_valid' (boolean), and 'requested_type' (the type you queried).

## 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"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "type",
      "value"
     ],
     "properties": {
      "type": {
       "enum": [
        "personnummer",
        "samordningsnummer",
        "orgnr",
        "bankgiro",
        "plusgiro",
        "ocr"
       ],
       "type": "string",
       "description": "Identifier type."
      },
      "value": {
       "type": "string",
       "description": "The identifier to validate."
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "kind": "legal_entity",
  "valid": true,
  "errors": [],
  "legal_form": "Aktiebolag / Limited company (AB)",
  "normalized": "556016-0680",
  "vat_number": "SE556016068001",
  "requested_type": "orgnr",
  "vat_format_valid": true
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/swedish-identifier-validator-personnummer-orgnr-bankgiro-ocr-etc-67f9227e/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agentkit-x402.erikssonanton2001.workers.dev](https://www.zero.xyz/host/agentkit-x402.erikssonanton2001.workers.dev/llms.txt)
