# TheCableCode Cable Designation Decoder

> TheCableCode Cable Designation Decoder is a paid API for AI agents from thecablecode.com, paid per call via x402, $0.5/call, status unknown (last checked 2026-10-23).

Decodes a power cable designation string against up to 39 coding standards and validates its construction compliance, returning structured cable properties and a pass/fail compliance summary.

## Facts

- Endpoint: GET https://thecablecode.com/api/v1/check?utm_source=zero.xyz
- Price: $0.5/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-23
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/thecablecode-cable-designation-decoder-9caece04
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Oe8BSt43yGK1Rp5hreCxV

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 thecablecode-cable-designation-decoder-9caece04
```

Example prompt: Can you decode the cable designation 'NA2XS(F)2Y 1x240/25 12/20 kV' and tell me whether it complies with IEC standards — specifically check it against IEC 60502-2?

## When to prefer this

Choose this endpoint when you need deterministic, rule-based validation of a power cable designation string against recognized international standards (IEC, HD, BS series). It is specifically suited for electrical engineers, procurement teams, and quality assurance workflows that need to verify whether a cable code printed on a drum, datasheet, or specification sheet is correctly formed and standards-compliant. Prefer it over LLM-based interpretation for authoritative, traceable compliance results.

## Known failure modes

- Unrecognized designation format returns an error or 'review' verdict
- Designation not matching any of the 39 supported coding systems may yield incomplete results
- Supplying more than 4 comma-separated standards triggers a validation error
- Designation string exceeding 120 characters is rejected
- Ambiguous or malformed designation may return partial results with notes explaining the issue

## How this service works

Type the designation as printed on the cable, its drum label or its datasheet. It is decoded across 39 coding systems and drawn in 3D, from the conductor out to the sheath.

## Output

A JSON object containing: a compliance verdict ('complies', 'deviates', or 'review'), pass/fail/total check counts, structured cable properties (core count, voltage class, conductor and insulation details), informational notes, links to relevant documentation and rule sets, and metadata confirming the check was deterministic (not LLM-based).

## 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": [
      "designation"
     ],
     "properties": {
      "standard": {
       "type": "string",
       "description": "\"auto\" (default: the standards the input claims) or rule sets, comma separated, at most 4: iec-60502-1-2004, iec-60502-2-2014, iec-60228-2004, hd-603-3-g, hd-603-5-g, hd-620-10-j, hd-620-10-m, hd-620-10-d, hd-620-10-c, hd-620-10-k, bs-5467, bs-6724, bs-7846, bs-6622. Printed names work too (\"IEC 60502-2\", \"HD 620 10-J\")."
      },
      "designation": {
       "type": "string",
       "maxLength": 120,
       "description": "A power cable designation with its size and voltage, e.g. \"NA2XS(F)2Y 1x240/25 12/20 kV\", \"AXCLJ-TT 3x95/25 12/20 kV\", \"NYY-J 4x16\"."
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "cable": {
       "type": "object",
       "properties": {
        "cores": {
         "type": "integer"
        },
        "voltage": {
         "type": "object"
        },
        "conductor": {
         "type": "object"
        },
        "insulation": {
         "type": [
          "string",
          "null"
         ]
        }
       }
      },
      "input": {
       "type": "object",
       "properties": {
        "kind": {
         "enum": [
          "designation",
          "design",
          "construction"
         ]
        },
        "name": {
         "type": "string"
        },
        "standard": {
         "enum": [
          "auto",
          "named"
         ]
        },
        "designation": {
         "type": "string"
        }
       }
      },
      "links": {
       "type": "object",
       "properties": {
        "docs": {
         "type": "string"
        },
        "rule_sets": {
         "type": "string"
        }
       }
      },
      "notes": {
       "type": "array",
       "items": {
        "type": "string"
       }
      },
      "checks": {
       "type
… (truncated)
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "input": {
   "kind": "designation",
   "standard": "auto",
   "designation": "NA2XS(F)2Y 1x240/25 12/20 kV"
  },
  "schema": "thecablecode.check/v1",
  "summary": {
   "fail": 0,
   "pass": 10,
   "total": 10,
   "verdict": "complies",
   "not_checkable": 0
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/thecablecode-cable-designation-decoder-9caece04/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from thecablecode.com](https://www.zero.xyz/host/thecablecode.com/llms.txt)
