EN
Company data · x402

ch-uid

Swiss UID / VAT (MWST/TVA/IVA) number validation against the official Swiss Federal Statistical Office UID register (UID-Register, uid-wse). Returns format check (mod-11), register status, legal name, legal form, address, commercial-register and VAT status. Sole-proprietor names are masked.

0.003 USDC / call · {atomic} atomic · 3000 atomic

Endpoint

GET|POST https://x402-gateway.forge-x402.workers.dev/api/ch-uid
MCP tool:: ch_uid

Parameters

NameRequiredTypeDescription
uidRequiredstringSwiss UID, e.g. CHE-105.829.940 or CHE105829940 MWST

Example request (unpaid — expect 402)

curl -sS -D - "https://x402-gateway.forge-x402.workers.dev/api/ch-uid?uid=CHE-105.829.940"

Example 402 challenge

The same object is also sent as a base64 PAYMENT-REQUIRED header. Amounts are atomic USDC units (6 decimals).

{
  "x402Version": 2,
  "error": "Payment required",
  "resource": {
    "url": "https://x402-gateway.forge-x402.workers.dev/api/ch-uid",
    "description": "Swiss UID / VAT (MWST/TVA/IVA) number validation against the official Swiss Federal Statistical Office UID register (UID-Register, uid-wse). Returns format check (mod-11), register status, legal name, legal form, address, commercial-register and VAT status. Sole-proprietor names are masked.",
    "mimeType": "application/json"
  },
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "amount": "3000",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "payTo": "0x7B8bf45ac6AcbA6D4CFB626b57D3f5fF3C9C89F7",
      "maxTimeoutSeconds": 120,
      "extra": {
        "name": "USD Coin",
        "version": "2"
      }
    }
  ]
}

Retry with payment

curl -sS "https://x402-gateway.forge-x402.workers.dev/api/ch-uid?uid=CHE-105.829.940" \
  -H "PAYMENT-SIGNATURE: $PAYMENT"

Example response

{
  "uid": "CHE-105.829.940",
  "uidFormatValid": true,
  "found": true,
  "isActive": true,
  "name": "Migros-Genossenschafts-Bund",
  "legalForm": "Cooperative (Genossenschaft)",
  "vat": {
    "registered": true,
    "active": true
  }
}

Related Apify Actors

Related endpoints