The Cable Code
payment-ready until 2026-11-20
Cable designations decoded across 71 coding systems (VDE, HD 308, IEC, BS, UL/NEC, CSA, GB, JIS and more), then designed, rated and checked by standard: construction, current rating, voltage drop, short circuit, equivalents, tender and spec checks, pulling, tray fill, drum loading and IEC 60287 calculations.
Call it x402 v2
x402 v2
- Base URL
- https://thecablecode.com
- Payment
- x402 v2, header channel
$ curl -i 'https://thecablecode.com/api/v1/equivalents' An unpaid request returns HTTP 402 with the payment terms. Sign a payment authorization, then retry with the PAYMENT-SIGNATURE header.
Endpoints 17 paid routes on thecablecode.com
9 more in Example 402 response
Prices as captured in the 402 response: median $0.50 across the 17 endpoints, unchanged since first capture.
Example 402 response
Endpoints and prices
| Method | Path | Description | Price | Network | Asset | 402 channel | Captured |
|---|---|---|---|---|---|---|---|
| POST | / | Check a power cable against a standard's nominal rules: a designation with size and voltage, a designer design, or the construction a maker's datasheet or tender offer states (layers with nominal and minimum thicknesses, screen and armour data). Rule sets: the 85 that the standard field lists (IEC 60502, IEC 60228, IEC 60840 / 62067, IEC 62930, HD 603, HD 620, HD 627, BS, IS, DIN VDE 0250 / 0271 / 0815, EN 50525, EN 50618, GB/T, AS/NZS, SANS, UL 13 / 444 / 1424 / 1277, UL 62 SPT, AEIC CS9-06), or "auto" for the standards the cable claims. Every rule with required, found, pass / fail / not checkable and its source (standard, edition, clause or table, page, how firmly seen). Deterministic, no LLM. A check against nominal rules, not a certificate or a type test. | $0.50 | Base | USDC | header | since 11-13 |
| POST | / | The Pro cold-weather check: the long-term mean daily minimum and mean temperature of a place in a month (NASA POWER monthly data of the place's grid cell, GeoNames places, a stored table: no outside call) against the design's minimum laying temperature with its source, and a verdict: comfortable, marginal, prewarm or unknown. A place by its GeoNames id or by coordinates (its nearest place in the table, with the distance). Always paid: the site shows no free part. $0.50 per calculation in USDC with x402; no free allowance; a list of up to 50 items at $0.50 per item, one payment. | $0.50 | Base | USDC | header | since 11-13 |
| POST | / | The Pro commissioning sheet for a design: the tests after installation of its voltage (the rows of design_cable after_installation, IEC 60502-2 clause 20, IEC 60840, IEC 62067, HD 620, BS, IEEE 400.2), each with its voltage, duration and source, as a PDF with fields to record the results. A separate paid call: its own price, never inside the design price. $0.50 per calculation in USDC with x402; no free allowance; a list of up to 50 items at $0.50 per item, one payment. | $0.50 | Base | USDC | header | since 11-13 |
| POST | / | Decode up to 500 cable designations in one call (a bill of materials), $0.03 per code. Decode a cable type designation (DIN VDE, HAR, BS/IEC, NEC, TS, UTE, CEI-UNEL and 64 more of its 71 coding systems, plus LAN and fibre) into its layers: conductor, insulation, screen, armour, sheath, with the source behind each symbol. Deterministic, no LLM. | $0.03 | Base | USDC | header | since 11-13 |
| POST | / | The Pro degassing estimate (research/degassing/PLAN.md): how many days an XLPE core stays in the oven until a share of its crosslinking by-product is left, by Fick diffusion with published coefficients (Polymers 11 (2019) 1439; the methane D0 and Ea of IEEE PES T&D 2016 as quoted there; Electric Wire & Cable 2025 at 65 C), never a standard's result: no standard gives a degassing formula, time or residual limit. The answer is a band (an open conductor with the 2025 coefficient to a sealed conductor with the 2016 one), the cases at 50, 20, 10 and 5 % left, the curve, the highest local share, the time at 60, 65, 70 and 80 C, each step with its source and seen level, the notes and the warnings (drum turns, sheath, uniform start, no chemistry). For MV (up to 46 kV) the AEIC CS8-20 cl. 10.2 wait is given beside it as the standard's printed value (cs8), with the model's residual at its conditions. A factory measurement (input.calibration) fits an effective coefficient and replaces the band. Always paid, at its own price: on the site a member's calculation with no free part. $5.00 per calculation in USDC with x402; no free allowance; a list of up to 50 items at $5.00 per item, one payment. | $5.00 | Base | USDC | header | since 11-13 |
| POST | / | Design and size a cable (power, control, LAN, coaxial, fibre) from a sentence (any site language, e.g. "3-core collective screen 12/20 kV 3x95/25 Al, longitudinally watertight") or a spec: every layer's thickness with its source (IEC 60502, HD 603 / 620, BS, EN 50525, NEC / UL and more; IEC 60228), the overall diameter, the designation and the decoder's reading of it, and the estimated weight, bending radius, pulling force, IEC 60757 colours and MV field stress with their sources; current, voltage drop and short-circuit ratings; a bare designation works as the sentence; optional XML, DXF, SVG, CSV, GLB, STEP (3D CAD) and a PDF datasheet. Deterministic, no LLM; a nominal calculation, not a datasheet. | $0.50 | Base | USDC | header | since 11-13 |
| POST | / | The drum page's loading planner: how many vehicles of a type (box trailer, curtain-sider, open top, flat rack, containers, platform, rigid truck, or a custom box in full mode) a number of drums needs, by space and by payload, the rows and positions, chocks and bedding, the securing (wedges, blocking along the axis, tipping, top-over lashings per drum forwards, sideways and backwards and the LC a diagonal lashing needs, EN 12195-1:2010; wandering lashings, the load's centre of gravity) and every vehicle type compared, each vehicle with its sources. Use drum_fit (free) first to choose the drum for a length; this tool plans how filled drums travel. Without full and without payment the answer is the verdict a visitor sees on the site, counted against the designs' daily free allowance; full: true (or any paid call) answers in full. $0.50 per calculation in USDC with x402; the free verdict counts against the designs' 2 free calls per caller per UTC day; a list of up to 50 items at $0.50 per item, one payment. | $0.50 | Base | USDC | header | since 11-13 |
| POST | / | The Pro economic size (the IEC 60287-3-2 method): the energy lost a year in this size and one and two sizes up, its present cost over the years, and the discounted payback of the larger size where its extra cost is given, each step with its formula and source. Always paid: the site shows it to members only. $0.50 per calculation in USDC with x402; no free allowance; a list of up to 50 items at $0.50 per item, one payment. | $0.50 | Base | USDC | header | since 11-13 |
| POST | / | The Pro electrical values of a medium or high voltage design: capacitance, charging current, inductive reactance in trefoil and flat, a.c. resistance with the skin and proximity effects (IEC 60287-1-1), dielectric loss and the impulse levels (IEC 60502-2), every value with its source; what no source gives is listed as missing. Always paid: the site shows them to members only. $0.50 per calculation in USDC with x402; no free allowance; a list of up to 50 items at $0.50 per item, one payment. | $0.50 | Base | USDC | header | since 11-13 |
| POST | / | The Pro equivalence report (server/pro/equivalence.ts, as a member downloads it under the equivalents panel): an IEC power cable in mm² against its North American counterpart in the same role (low voltage: XHHW-2 or USE-2 / RHW-2 (UL 44) or THHN / THWN-2 (UL 83) at the smallest AWG / kcmil size whose area is at least the IEC section; medium voltage: UL 1072 MV-105, the conductor compared, the wall not), value by value: conductor size and resistance (IEC 60228:2023, NEC Chapter 9 Table 8), insulation wall, voltage, normal temperature (IEC 60502-1 / -2 Table 3, NEC Table 310.16), the compound limits (IEC 60502-1 Table 15, UL 1581 Tables 50.231 and 50.182) and the flame tests (IEC 60332-1-2 against VW-1, IEC 60332-3-24 against FT4: not equivalent), each with its source and seen level, as lines and as the report file (Markdown or plain text). Never a statement that the two are interchangeable: the buyer's specification decides. For a quick verdict across many countries' standards use find_equivalents (cheaper, on the decodes' allowance); this report is the one IEC to NEC / UL pair, value by value. Always paid: the site gives it to members only. $0.50 per calculation in USDC with x402; no free allowance; a list of up to 50 items at $0.50 per item, one payment. | $0.50 | Base | USDC | header | since 11-13 |
| GET | / | Find the equivalents of a power cable in other countries' standards ("the Dutch equivalent of this Swedish cable"): the decoded cable is rebuilt under each target rule set (IEC 60502, HD 603, HD 620 sections J/M/D/C/K, BS 5467/6724/7846/6622, EN 50618, HD 627) with the same conductor, section, cores, voltage, screen, armour and sheath, then compared layer by layer with the source of every value. Verdict per standard: equivalent, close (with the differences) or none (with the reason), and the name in that country's letters where sourced. Deterministic, no LLM. Never a statement of interchangeability: the buyer's specification decides. | $0.10 | Base | USDC | header | since 11-13 |
| POST | / | The Enterprise IEC 60287 calculation: the continuous current rating of one circuit of three single cores of a medium or high voltage design, in trefoil or flat, buried direct, in buried ducts (one cable in each) or in free air, bonded at both ends, single-point or cross-bonded, at the site conditions sent (IEC 60287-1-1:2006+A1:2014 and IEC 60287-2-1:2015, read at standard level page by page): every step (the a.c. resistance with ys and yp, the dielectric loss, the screen loss factors, T1, T3, T4, the losses) with its value, unit, clause and page, the notes on what was taken and, where no rating is given, the reasons. Where the site is unknown, the values of IEC 60287-3-1:2017, 4.2, Tables 1 and 2, p. 7 stand (1 m, ground 20 °C, air 25 °C, soil 1.0 K·m/W). Also a three-core MV or HV cable (T1 by 4.1.2.2.4 with the 5.3 factor), armour (lambda2, 2.4; T2), corrugated sheaths, a Milliken copper conductor by its wires, partial drying out of the soil (1.4.2.1), and with input.cycle the IEC 60853 cyclic rating (cyclic: the peak of a 24 h load curve, Part 1 up to 36 kV, Part 2 above; with drying, Part 3: M1), with input.emergency the IEC 60853-2 clause 8 emergency rating (emergency; a single core without armour also below 1/3 T.Q, a three-core cable below 1/2 T.Q, from 10 min, by 4.3). Also ducts in a concrete bank (IEC 60287-2-1 4.2.7.4), a sand-filled or an unfilled trough (4.2.6), identical circuits side by side (4.2.3.3.1) and a heat source crossing the route (IEC 60287-3-3:2007, the derating factor DF). Also three-core cables with sector-shaped copper conductors (IEC 60287-1-1 2.1.4.2, 2.3.8, 2.4.2.3.2; IEC 60287-2-1 4.1.2.2.6, 4.1.2.3.3 with the 5.5 screening factor; steps secG, secK). Not covered: aluminium sector conductors (IEC 60287-1-1 Table 2 has no row), interlocked armour (no strip thickness held), groups of circuits in free air (IEC 60287-2-2), and the cyclic and emergency ratings with a bank, a trough, a group or a crossing. Always paid, at its own Enterprise-grade price: on the site an Enterprise member's calculation. $5.00 per calculation in USDC with x402; no free allowance; a list of up to 50 items at $5.00 per item, one payment. | $5.00 | Base | USDC | header | since 11-13 |
| POST | / | Prepare the end of an LV, MV or HV power cable for its termination or joint. The answer (thecablecode.prep/v1): steps[], each cut with the design's own depth and the diameter left; the makers' cut-back lengths for this voltage and size (makers' published instructions, unnamed, seen typical; none for low voltage); lug (the lug family by conductor class and metal, its standards, the strip length rule); for MV, accessories (free, also in the verdict: the termination and joint kinds two or more makers' kits fit, with the range their kit sizes cover at the Um, as GET /api/v1/accessories gives it), kits (each kind's range for this cable, length, sheds and creepage where two or more makers' public catalogues agree, no maker named; a kind one maker alone makes says so: why oneMaker) and creepage (the outdoor termination's minimum creepage per pollution class a to e, IEC TS 60815-3, with corrections and sources); fittings (gland diameters and IEC 62444 anchorage, EN 50181 connector interfaces, the IEC 61914 cleat force and the standing sheath voltage of single cores; for a design with the hazardous-area requirement, a sentence naming an Ex zone, ATEX, IEC 60079 or a hazardous area, fittings.gland.ex: the IEC 60079-14:2024 cable entry, the entry types Table 15 permits, the Ex d choice, the armour or braid rule, the seal ranges on the design's own diameters and the clamp distance); and the step sheet PDF with pdf: true. Send the cable as design_cable takes it (sentence, spec or design) and the site in input. Use design_cable for the cable itself and commissioning_sheet for the tests after installation; this tool is only the end preparation. Without full and without payment the answer is the verdict a visitor sees on the site, counted against the designs' daily free allowance; full: true (or any paid call) answers in full. A separate paid call at its own price; a bad request costs nothing. $0.50 per calculation in USDC with x402; the free verdict counts against the designs' 2 free calls per caller per UTC day; a list of up to 50 items at $0.50 per item, one payment. | $0.50 | Base | USDC | header | since 11-13 |
| POST | / | The designer's pull calculation on a route of straights and bends (a conduit or rollers): the tension out of each segment pulled from either end, the sidewall bearing pressure at each bend, the jam ratio, clearance and fill, against the allowable tension and pressure with their sources (makers' and utilities' pulling rules), and the governing limit. Without full and without payment the answer is the verdict a visitor sees on the site, counted against the designs' daily free allowance; full: true (or any paid call) answers in full. pdf: true adds the calculation sheet. $0.50 per calculation in USDC with x402; the free verdict counts against the designs' 2 free calls per caller per UTC day; a list of up to 50 items at $0.50 per item, one payment. | $0.50 | Base | USDC | header | since 11-13 |
| POST | / | Write the cable specification for a tender: one cable, or a project of up to 30 cables, each as design_cable takes it (a sentence, a bare designation, a spec or a design), plus the project's requirements (rodent, termite, UV, cold, oil, watertightness, fire, armour and more, each with the construction chosen to meet it). Returns, per cable, the specification in tender order (scope, standards, construction with each layer's thickness and source, additional requirements with their test methods, tests, marking, drums, documents, deviations) as Markdown and plain text, and the required / offered schedule (GTP) as CSV and as JSON rows: REQUIRED filled from the design with each value's source, OFFERED left for the bidder. The same text a Pro member downloads from the designer, written by the same code. Deterministic, no LLM; a draft to check against the editions in force. $2.00 for the first cable, $0.50 for each further cable in the same call, up to 30; no free allowance. | $2.00 | Base | USDC | header | since 11-13 |
| POST | / | Read a project or tender document (a purchase or project specification, a tender volume, a GTP / data schedule; a PDF of up to 80 pages and 20 MB, or its text) and answer what it asks for: every cable it lists built as a design by the designer's rules and checked against its rule set, the required / offered schedule beside the document's own required values with their pages, each requirement mapped to a requirement card or listed as having none, the conflicts (one parameter with two values, a printed construction against a requirement, a value against the standard the document names, a voltage outside IEC 60038, a schedule row with no construction) and the missing sections. An LLM (Claude) copies the document's values and pages; it decides nothing: every design, check, conflict and gap is the deterministic rules with their sources. A reading takes up to a few minutes, so the call starts a job and answers a poll link; the reading is held in memory for one hour, then gone, and the file is never stored. The poll answer (thecablecode.tender/v1) has job, status (running, done or failed), pages and, when done, the reading; a failed paid reading starts again with the same file at no charge, and the same file within the hour is the same job, not charged twice. For one cable use design_cable or check_cable; for one maker's datasheet, extract_datasheet. $4.00 up to 20 pages, $2.00 for each further 10 pages begun, up to 80 pages; no free allowance. | $4.00 | Base | USDC | header | since 11-13 |
| POST | / | The NEC cable tray fill (392.22, Tables 392.22(A)(1), (A)(5), (A)(6), (B)(1)) and the ampacity of each cable in the tray (392.80), for 2000 V and below and Type MV: the fill against the allowable area or width, pass or fail, and each cable's derated ampacity with its table. For a conduit or other raceway use conduit_fill (free); for one cable's IEC rating use design_cable. Without full and without payment the answer is the verdict a visitor sees on the site, counted against the designs' daily free allowance; full: true (or any paid call) answers in full. pdf: true adds the calculation sheet. $0.50 per calculation in USDC with x402; the free verdict counts against the designs' 2 free calls per caller per UTC day; a list of up to 50 items at $0.50 per item, one payment. | $0.50 | Base | USDC | header | since 11-13 |
Payment evidence
402 payload captured at . Check evidence JSON · Measurement methodology.
First of 17 payloads captured by the monitor.
439 lines, scroll inside
{
"error": "Payment required",
"accepts": [
{
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"extra": {
"name": "USD Coin",
"version": "2"
},
"payTo": "0x019760C685b8917908EEF484A70fEe2Bc7aBCA33",
"amount": "500000",
"scheme": "exact",
"network": "eip155:8453",
"maxTimeoutSeconds": 60
}
],
"resource": {
"url": "https://thecablecode.com/api/v1/design",
"tags": [
"cable",
"electrical",
"engineering",
"standards",
"design"
],
"mimeType": "application/json",
"description": "Design and size a cable (power, control, LAN, coaxial, fibre) from a sentence (any site language, e.g. \"3-core collective screen 12/20 kV 3x95/25 Al, longitudinally watertight\") or a spec: every layer's thickness with its source (IEC 60502, HD 603 / 620, BS, EN 50525, NEC / UL and more; IEC 60228), the overall diameter, the designation and the decoder's reading of it, and the estimated weight, bending radius, pulling force, IEC 60757 colours and MV field stress with their sources; current, voltage drop and short-circuit ratings; a bare designation works as the sentence; optional XML, DXF, SVG, CSV, GLB, STEP (3D CAD) and a PDF datasheet. Deterministic, no LLM; a nominal calculation, not a datasheet.",
"serviceName": "The Cable Code"
},
"extensions": {
"bazaar": {
"info": {
"input": {
"body": {
"spec": {
"cores": 3,
"screen": "collective",
"section": 95,
"voltage": "12/20"
}
},
"type": "http",
"method": "POST",
"bodyType": "json"
},
"output": {
"type": "json",
"example": {
"schema": "thecablecode.design/v1",
"dimensions": {
"overall_diameter_mm": 39.8
},
"designation": {
"full": "NA2XS(F)2Y 1x240 RM/25 12/20 kV"
}
}
}
},
"schema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"input"
],
"properties": {
"input": {
"type": "object",
"required": [
"type",
"method",
"bodyType",
"body"
],
"properties": {
"body": {
"type": "object",
"properties": {
"cpc": {
"type": "object"
},
"nec": {
"type": "object"
},
"lang": {
"type": "string"
},
"load": {
"type": "object"
},
"spec": {
"type": "object",
"anyOf": [
{
"required": [
"voltage",
"cores",
"section"
]
},
{
"required": [
"lan"
]
}
],
"properties": {
"lan": {
"type": "object",
"description": "A LAN cable: {category, shield, awg, workArea | cord | riser}, or an EN 50441 home cable: {home: 1 to 4, shield, awg}"
},
"cores": {
"type": "integer",
"minimum": 1
},
"metal": {
"enum": [
"Cu",
"Al"
]
},
"armour": {
"enum": [
"none",
"wire",
"tape"
]
},
"screen": {
"enum": [
"none",
"collective",
"perCore"
]
},
"sheath": {
"enum": [
"PVC",
"PE",
"LSZH"
]
},
"section": {
"type": "number",
"description": "mm²; with a standard, the nearest size it lists"
},
"voltage": {
"type": "string",
"description": "U0/U in kV (12/20), or a voltage the named standard lists"
},
"standard": {
"type": "string",
"description": "A family id from GET /api/v1/design/presets (spec_standards); default IEC 60502."
},
"insulation": {
"enum": [
"XLPE",
"HEPR",
"EPR",
"PVC"
]
},
"screenType": {
"enum": [
"wires",
"tape"
]
},
"watertight": {
"enum": [
"none",
"longitudinal",
"radial"
]
},
"screenSection": {
"type": "number"
}
}
},
"fault": {
"type": "object"
},
"design": {
"type": "object",
"description": "A thecablecode design v1 (the design field of an earlier answer), to size a changed design."
},
"formats": {
"type": "array",
"items": {
"enum": [
"xml",
"dxf",
"svg",
"csv",
"glb",
"step",
"pdf"
]
}
},
"sentence": {
"type": "string",
"maxLength": 300,
"description": "The cable in words, any of the 15 site languages: voltage, cores, section, conductor metal, screen, sheath, watertightness, armour. What is not said takes a default, and the answer lists which."
},
"installation": {
"type": "object"
}
},
"description": "Exactly one of sentence, spec or design."
},
"type": {
"type": "string",
"const": "http"
},
"method": {
"enum": [
"POST"
],
"type": "string"
},
"bodyType": {
"enum": [
"json",
"form-data",
"text"
],
"type": "string"
}
},
"additionalProperties": false
},
"output": {
"type": "object",
"required": [
"type"
],
"properties": {
"type": {
"type": "string"
},
"example": {
"type": "object",
"properties": {
"cpc": {
"type": [
"object",
"null"
]
},
"nec": {
"type": "object"
},
"files": {
"type": "object"
},
"heard": {
"type": "array",
"items": {
"type": "object"
}
},
"input": {
"type": "object"
},
"links": {
"type": "object",
"properties": {
"docs": {
"type": "string"
},
"decode": {
"type": "string"
},
"designer": {
"type": "string"
}
}
},
"design": {
"type": "object"
},
"laying": {
"type": "object"
},
"schema": {
"const": "thecablecode.design/v1"
},
"signal": {
"type": "object"
},
"sizing": {
"type": [
"object",
"null"
]
},
"ratings": {
"type": "object",
"properties": {
"current": {
"type": [
"object",
"null"
]
},
"short_circuit": {
"type": [
"object",
"null"
]
}
}
},
"reasons": {
"type": "object"
},
"designer": {
"type": "object"
},
"warnings": {
"type": "array",
"items": {
"type": "object"
}
},
"read_back": {
"type": [
"null",
"object"
]
},
"data_cable": {
"type": "object"
},
"dimensions": {
"type": "object",
"properties": {
"lay": {
"type": "array"
},
"flat": {
"type": "object"
},
"ground": {
"type": "object"
},
"layers": {
"type": "array"
},
"conductor": {
"type": "object"
},
"conductor_source": {
"type": "object"
},
"core_diameter_mm": {
"type": "number"
},
"bundle_diameter_mm": {
"type": "number"
},
"overall_diameter_mm": {
"type": "number"
},
"conductor_diameter_mm": {
"type": "number"
}
}
},
"properties": {
"type": "object",
"properties": {
"weight": {
"type": "object"
},
"colours": {
"type": "object"
},
"mechanical": {
"type": [
"object",
"null"
]
},
"field_stress": {
"type": [
"object",
"null"
]
},
"insulation_level": {
"type": [
"object",
"null"
]
}
}
},
"designation": {
"type": "object",
"properties": {
"full": {
"type": "string"
},
"gaps": {
"type": "array"
},
"parts": {
"type": "array"
},
"letters": {
"type": "string"
}
}
},
"voltage_drop": {
"type": [
"object",
"null"
]
},
"after_installation": {
"type": [
"object",
"null"
]
}
},
"description": "Top level only; full JSON Schema: https://thecablecode.com/api/v1/schema/design-v1.json"
}
}
}
}
}
}
},
"x402Version": 2
} Other captured 402 responses (16)
Captured payload 2 of 17
{
"error": "Payment required",
"accepts": [
{
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"extra": {
"name": "USD Coin",
"version": "2"
},
"payTo": "0x019760C685b8917908EEF484A70fEe2Bc7aBCA33",
"amount": "500000",
"scheme": "exact",
"network": "eip155:8453",
"maxTimeoutSeconds": 60
}
],
"resource": {
"url": "https://thecablecode.com/api/v1/check",
"tags": [
"cable",
"electrical",
"engineering",
"standards",
"compliance"
],
"mimeType": "application/json",
"description": "Check a power cable against a standard's nominal rules: a designation with size and voltage, a designer design, or the construction a maker's datasheet or tender offer states (layers with nominal and minimum thicknesses, screen and armour data). Rule sets: the 85 that the standard field lists (IEC 60502, IEC 60228, IEC 60840 / 62067, IEC 62930, HD 603, HD 620, HD 627, BS, IS, DIN VDE 0250 / 0271 / 0815, EN 50525, EN 50618, GB/T, AS/NZS, SANS, UL 13 / 444 / 1424 / 1277, UL 62 SPT, AEIC CS9-06), or \"auto\" for the standards the cable claims. Every rule with required, found, pass / fail / not checkable and its source (standard, edition, clause or table, page, how firmly seen). Deterministic, no LLM. A check against nominal rules, not a certificate or a type test.",
"serviceName": "The Cable Code"
},
"extensions": {
"bazaar": {
"info": {
"input": {
"body": {
"standard": "hd-620-10-m",
"designation": "AXCLJ-TT 3x95/25 12/20 kV"
},
"type": "http",
"method": "POST",
"bodyType": "json"
},
"output": {
"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
}
}
}
},
"schema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"input"
],
"properties": {
"input": {
"type": "object",
"required": [
"type",
"method",
"bodyType",
"body"
],
"properties": {
"body": {
"type": "object",
"properties": {
"design": {
"type": "object",
"description": "A thecablecode design v1 (the design field of a /api/v1/design answer)."
},
"standard": {
"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-2023, 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, hd-620-10-e1, hd-620-10-e2, hd-620-10-i1, hd-620-10-i2, hd-620-10-i3, hd-620-10-g, hd-620-10-l, hd-620-10-n, hd-620-10-o, hd-620-10-p, hd-620-9-e, hd-620-9-i, hd-620-11-n, hd-620-11-o, hd-620-12-i, hd-620-12-j, hd-620-12-k, bs-5467, bs-6724, bs-7846, bs-6622, is-694, is-1554-1, is-1554-2, is-7098-1, is-7098-2, is-8130-2013, iec-62067-2011, iec-60840-2011, din-vde-0250-204, din-vde-0250-214, din-vde-0250-215, din-vde-0250-405, en-50525-2-31, en-50525-3-31, en-50525-2-11, en-50525-3-11, en-50525-2-21, en-50525-3-21, en-50525-2-51, en-50525-2-12, en-50525-2-41, en-50525-2-42, en-50525-2-72, en-50525-2-81, en-50525-2-82, en-50525-2-83, en-50525-3-41, en-50618-2014, iec-62930-cdv, din-vde-0271, gb-9330-2020, hd-627-4-n, hd-627-7-n, bs-7211-2012, as-nzs-5000-2-2006, ul-62-spt, din-vde-0815, din-vde-0250-502, din-vde-0250-602, din-vde-0250-806, din-vde-0250-812, din-vde-0250-814, sans-1507-4-2022, as-nzs-5000-3-2003, ul-1277, ul-13-2025, ul-1424-2025, ul-444-2026, aeic-cs9-06, jb-t-8735-2-2016, din-vde-0250-813, din-vde-0250-809, bs-6004-2012, gb-t-18890-2. 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\", \"H07RN-F 3G2.5\": a DIN VDE, Nordic or Dutch MV or Indian name, or any name the code pages build (harmonised, British, North American, Chinese and the other systems the equivalents finder reads)."
},
"construction": {
"type": "object",
"description": "The construction as a datasheet states it: {voltage: \"12/20\", cores, conductor: {metal, section, shape, class, resistance, diameter}, core: [{kind, material, nominal, minimum}], common: [...], overallDiameter, standards}. Full shape: /api/v1/openapi.json."
}
},
"description": "Exactly one of designation, design or construction, and standard."
},
"type": {
"type": "string",
"const": "http"
},
"method": {
"enum": [
"POST"
],
"type": "string"
},
"bodyType": {
"enum": [
"json",
"form-data",
"text"
],
"type": "string"
}
},
"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": "array",
"items": {
"type": "object"
}
},
"schema": {
"const": "thecablecode.check/v1"
},
"checker": {
"type": "object",
"properties": {
"llm": {
"const": false
},
"basis": {
"type": "string"
},
"deterministic": {
"const": true
}
}
},
"summary": {
"type": "object",
"properties": {
"fail": {
"type": "integer"
},
"pass": {
"type": "integer"
},
"total": {
"type": "integer"
},
"verdict": {
"enum": [
"complies",
"deviates",
"review"
]
},
"not_checkable": {
"type": "integer"
}
}
},
"statement": {
"type": "string"
}
},
"description": "Top level only; full JSON Schema: https://thecablecode.com/api/v1/schema/check-v1.json"
}
}
}
}
}
}
},
"x402Version": 2
}Captured payload 3 of 17
{
"error": "Payment required",
"accepts": [
{
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"extra": {
"name": "USD Coin",
"version": "2"
},
"payTo": "0x019760C685b8917908EEF484A70fEe2Bc7aBCA33",
"amount": "30000",
"scheme": "exact",
"network": "eip155:8453",
"maxTimeoutSeconds": 120
}
],
"resource": {
"url": "https://thecablecode.com/api/v1/decode/batch",
"tags": [
"cable",
"electrical",
"engineering",
"standards",
"batch"
],
"mimeType": "application/json",
"description": "Decode up to 500 cable designations in one call (a bill of materials), $0.03 per code. Decode a cable type designation (DIN VDE, HAR, BS/IEC, NEC, TS, UTE, CEI-UNEL and 64 more of its 71 coding systems, plus LAN and fibre) into its layers: conductor, insulation, screen, armour, sheath, with the source behind each symbol. Deterministic, no LLM.",
"serviceName": "The Cable Code"
},
"x402Version": 2
}Captured payload 4 of 17
{
"error": "Payment required",
"accepts": [
{
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"extra": {
"name": "USD Coin",
"version": "2"
},
"payTo": "0x019760C685b8917908EEF484A70fEe2Bc7aBCA33",
"amount": "4000000",
"scheme": "exact",
"network": "eip155:8453",
"maxTimeoutSeconds": 120
}
],
"resource": {
"url": "https://thecablecode.com/api/v1/tender",
"tags": [
"cable",
"electrical",
"engineering",
"standards",
"specification",
"tender"
],
"mimeType": "application/json",
"description": "Read a project or tender document (a purchase or project specification, a tender volume, a GTP / data schedule; a PDF of up to 80 pages and 20 MB, or its text) and answer what it asks for: every cable it lists built as a design by the designer's rules and checked against its rule set, the required / offered schedule beside the document's own required values with their pages, each requirement mapped to a requirement card or listed as having none, the conflicts (one parameter with two values, a printed construction against a requirement, a value against the standard the document names, a voltage outside IEC 60038, a schedule row with no construction) and the missing sections. An LLM (Claude) copies the document's values and pages; it decides nothing: every design, check, conflict and gap is the deterministic rules with their sources. A reading takes up to a few minutes, so the call starts a job and answers a poll link; the reading is held in memory for one hour, then gone, and the file is never stored. The poll answer (thecablecode.tender/v1) has job, status (running, done or failed), pages and, when done, the reading; a failed paid reading starts again with the same file at no charge, and the same file within the hour is the same job, not charged twice. For one cable use design_cable or check_cable; for one maker's datasheet, extract_datasheet. $4.00 up to 20 pages, $2.00 for each further 10 pages begun, up to 80 pages; no free allowance.",
"serviceName": "The Cable Code"
},
"extensions": {
"bazaar": {
"info": {
"input": {
"body": {
"lang": "en",
"text": "8. Schedule of cables: MV-01 1x240/25 Cu XLPE 18/30 kV ..."
},
"type": "http",
"method": "POST",
"bodyType": "json"
},
"output": {
"type": "json",
"example": {
"job": "0123456789abcdef0123456789abcdef",
"poll": "https://thecablecode.com/api/v1/tender/0123456789abcdef0123456789abcdef",
"pages": 40,
"schema": "thecablecode.tender/v1",
"status": "running",
"readings": 4
}
}
},
"schema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"input"
],
"properties": {
"input": {
"type": "object",
"required": [
"type",
"method",
"bodyType",
"body"
],
"properties": {
"body": {
"type": "object",
"properties": {
"pdf": {
"type": "string",
"description": "The PDF as base64 (at most 20 MB and 80 pages, or the pages in ranges). POST only."
},
"hint": {
"type": "string",
"maxLength": 120,
"description": "A cable tag or a voltage to look for first."
},
"lang": {
"type": "string",
"description": "The language of the schedule's parameter names: any of the site's 15 (en, tr, de, nl, sv, fr, es, da, no, fi, it, ro, pl, cs, ru). Default en."
},
"text": {
"type": "string",
"maxLength": 136000,
"description": "The document's text (a Word file turned into text); it counts one page per 1,700 characters begun."
},
"ranges": {
"type": "string",
"description": "The PDF pages to read, e.g. \"1-12, 40-55\"; pages in the answer are the original file's."
}
},
"description": "Exactly one of pdf or text."
},
"type": {
"type": "string",
"const": "http"
},
"method": {
"enum": [
"POST"
],
"type": "string"
},
"bodyType": {
"enum": [
"json",
"form-data",
"text"
],
"type": "string"
}
},
"additionalProperties": false
},
"output": {
"type": "object",
"required": [
"type"
],
"properties": {
"type": {
"type": "string"
},
"example": {
"type": "object"
}
}
}
}
}
}
},
"x402Version": 2
}Captured payload 5 of 17
{
"error": "Payment required",
"accepts": [
{
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"extra": {
"name": "USD Coin",
"version": "2"
},
"payTo": "0x019760C685b8917908EEF484A70fEe2Bc7aBCA33",
"amount": "100000",
"scheme": "exact",
"network": "eip155:8453",
"maxTimeoutSeconds": 60
}
],
"resource": {
"url": "https://thecablecode.com/api/v1/equivalents",
"tags": [
"cable",
"electrical",
"engineering",
"standards",
"equivalents"
],
"mimeType": "application/json",
"description": "Find the equivalents of a power cable in other countries' standards (\"the Dutch equivalent of this Swedish cable\"): the decoded cable is rebuilt under each target rule set (IEC 60502, HD 603, HD 620 sections J/M/D/C/K, BS 5467/6724/7846/6622, EN 50618, HD 627) with the same conductor, section, cores, voltage, screen, armour and sheath, then compared layer by layer with the source of every value. Verdict per standard: equivalent, close (with the differences) or none (with the reason), and the name in that country's letters where sourced. Deterministic, no LLM. Never a statement of interchangeability: the buyer's specification decides.",
"serviceName": "The Cable Code"
},
"extensions": {
"bazaar": {
"info": {
"input": {
"type": "http",
"method": "GET",
"queryParams": {
"code": "AXCLJ-TT 3x95/25 12/20 kV",
"country": "NL"
}
},
"output": {
"type": "json",
"example": {
"query": "AXCLJ-TT 3x95/25 12/20 kV",
"schema": "thecablecode.equivalents/v1",
"equivalents": [
{
"name": "YMeKrvasdlwd 12/20 kV 3x95 Al rs +as35",
"country": "NL",
"verdict": "close",
"standard": "HD 620 S3 10-J"
}
]
}
}
},
"schema": {
"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",
"properties": {
"d": {
"type": "string",
"description": "Instead of code: a design, encoded as in the designer link (links.designer after #d=), compared with its own layers."
},
"code": {
"type": "string",
"maxLength": 120,
"description": "A power cable designation with its size and voltage, e.g. \"AXCLJ-TT 3x95/25 12/20 kV\", \"NA2XS(F)2Y 1x240/25 12/20 kV\", \"YMeKrvaslqwd 12/20 kV 3x95 Al rm +as70\", \"NYY-J 4x16\". Or, instead, d: a design as the designer link carries it (design_cable links.designer, after #d=)."
},
"lang": {
"type": "string",
"description": "Language of the notes: any of the site's 15 (en, tr, de, nl, sv, fr, es, da, no, fi, it, ro, pl, cs, ru). Default en."
},
"country": {
"type": "string",
"description": "Comma separated target countries: NL, SE, DK, NO, DE, GB, INT, EU, ES, IT, FR, PT, IN, CN, JP, AU, ZA, TH, US, CA. Default: all."
},
"standard": {
"type": "string",
"description": "Comma separated target standards: HD620-10J, HD620-10M, HD620-10D, HD620-10K, HD620-10C, HD603-3G, HD603-5G, BS5467, BS6724, BS7846, BS6622, IEC, HD620-10E1, HD620-10E2, HD620-10I1, HD620-10I2, HD620-10I3, HD620-10G, HD620-10L, HD620-10N, HD620-10O, HD620-10P, HD620-9E, HD620-9I, HD620-11N, HD620-11O, HD620-12I, HD620-12J, HD620-12K, IS1554-1, IS1554-2, IS7098-1, IS7098-2, SANS1507-4, EN50618, IEC62930, HD627-4N, HD627-7N, IEC60840, IEC62067, EN50525-2-31, EN50525-3-31, EN50525-2-11, EN50525-2-21, EN50525-2-51, EN50525-3-11, EN50525-3-21, EN50525-2-12, EN50525-2-41, EN50525-2-42, EN50525-2-72, EN50525-2-81, EN50525-2-82, EN50525-2-83, EN50525-3-41, EN50214, VDE0250-204, VDE0250-214, VDE0250-215, VDE0250-405, BS6004, BS7211, ASNZS5000-2, SANS1507-2, TIS11-101, JISC3342, GB5023-3, CEI-UNEL35716, BS6004-1C, JISC3307, JISC3317, IS694, UL62-SPT, ASNZS5000-1-VCMD, IEC60227-4, IEC60227-5, IEC60227-6, IEC60245-4, JBT8735-2, GB9330, UL-NMB, CSA-NMD90, UL-MC, CSA-TECK90, UL-AC, CSA-AC90. Default: all."
}
}
}
},
"additionalProperties": false
},
"output": {
"type": "object",
"required": [
"type"
],
"properties": {
"type": {
"type": "string"
},
"example": {
"type": "object"
}
}
}
}
}
}
},
"x402Version": 2
}Captured payload 6 of 17
{
"error": "Payment required",
"accepts": [
{
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"extra": {
"name": "USD Coin",
"version": "2"
},
"payTo": "0x019760C685b8917908EEF484A70fEe2Bc7aBCA33",
"amount": "2000000",
"scheme": "exact",
"network": "eip155:8453",
"maxTimeoutSeconds": 120
}
],
"resource": {
"url": "https://thecablecode.com/api/v1/spec",
"tags": [
"cable",
"electrical",
"engineering",
"standards",
"specification",
"tender"
],
"mimeType": "application/json",
"description": "Write the cable specification for a tender: one cable, or a project of up to 30 cables, each as design_cable takes it (a sentence, a bare designation, a spec or a design), plus the project's requirements (rodent, termite, UV, cold, oil, watertightness, fire, armour and more, each with the construction chosen to meet it). Returns, per cable, the specification in tender order (scope, standards, construction with each layer's thickness and source, additional requirements with their test methods, tests, marking, drums, documents, deviations) as Markdown and plain text, and the required / offered schedule (GTP) as CSV and as JSON rows: REQUIRED filled from the design with each value's source, OFFERED left for the bidder. The same text a Pro member downloads from the designer, written by the same code. Deterministic, no LLM; a draft to check against the editions in force. $2.00 for the first cable, $0.50 for each further cable in the same call, up to 30; no free allowance.",
"serviceName": "The Cable Code"
},
"extensions": {
"bazaar": {
"info": {
"input": {
"body": {
"lang": "en",
"sentence": "NA2XS(F)2Y 1x240/25 12/20 kV",
"requirements": [
"rodent",
{
"id": "uv-sunlight",
"option": "carbon-black"
}
]
},
"type": "http",
"method": "POST",
"bodyType": "json"
},
"output": {
"type": "json",
"example": {
"count": 1,
"cables": [
{
"schedule": {
"columns": [
"No.",
"Parameter",
"REQUIRED",
"OFFERED",
"Remarks"
]
},
"designation": "NA2XS(F)2Y 1x240 RM/25 12/20 kV",
"specification": {
"markdown": "# Cable specification: NA2XS(F)2Y 1x240 RM/25 12/20 kV ..."
}
}
],
"schema": "thecablecode.spec/v1"
}
}
},
"schema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"input"
],
"properties": {
"input": {
"type": "object",
"required": [
"type",
"method",
"bodyType",
"body"
],
"properties": {
"body": {
"type": "object",
"properties": {
"lang": {
"enum": [
"en",
"tr",
"de",
"nl",
"sv",
"fr",
"es",
"da",
"no",
"fi",
"it",
"ro",
"pl",
"cs",
"ru"
],
"type": "string"
},
"spec": {
"type": "object",
"description": "As POST /api/v1/design takes it: {voltage: \"12/20\", cores: 3, section: 95, ...}"
},
"cables": {
"type": "array",
"items": {
"type": "object",
"description": "{sentence | spec | design, installation, fault_s, drum}"
},
"maxItems": 30
},
"design": {
"type": "object"
},
"sentence": {
"type": "string",
"maxLength": 300
},
"requirements": {
"type": "array",
"description": "Ids, or {id, option}: GET /api/v1/spec/requirements."
}
},
"description": "One cable (sentence, spec or design, with installation, fault_s and drum) or a project: cables, 1 to 30. Plus requirements and lang."
},
"type": {
"type": "string",
"const": "http"
},
"method": {
"enum": [
"POST"
],
"type": "string"
},
"bodyType": {
"enum": [
"json",
"form-data",
"text"
],
"type": "string"
}
},
"additionalProperties": false
},
"output": {
"type": "object",
"required": [
"type"
],
"properties": {
"type": {
"type": "string"
},
"example": {
"type": "object"
}
}
}
}
}
}
},
"x402Version": 2
}Captured payload 7 of 17
{
"error": "Payment required",
"accepts": [
{
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"extra": {
"name": "USD Coin",
"version": "2"
},
"payTo": "0x019760C685b8917908EEF484A70fEe2Bc7aBCA33",
"amount": "500000",
"scheme": "exact",
"network": "eip155:8453",
"maxTimeoutSeconds": 120
}
],
"resource": {
"url": "https://thecablecode.com/api/v1/drum/loading",
"tags": [
"cable",
"electrical",
"engineering",
"standards",
"installation"
],
"mimeType": "application/json",
"description": "The drum page's loading planner: how many vehicles of a type (box trailer, curtain-sider, open top, flat rack, containers, platform, rigid truck, or a custom box in full mode) a number of drums needs, by space and by payload, the rows and positions, chocks and bedding, the securing (wedges, blocking along the axis, tipping, top-over lashings per drum forwards, sideways and backwards and the LC a diagonal lashing needs, EN 12195-1:2010; wandering lashings, the load's centre of gravity) and every vehicle type compared, each vehicle with its sources. Use drum_fit (free) first to choose the drum for a length; this tool plans how filled drums travel. Without full and without payment the answer is the verdict a visitor sees on the site, counted against the designs' daily free allowance; full: true (or any paid call) answers in full. $0.50 per calculation in USDC with x402; the free verdict counts against the designs' 2 free calls per caller per UTC day; a list of up to 50 items at $0.50 per item, one payment.",
"serviceName": "The Cable Code"
},
"extensions": {
"bazaar": {
"info": {
"input": {
"body": {
"input": {
"dt": 2050,
"qty": 12,
"gross": 3200,
"width": 1300,
"vehicle": "c20"
}
},
"type": "http",
"method": "POST",
"bodyType": "json"
},
"output": {
"type": "json",
"example": {
"schema": "thecablecode.loading/v1"
}
}
},
"schema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"input"
],
"properties": {
"input": {
"type": "object",
"required": [
"type",
"method",
"bodyType",
"body"
],
"properties": {
"body": {
"type": "object",
"properties": {
"full": {
"type": "boolean"
},
"lang": {
"type": "string"
},
"input": {
"type": "object",
"description": "input: {vehicle: c20 | c40 | c40hc | ot20 | ot40 | fr20 | fr40 | curtain | mega | flat | lowloader | rigid18 | custom, dt (transport diameter, mm), width (mm), gross (kg per drum), qty, mat?: wood | plywood | steel | plastic | cardboard (the friction factor of the securing; wood when absent), lash?: {lc, stf (daN), alpha, dalpha, beta (degrees)} (EN 12195-1 Annex A examples when absent), custom?: {L, W, H, payload} (full mode only)}"
},
"items": {
"type": "array",
"maxItems": 50
}
}
},
"type": {
"type": "string",
"const": "http"
},
"method": {
"enum": [
"POST"
],
"type": "string"
},
"bodyType": {
"enum": [
"json",
"form-data",
"text"
],
"type": "string"
}
},
"additionalProperties": false
},
"output": {
"type": "object",
"required": [
"type"
],
"properties": {
"type": {
"type": "string"
},
"example": {
"type": "object"
}
}
}
}
}
}
},
"x402Version": 2
}Captured payload 8 of 17
{
"error": "Payment required",
"accepts": [
{
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"extra": {
"name": "USD Coin",
"version": "2"
},
"payTo": "0x019760C685b8917908EEF484A70fEe2Bc7aBCA33",
"amount": "500000",
"scheme": "exact",
"network": "eip155:8453",
"maxTimeoutSeconds": 120
}
],
"resource": {
"url": "https://thecablecode.com/api/v1/pull",
"tags": [
"cable",
"electrical",
"engineering",
"standards",
"installation"
],
"mimeType": "application/json",
"description": "The designer's pull calculation on a route of straights and bends (a conduit or rollers): the tension out of each segment pulled from either end, the sidewall bearing pressure at each bend, the jam ratio, clearance and fill, against the allowable tension and pressure with their sources (makers' and utilities' pulling rules), and the governing limit. Without full and without payment the answer is the verdict a visitor sees on the site, counted against the designs' daily free allowance; full: true (or any paid call) answers in full. pdf: true adds the calculation sheet. $0.50 per calculation in USDC with x402; the free verdict counts against the designs' 2 free calls per caller per UTC day; a list of up to 50 items at $0.50 per item, one payment.",
"serviceName": "The Cable Code"
},
"extensions": {
"bazaar": {
"info": {
"input": {
"body": {
"input": {
"n": 3,
"duct": {
"idMm": 150,
"kind": "conduit",
"material": "pvc"
},
"head": "eye",
"route": [
{
"kind": "straight",
"slope": 0,
"length": 120
},
{
"kind": "bend",
"angle": 90,
"plane": "h",
"radius": 1.2
},
{
"kind": "straight",
"slope": 0,
"length": 60
}
],
"arrangement": "auto"
},
"sentence": "NA2XS(F)2Y 1x240/25 12/20 kV"
},
"type": "http",
"method": "POST",
"bodyType": "json"
},
"output": {
"type": "json",
"example": {
"schema": "thecablecode.pull/v1"
}
}
},
"schema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"input"
],
"properties": {
"input": {
"type": "object",
"required": [
"type",
"method",
"bodyType",
"body"
],
"properties": {
"body": {
"type": "object",
"properties": {
"pdf": {
"type": "boolean"
},
"full": {
"type": "boolean"
},
"lang": {
"type": "string"
},
"spec": {
"type": "object"
},
"input": {
"type": "object",
"description": "input: {route: [{kind: \"straight\", length (m), slope (deg)} | {kind: \"bend\", radius (m), angle (deg), plane: \"h\" | \"v\"}] (1 to 40), n (cables, 1 to 12), arrangement: auto | triplex | cradled, duct: {kind: \"conduit\", material: steel | pvc | fibre | asbestos, idMm} | {kind: \"conduit\", material, raceway: \"EMT\", metric: 53} | {kind: \"rollers\"}, head: eye | grip, feedN?, mu?, jacket?, limitN?, swbpNPerM?}"
},
"items": {
"type": "array",
"maxItems": 50
},
"design": {
"type": "object"
},
"sentence": {
"type": "string",
"maxLength": 300
}
}
},
"type": {
"type": "string",
"const": "http"
},
"method": {
"enum": [
"POST"
],
"type": "string"
},
"bodyType": {
"enum": [
"json",
"form-data",
"text"
],
"type": "string"
}
},
"additionalProperties": false
},
"output": {
"type": "object",
"required": [
"type"
],
"properties": {
"type": {
"type": "string"
},
"example": {
"type": "object"
}
}
}
}
}
}
},
"x402Version": 2
}Captured payload 9 of 17
{
"error": "Payment required",
"accepts": [
{
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"extra": {
"name": "USD Coin",
"version": "2"
},
"payTo": "0x019760C685b8917908EEF484A70fEe2Bc7aBCA33",
"amount": "500000",
"scheme": "exact",
"network": "eip155:8453",
"maxTimeoutSeconds": 120
}
],
"resource": {
"url": "https://thecablecode.com/api/v1/tray",
"tags": [
"cable",
"electrical",
"engineering",
"standards",
"installation"
],
"mimeType": "application/json",
"description": "The NEC cable tray fill (392.22, Tables 392.22(A)(1), (A)(5), (A)(6), (B)(1)) and the ampacity of each cable in the tray (392.80), for 2000 V and below and Type MV: the fill against the allowable area or width, pass or fail, and each cable's derated ampacity with its table. For a conduit or other raceway use conduit_fill (free); for one cable's IEC rating use design_cable. Without full and without payment the answer is the verdict a visitor sees on the site, counted against the designs' daily free allowance; full: true (or any paid call) answers in full. pdf: true adds the calculation sheet. $0.50 per calculation in USDC with x402; the free verdict counts against the designs' 2 free calls per caller per UTC day; a list of up to 50 items at $0.50 per item, one payment.",
"serviceName": "The Cable Code"
},
"extensions": {
"bazaar": {
"info": {
"input": {
"body": {
"input": {
"mv": false,
"use": "power",
"tray": "ladder",
"width": 600,
"cables": [
{
"od": 38,
"kind": "multi",
"size": "4/0",
"count": 6,
"metal": "Cu",
"tempC": 90,
"carrying": 3
}
],
"layout": "touching",
"covered": false,
"ambientC": 30
}
},
"type": "http",
"method": "POST",
"bodyType": "json"
},
"output": {
"type": "json",
"example": {
"schema": "thecablecode.tray/v1"
}
}
},
"schema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"input"
],
"properties": {
"input": {
"type": "object",
"required": [
"type",
"method",
"bodyType",
"body"
],
"properties": {
"body": {
"type": "object",
"properties": {
"pdf": {
"type": "boolean"
},
"full": {
"type": "boolean"
},
"lang": {
"type": "string"
},
"input": {
"type": "object",
"description": "input: {tray: ladder | solid | ventChannel | solidChannel, width (mm, a width the table lists), depth?, use: power | control, covered, layout: touching | spaced | triangular, ambientC, mv, kv?, cables: [{kind: multi | single, size (AWG or kcmil), metal, count, od (mm), tempC, carrying}]}"
},
"items": {
"type": "array",
"maxItems": 50
}
}
},
"type": {
"type": "string",
"const": "http"
},
"method": {
"enum": [
"POST"
],
"type": "string"
},
"bodyType": {
"enum": [
"json",
"form-data",
"text"
],
"type": "string"
}
},
"additionalProperties": false
},
"output": {
"type": "object",
"required": [
"type"
],
"properties": {
"type": {
"type": "string"
},
"example": {
"type": "object"
}
}
}
}
}
}
},
"x402Version": 2
}Captured payload 10 of 17
{
"error": "Payment required",
"accepts": [
{
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"extra": {
"name": "USD Coin",
"version": "2"
},
"payTo": "0x019760C685b8917908EEF484A70fEe2Bc7aBCA33",
"amount": "500000",
"scheme": "exact",
"network": "eip155:8453",
"maxTimeoutSeconds": 120
}
],
"resource": {
"url": "https://thecablecode.com/api/v1/economic",
"tags": [
"cable",
"electrical",
"engineering",
"standards",
"installation"
],
"mimeType": "application/json",
"description": "The Pro economic size (the IEC 60287-3-2 method): the energy lost a year in this size and one and two sizes up, its present cost over the years, and the discounted payback of the larger size where its extra cost is given, each step with its formula and source. Always paid: the site shows it to members only. $0.50 per calculation in USDC with x402; no free allowance; a list of up to 50 items at $0.50 per item, one payment.",
"serviceName": "The Cable Code"
},
"extensions": {
"bazaar": {
"info": {
"input": {
"body": {
"input": {
"mu": 0.5,
"amps": 300,
"hours": 8760,
"price": 0.12,
"years": 30,
"lengthM": 2000,
"ambientC": 20,
"interest": 6
},
"sentence": "NA2XS(F)2Y 1x240/25 12/20 kV"
},
"type": "http",
"method": "POST",
"bodyType": "json"
},
"output": {
"type": "json",
"example": {
"schema": "thecablecode.economic/v1"
}
}
},
"schema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"input"
],
"properties": {
"input": {
"type": "object",
"required": [
"type",
"method",
"bodyType",
"body"
],
"properties": {
"body": {
"type": "object",
"properties": {
"lang": {
"type": "string"
},
"spec": {
"type": "object"
},
"input": {
"type": "object",
"description": "input: {amps (first-year maximum load), hours (a year in service), mu (loss-load factor), price (per kWh), years, interest (%), lengthM, ambientC, freq?, extra?: [one size up, two sizes up] (extra cost per metre)}"
},
"items": {
"type": "array",
"maxItems": 50
},
"design": {
"type": "object"
},
"sentence": {
"type": "string",
"maxLength": 300
}
}
},
"type": {
"type": "string",
"const": "http"
},
"method": {
"enum": [
"POST"
],
"type": "string"
},
"bodyType": {
"enum": [
"json",
"form-data",
"text"
],
"type": "string"
}
},
"additionalProperties": false
},
"output": {
"type": "object",
"required": [
"type"
],
"properties": {
"type": {
"type": "string"
},
"example": {
"type": "object"
}
}
}
}
}
}
},
"x402Version": 2
}Captured payload 11 of 17
{
"error": "Payment required",
"accepts": [
{
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"extra": {
"name": "USD Coin",
"version": "2"
},
"payTo": "0x019760C685b8917908EEF484A70fEe2Bc7aBCA33",
"amount": "500000",
"scheme": "exact",
"network": "eip155:8453",
"maxTimeoutSeconds": 120
}
],
"resource": {
"url": "https://thecablecode.com/api/v1/commissioning",
"tags": [
"cable",
"electrical",
"engineering",
"standards",
"installation"
],
"mimeType": "application/json",
"description": "The Pro commissioning sheet for a design: the tests after installation of its voltage (the rows of design_cable after_installation, IEC 60502-2 clause 20, IEC 60840, IEC 62067, HD 620, BS, IEEE 400.2), each with its voltage, duration and source, as a PDF with fields to record the results. A separate paid call: its own price, never inside the design price. $0.50 per calculation in USDC with x402; no free allowance; a list of up to 50 items at $0.50 per item, one payment.",
"serviceName": "The Cable Code"
},
"extensions": {
"bazaar": {
"info": {
"input": {
"body": {
"input": {},
"sentence": "NA2XS(F)2Y 1x240/25 12/20 kV"
},
"type": "http",
"method": "POST",
"bodyType": "json"
},
"output": {
"type": "json",
"example": {
"schema": "thecablecode.commissioning/v1"
}
}
},
"schema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"input"
],
"properties": {
"input": {
"type": "object",
"required": [
"type",
"method",
"bodyType",
"body"
],
"properties": {
"body": {
"type": "object",
"properties": {
"lang": {
"type": "string"
},
"spec": {
"type": "object"
},
"input": {
"type": "object",
"description": "input: {tests?: [row ids of after_installation] (default every row), variant?: HD620-10A | HD620-10C | HD620-10J | HD620-10M | HD620-10R | BS6622 | IS1255 | BS7846 | BS5467 | HD603-3F | HD603-G, length?: route length (m)}"
},
"items": {
"type": "array",
"maxItems": 50
},
"design": {
"type": "object"
},
"sentence": {
"type": "string",
"maxLength": 300
}
}
},
"type": {
"type": "string",
"const": "http"
},
"method": {
"enum": [
"POST"
],
"type": "string"
},
"bodyType": {
"enum": [
"json",
"form-data",
"text"
],
"type": "string"
}
},
"additionalProperties": false
},
"output": {
"type": "object",
"required": [
"type"
],
"properties": {
"type": {
"type": "string"
},
"example": {
"type": "object"
}
}
}
}
}
}
},
"x402Version": 2
}Captured payload 12 of 17
{
"error": "Payment required",
"accepts": [
{
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"extra": {
"name": "USD Coin",
"version": "2"
},
"payTo": "0x019760C685b8917908EEF484A70fEe2Bc7aBCA33",
"amount": "500000",
"scheme": "exact",
"network": "eip155:8453",
"maxTimeoutSeconds": 120
}
],
"resource": {
"url": "https://thecablecode.com/api/v1/climate",
"tags": [
"cable",
"electrical",
"engineering",
"standards",
"installation"
],
"mimeType": "application/json",
"description": "The Pro cold-weather check: the long-term mean daily minimum and mean temperature of a place in a month (NASA POWER monthly data of the place's grid cell, GeoNames places, a stored table: no outside call) against the design's minimum laying temperature with its source, and a verdict: comfortable, marginal, prewarm or unknown. A place by its GeoNames id or by coordinates (its nearest place in the table, with the distance). Always paid: the site shows no free part. $0.50 per calculation in USDC with x402; no free allowance; a list of up to 50 items at $0.50 per item, one payment.",
"serviceName": "The Cable Code"
},
"extensions": {
"bazaar": {
"info": {
"input": {
"body": {
"input": {
"month": 1,
"place": "59.91, 10.75"
},
"sentence": "NA2XS(F)2Y 1x240/25 12/20 kV"
},
"type": "http",
"method": "POST",
"bodyType": "json"
},
"output": {
"type": "json",
"example": {
"schema": "thecablecode.climate/v1"
}
}
},
"schema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"input"
],
"properties": {
"input": {
"type": "object",
"required": [
"type",
"method",
"bodyType",
"body"
],
"properties": {
"body": {
"type": "object",
"properties": {
"lang": {
"type": "string"
},
"spec": {
"type": "object"
},
"input": {
"type": "object",
"description": "input: {place: a GeoNames id (number) or \"lat, lon\", month: 1 to 12}"
},
"items": {
"type": "array",
"maxItems": 50
},
"design": {
"type": "object"
},
"sentence": {
"type": "string",
"maxLength": 300
}
}
},
"type": {
"type": "string",
"const": "http"
},
"method": {
"enum": [
"POST"
],
"type": "string"
},
"bodyType": {
"enum": [
"json",
"form-data",
"text"
],
"type": "string"
}
},
"additionalProperties": false
},
"output": {
"type": "object",
"required": [
"type"
],
"properties": {
"type": {
"type": "string"
},
"example": {
"type": "object"
}
}
}
}
}
}
},
"x402Version": 2
}Captured payload 13 of 17
{
"error": "Payment required",
"accepts": [
{
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"extra": {
"name": "USD Coin",
"version": "2"
},
"payTo": "0x019760C685b8917908EEF484A70fEe2Bc7aBCA33",
"amount": "500000",
"scheme": "exact",
"network": "eip155:8453",
"maxTimeoutSeconds": 120
}
],
"resource": {
"url": "https://thecablecode.com/api/v1/electrical",
"tags": [
"cable",
"electrical",
"engineering",
"standards",
"installation"
],
"mimeType": "application/json",
"description": "The Pro electrical values of a medium or high voltage design: capacitance, charging current, inductive reactance in trefoil and flat, a.c. resistance with the skin and proximity effects (IEC 60287-1-1), dielectric loss and the impulse levels (IEC 60502-2), every value with its source; what no source gives is listed as missing. Always paid: the site shows them to members only. $0.50 per calculation in USDC with x402; no free allowance; a list of up to 50 items at $0.50 per item, one payment.",
"serviceName": "The Cable Code"
},
"extensions": {
"bazaar": {
"info": {
"input": {
"body": {
"input": {
"freq": 50
},
"sentence": "NA2XS(F)2Y 1x240/25 12/20 kV"
},
"type": "http",
"method": "POST",
"bodyType": "json"
},
"output": {
"type": "json",
"example": {
"schema": "thecablecode.electrical/v1"
}
}
},
"schema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"input"
],
"properties": {
"input": {
"type": "object",
"required": [
"type",
"method",
"bodyType",
"body"
],
"properties": {
"body": {
"type": "object",
"properties": {
"lang": {
"type": "string"
},
"spec": {
"type": "object"
},
"input": {
"type": "object",
"description": "input: {freq: 50 | 60, trefoilMm?, flatMm?} (axis spacing, mm; absent: touching)"
},
"items": {
"type": "array",
"maxItems": 50
},
"design": {
"type": "object"
},
"sentence": {
"type": "string",
"maxLength": 300
}
}
},
"type": {
"type": "string",
"const": "http"
},
"method": {
"enum": [
"POST"
],
"type": "string"
},
"bodyType": {
"enum": [
"json",
"form-data",
"text"
],
"type": "string"
}
},
"additionalProperties": false
},
"output": {
"type": "object",
"required": [
"type"
],
"properties": {
"type": {
"type": "string"
},
"example": {
"type": "object"
}
}
}
}
}
}
},
"x402Version": 2
}Captured payload 14 of 17
{
"error": "Payment required",
"accepts": [
{
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"extra": {
"name": "USD Coin",
"version": "2"
},
"payTo": "0x019760C685b8917908EEF484A70fEe2Bc7aBCA33",
"amount": "5000000",
"scheme": "exact",
"network": "eip155:8453",
"maxTimeoutSeconds": 120
}
],
"resource": {
"url": "https://thecablecode.com/api/v1/iec60287",
"tags": [
"cable",
"electrical",
"engineering",
"standards",
"installation"
],
"mimeType": "application/json",
"description": "The Enterprise IEC 60287 calculation: the continuous current rating of one circuit of three single cores of a medium or high voltage design, in trefoil or flat, buried direct, in buried ducts (one cable in each) or in free air, bonded at both ends, single-point or cross-bonded, at the site conditions sent (IEC 60287-1-1:2006+A1:2014 and IEC 60287-2-1:2015, read at standard level page by page): every step (the a.c. resistance with ys and yp, the dielectric loss, the screen loss factors, T1, T3, T4, the losses) with its value, unit, clause and page, the notes on what was taken and, where no rating is given, the reasons. Where the site is unknown, the values of IEC 60287-3-1:2017, 4.2, Tables 1 and 2, p. 7 stand (1 m, ground 20 °C, air 25 °C, soil 1.0 K·m/W). Also a three-core MV or HV cable (T1 by 4.1.2.2.4 with the 5.3 factor), armour (lambda2, 2.4; T2), corrugated sheaths, a Milliken copper conductor by its wires, partial drying out of the soil (1.4.2.1), and with input.cycle the IEC 60853 cyclic rating (cyclic: the peak of a 24 h load curve, Part 1 up to 36 kV, Part 2 above; with drying, Part 3: M1), with input.emergency the IEC 60853-2 clause 8 emergency rating (emergency; a single core without armour also below 1/3 T.Q, a three-core cable below 1/2 T.Q, from 10 min, by 4.3). Also ducts in a concrete bank (IEC 60287-2-1 4.2.7.4), a sand-filled or an unfilled trough (4.2.6), identical circuits side by side (4.2.3.3.1) and a heat source crossing the route (IEC 60287-3-3:2007, the derating factor DF). Also three-core cables with sector-shaped copper conductors (IEC 60287-1-1 2.1.4.2, 2.3.8, 2.4.2.3.2; IEC 60287-2-1 4.1.2.2.6, 4.1.2.3.3 with the 5.5 screening factor; steps secG, secK). Not covered: aluminium sector conductors (IEC 60287-1-1 Table 2 has no row), interlocked armour (no strip thickness held), groups of circuits in free air (IEC 60287-2-2), and the cyclic and emergency ratings with a bank, a trough, a group or a crossing. Always paid, at its own Enterprise-grade price: on the site an Enterprise member's calculation. $5.00 per calculation in USDC with x402; no free allowance; a list of up to 50 items at $5.00 per item, one payment.",
"serviceName": "The Cable Code"
},
"extensions": {
"bazaar": {
"info": {
"input": {
"body": {
"input": {
"laying": "buried",
"bonding": "both",
"formation": "trefoil"
},
"sentence": "NA2XS(F)2Y 1x240/25 12/20 kV"
},
"type": "http",
"method": "POST",
"bodyType": "json"
},
"output": {
"type": "json",
"example": {
"schema": "thecablecode.iec60287/v1"
}
}
},
"schema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"input"
],
"properties": {
"input": {
"type": "object",
"required": [
"type",
"method",
"bodyType",
"body"
],
"properties": {
"body": {
"type": "object",
"properties": {
"lang": {
"type": "string"
},
"spec": {
"type": "object"
},
"input": {
"type": "object",
"description": "input: {laying: buried | duct | air, formation: trefoil | flat, bonding: both | single | cross, freq?: 50 | 60, spacingMm? (axis to axis; absent: touching), depthM? (default 1), soil? (K·m/W, default 1), groundC? (default 20), airC? (default 25), duct?: {material: pe | pvc | earthenware, innerMm, outerMm} (laying duct), solar? (W/m², laying air; absent: shaded), spacing25?: true (bonding both, the spacing along the route not known: the screen loss raised by 25 %, IEC 60287-1-1 2.3.4 b)), transposed?: true (flat, bonding both: 2.3.2), minor?: {p, q} (cross-bonded: the longer minor sections over the shortest, 2.3.6.2), milliken?: insulated | oneWay | twoWay (a Milliken copper conductor's wires, Table 2), armourLayMm? (a single core's steel wires over lead, 2.4.2.1), drying?: {rhoDry, thetaX} (buried, touching: 1.4.2.1; with cycle IEC 60853-3), cycle?: [24 hourly currents] (IEC 60853), diffusivity? (m²/s; absent: IEC 60853-1 Table II), emergency?: {preA, hours, thetaMaxC?} (IEC 60853-2 clause 8; absent limit: the normal maximum), bank?: {xMm, yMm, rho?} (laying duct: the ducts in a concrete bank, its sides, mm, depthM to its centre; rho default 1.0, IEC 60287-2-1 Table 1), trough?: \"sand\" (laying buried: the sand at 2.5 K·m/W, 4.2.6.1) | {perimeterM} (laying air: an unfilled trough flush with the ground, 4.2.6.2), circuits?: {count, spacingMm} (buried or duct: identical circuits side by side, centres apart, 4.2.3.3.1), crossing?: {wattsPerM, depthM, angleDeg?} (buried or duct: a crossing heat source, IEC 60287-3-3; angle default 90)}; a three-core design needs neither formation nor bonding"
},
"items": {
"type": "array",
"maxItems": 50
},
"design": {
"type": "object"
},
"sentence": {
"type": "string",
"maxLength": 300
}
}
},
"type": {
"type": "string",
"const": "http"
},
"method": {
"enum": [
"POST"
],
"type": "string"
},
"bodyType": {
"enum": [
"json",
"form-data",
"text"
],
"type": "string"
}
},
"additionalProperties": false
},
"output": {
"type": "object",
"required": [
"type"
],
"properties": {
"type": {
"type": "string"
},
"example": {
"type": "object"
}
}
}
}
}
}
},
"x402Version": 2
}Captured payload 15 of 17
{
"error": "Payment required",
"accepts": [
{
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"extra": {
"name": "USD Coin",
"version": "2"
},
"payTo": "0x019760C685b8917908EEF484A70fEe2Bc7aBCA33",
"amount": "500000",
"scheme": "exact",
"network": "eip155:8453",
"maxTimeoutSeconds": 120
}
],
"resource": {
"url": "https://thecablecode.com/api/v1/prep",
"tags": [
"cable",
"electrical",
"engineering",
"standards",
"installation"
],
"mimeType": "application/json",
"description": "Prepare the end of an LV, MV or HV power cable for its termination or joint. The answer (thecablecode.prep/v1): steps[], each cut with the design's own depth and the diameter left; the makers' cut-back lengths for this voltage and size (makers' published instructions, unnamed, seen typical; none for low voltage); lug (the lug family by conductor class and metal, its standards, the strip length rule); for MV, accessories (free, also in the verdict: the termination and joint kinds two or more makers' kits fit, with the range their kit sizes cover at the Um, as GET /api/v1/accessories gives it), kits (each kind's range for this cable, length, sheds and creepage where two or more makers' public catalogues agree, no maker named; a kind one maker alone makes says so: why oneMaker) and creepage (the outdoor termination's minimum creepage per pollution class a to e, IEC TS 60815-3, with corrections and sources); fittings (gland diameters and IEC 62444 anchorage, EN 50181 connector interfaces, the IEC 61914 cleat force and the standing sheath voltage of single cores; for a design with the hazardous-area requirement, a sentence naming an Ex zone, ATEX, IEC 60079 or a hazardous area, fittings.gland.ex: the IEC 60079-14:2024 cable entry, the entry types Table 15 permits, the Ex d choice, the armour or braid rule, the seal ranges on the design's own diameters and the clamp distance); and the step sheet PDF with pdf: true. Send the cable as design_cable takes it (sentence, spec or design) and the site in input. Use design_cable for the cable itself and commissioning_sheet for the tests after installation; this tool is only the end preparation. Without full and without payment the answer is the verdict a visitor sees on the site, counted against the designs' daily free allowance; full: true (or any paid call) answers in full. A separate paid call at its own price; a bad request costs nothing. $0.50 per calculation in USDC with x402; the free verdict counts against the designs' 2 free calls per caller per UTC day; a list of up to 50 items at $0.50 per item, one payment.",
"serviceName": "The Cable Code"
},
"extensions": {
"bazaar": {
"info": {
"input": {
"body": {
"sentence": "NA2XS(F)2Y 1x240/25 12/20 kV"
},
"type": "http",
"method": "POST",
"bodyType": "json"
},
"output": {
"type": "json",
"example": {
"schema": "thecablecode.prep/v1"
}
}
},
"schema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"input"
],
"properties": {
"input": {
"type": "object",
"required": [
"type",
"method",
"bodyType",
"body"
],
"properties": {
"body": {
"type": "object",
"properties": {
"pdf": {
"type": "boolean"
},
"full": {
"type": "boolean"
},
"lang": {
"type": "string"
},
"spec": {
"type": "object"
},
"input": {
"type": "object",
"description": "input: {pollution?: a | b | c | d | e (the site pollution severity class of IEC TS 60815-1:2025 for the outdoor termination's minimum creepage; absent: every class, none picked; f, extremely heavy, has no reference value and is refused), edge?: true (the class read at its upper edge on the IEC TS 60815-1 curve), htm_lower?: true (an HTM insulator: one class lower), fittings?: {formation: trefoil | flat, spacingMm, currentA, lengthM (single-point bonded section), limitV, ikKa, rx, ipKa, leadM, cleatM, freq: 50 | 60, connectorA} (every field optional)} (the design decides the rest, and the kit's own instruction wins over the makers' lengths)"
},
"items": {
"type": "array",
"maxItems": 50
},
"design": {
"type": "object"
},
"sentence": {
"type": "string",
"maxLength": 300
}
}
},
"type": {
"type": "string",
"const": "http"
},
"method": {
"enum": [
"POST"
],
"type": "string"
},
"bodyType": {
"enum": [
"json",
"form-data",
"text"
],
"type": "string"
}
},
"additionalProperties": false
},
"output": {
"type": "object",
"required": [
"type"
],
"properties": {
"type": {
"type": "string"
},
"example": {
"type": "object"
}
}
}
}
}
}
},
"x402Version": 2
}Captured payload 16 of 17
{
"error": "Payment required",
"accepts": [
{
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"extra": {
"name": "USD Coin",
"version": "2"
},
"payTo": "0x019760C685b8917908EEF484A70fEe2Bc7aBCA33",
"amount": "5000000",
"scheme": "exact",
"network": "eip155:8453",
"maxTimeoutSeconds": 120
}
],
"resource": {
"url": "https://thecablecode.com/api/v1/degas",
"tags": [
"cable",
"electrical",
"engineering",
"standards",
"installation"
],
"mimeType": "application/json",
"description": "The Pro degassing estimate (research/degassing/PLAN.md): how many days an XLPE core stays in the oven until a share of its crosslinking by-product is left, by Fick diffusion with published coefficients (Polymers 11 (2019) 1439; the methane D0 and Ea of IEEE PES T&D 2016 as quoted there; Electric Wire & Cable 2025 at 65 C), never a standard's result: no standard gives a degassing formula, time or residual limit. The answer is a band (an open conductor with the 2025 coefficient to a sealed conductor with the 2016 one), the cases at 50, 20, 10 and 5 % left, the curve, the highest local share, the time at 60, 65, 70 and 80 C, each step with its source and seen level, the notes and the warnings (drum turns, sheath, uniform start, no chemistry). For MV (up to 46 kV) the AEIC CS8-20 cl. 10.2 wait is given beside it as the standard's printed value (cs8), with the model's residual at its conditions. A factory measurement (input.calibration) fits an effective coefficient and replaces the band. Always paid, at its own price: on the site a member's calculation with no free part. $5.00 per calculation in USDC with x402; no free allowance; a list of up to 50 items at $5.00 per item, one payment.",
"serviceName": "The Cable Code"
},
"extensions": {
"bazaar": {
"info": {
"input": {
"body": {
"input": {
"tempC": 70,
"target": 0.1
},
"sentence": "2XS(FL)2Y 1x800 RM/95 64/110 kV"
},
"type": "http",
"method": "POST",
"bodyType": "json"
},
"output": {
"type": "json",
"example": {
"schema": "thecablecode.degas/v1"
}
}
},
"schema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"input"
],
"properties": {
"input": {
"type": "object",
"required": [
"type",
"method",
"bodyType",
"body"
],
"properties": {
"body": {
"type": "object",
"properties": {
"lang": {
"type": "string"
},
"spec": {
"type": "object"
},
"input": {
"type": "object",
"description": "input: {tempC? (oven, 20 to 80, default 70; warned above 70), target? (share of the start left, 0.01 to 0.9, default 0.1), byproduct?: methane | polar (polar indicative), compound?: standard | low (low by-product: half the start), heatupH? (drum heat-up, h, a ramp from 20 C; default 0), startPpm? and targetPpm? (both or neither), calibration?: {tempC, days, residual (share left, GC), boundary?: sealed | open, heatupH?, conductorMm? and systemMm? (the measured cable; absent: this design)}}"
},
"items": {
"type": "array",
"maxItems": 50
},
"design": {
"type": "object"
},
"sentence": {
"type": "string",
"maxLength": 300
}
}
},
"type": {
"type": "string",
"const": "http"
},
"method": {
"enum": [
"POST"
],
"type": "string"
},
"bodyType": {
"enum": [
"json",
"form-data",
"text"
],
"type": "string"
}
},
"additionalProperties": false
},
"output": {
"type": "object",
"required": [
"type"
],
"properties": {
"type": {
"type": "string"
},
"example": {
"type": "object"
}
}
}
}
}
}
},
"x402Version": 2
}Captured payload 17 of 17
{
"error": "Payment required",
"accepts": [
{
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"extra": {
"name": "USD Coin",
"version": "2"
},
"payTo": "0x019760C685b8917908EEF484A70fEe2Bc7aBCA33",
"amount": "500000",
"scheme": "exact",
"network": "eip155:8453",
"maxTimeoutSeconds": 120
}
],
"resource": {
"url": "https://thecablecode.com/api/v1/equivalence",
"tags": [
"cable",
"electrical",
"engineering",
"standards",
"installation"
],
"mimeType": "application/json",
"description": "The Pro equivalence report (server/pro/equivalence.ts, as a member downloads it under the equivalents panel): an IEC power cable in mm² against its North American counterpart in the same role (low voltage: XHHW-2 or USE-2 / RHW-2 (UL 44) or THHN / THWN-2 (UL 83) at the smallest AWG / kcmil size whose area is at least the IEC section; medium voltage: UL 1072 MV-105, the conductor compared, the wall not), value by value: conductor size and resistance (IEC 60228:2023, NEC Chapter 9 Table 8), insulation wall, voltage, normal temperature (IEC 60502-1 / -2 Table 3, NEC Table 310.16), the compound limits (IEC 60502-1 Table 15, UL 1581 Tables 50.231 and 50.182) and the flame tests (IEC 60332-1-2 against VW-1, IEC 60332-3-24 against FT4: not equivalent), each with its source and seen level, as lines and as the report file (Markdown or plain text). Never a statement that the two are interchangeable: the buyer's specification decides. For a quick verdict across many countries' standards use find_equivalents (cheaper, on the decodes' allowance); this report is the one IEC to NEC / UL pair, value by value. Always paid: the site gives it to members only. $0.50 per calculation in USDC with x402; no free allowance; a list of up to 50 items at $0.50 per item, one payment.",
"serviceName": "The Cable Code"
},
"extensions": {
"bazaar": {
"info": {
"input": {
"body": {
"input": {
"format": "md"
},
"sentence": "N2XY 3x95 0.6/1 kV"
},
"type": "http",
"method": "POST",
"bodyType": "json"
},
"output": {
"type": "json",
"example": {
"schema": "thecablecode.equivalence/v1"
}
}
},
"schema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"input"
],
"properties": {
"input": {
"type": "object",
"required": [
"type",
"method",
"bodyType",
"body"
],
"properties": {
"body": {
"type": "object",
"properties": {
"lang": {
"type": "string"
},
"spec": {
"type": "object"
},
"input": {
"type": "object",
"description": "input: {format?: md | txt (the report file; default md)}"
},
"items": {
"type": "array",
"maxItems": 50
},
"design": {
"type": "object"
},
"sentence": {
"type": "string",
"maxLength": 300
}
}
},
"type": {
"type": "string",
"const": "http"
},
"method": {
"enum": [
"POST"
],
"type": "string"
},
"bodyType": {
"enum": [
"json",
"form-data",
"text"
],
"type": "string"
}
},
"additionalProperties": false
},
"output": {
"type": "object",
"required": [
"type"
],
"properties": {
"type": {
"type": "string"
},
"example": {
"type": "object"
}
}
}
}
}
}
},
"x402Version": 2
}Can I trust it score from our own monitoring
score from our own monitoring
#45 of 496 in Data. Bands: strong 93+, solid 75+, mixed 55+, weak below 55.
- Reliability
- 100% uptime since 11-13
- Compliance
- A 14/14 checks pass
- Price
- $0.03 to $5.00 p83 in Data
- Risk
- clean no risk flag
- Traction
- ---
14/14 compliance checks
- 402 payload captured
- accepts[] array present
- payTo address recoverable
- payTo at accepts[0].payTo (conformant shape)
- payTo is a valid on-chain address
- atomic price declared
- atomic price in a sane range
- asset (token) address declared
- network resolves to CAIP-2
- payment scheme declared
- served over HTTPS
- declares the current x402 version (2)
- EIP-712 domain parameters present on every EVM entry
- x402 v2 envelope delivered in the payment-required header
402 terms unchanged since 2026-11-13. Last up 2026-11-13.
── Site signals
- homepage reachable
- openapi doc
- pricing page
- llms.txt
- robots.txt
- terms page
How the score works
What the score read on this service: status online, 100% uptime, latest daily rollup (no 30d window yet), 122ms response p95, x402 compliance 14 of 14, $0.03 price against the category. Each of those is measured, and each is published in full below.
The score comes from our own monitoring, never from reviews, operator claims, or a language model: reliability, x402 compliance, price against the category, a deterministic risk flag, and a small on-chain traction term, weighted by ranking generation 3. It is not placement anyone can buy: the paid verify tier is reported beside it and is not one of its inputs. Every component below stays published and read-only.
Bands on the 0 to 100 measured score: strong at 93 and above, solid from 75, mixed from 55, weak below 55. Price and speed are scored against the whole category field, every listing in it that carries no danger flag, the scored service included, so the score places a service in its own field.
It is a score inside Data, and only there: price and speed are scored against the whole category field, every listing in it that carries no danger flag, the scored service included, which here means 496 listings, this one among them: the same 496 the position above is counted against. When the two differ, the field is the wider one, because a listing we have measured too little of to rank still sits in the field the price and the speed are normalized over. The same service in a different field would read differently. The same engine answers GET /api/v1/best, and asked for a different pool (the whole directory, or another filter) it returns a different number for this service under this same ranking generation. Neither is more correct: they answer different questions, and the methodology states which is which.
All measured facts
What it does
Cable designations decoded across 71 coding systems (VDE, HD 308, IEC, BS, UL/NEC, CSA, GB, JIS and more), then designed, rated and checked by standard: construction, current rating, voltage drop, short circuit, equivalents, tender and spec checks, pulling, tray fill, drum loading and IEC 60287 calculations. Pay per call in USDC on Base.
The Cable Code is a listed x402 Data API. Captured payment terms name Base. Monitoring and settlement figures below describe the observations available to this directory; an unpaid HTTP 402 check does not prove that a paid call will deliver.
Assessment computed at . Latest service check observed at . Service data JSON · Measurement methodology.
Page rendered at . This response time is separate from the observation and computation times attached to each measurement.
Latest endpoint observation: . Latest price capture: . Prices are recorded quotes, not a promise of availability. Token assets and payment terms are listed separately. Endpoint data JSON · Price history JSON · Measurement methodology.
Assessment computed at . Uptime uses the stated daily-rollup window; response times are in milliseconds, compliance is passed/evaluated checks, and traction is a measured settlement floor. The comparison score is out of 100 within this category. Assessment JSON · Measurement methodology.
Observed daily coverage: 2026-10-15 to 2026-11-13 UTC. Daily monitoring and settlement rollups do not expose their computation time; a bucket date is not an update timestamp. Uptime and response JSON · Volume JSON · Buyers JSON · Measurement methodology.
Ranked from the measured category pool, refreshed at most once a minute. The comparison has no persisted computation timestamp; the assessment time above belongs to this service only. Ranking API documentation · Ranking methodology.
x402 List home · Services · Data
- uptime · latest daily rollup
- -
- uptime 7d
- -
- uptime 30d
- -
- uptime 90d
- -
- response p95
- 122ms
- avg response
- 122ms
- total checks
- 1
Measured on the unpaid 402 handshake, not the paid call. A service can 402 correctly and still fail after payment.
- price (min)
- $0.03
- price (max)
- $5.00
- category percentile (min)
- p83 in Data
- category percentile (max)
- p96 in Data
- endpoints / prices
- 17 / 6
- model
- tiered
- stability
- 100%
No deterministic risk flag. Risk fires only on an exact blocklist match, or a reserved-brand name with a mismatched verified payTo. Never from low uptime, a high price, or a model guess.
- domain age
- -
- registrar
- -
- hosting
- custom
- domain created
- ---
Identity facts, not a risk score.
On-chain traction has not been assessed for this service yet.
- member since
- 2026-11-13
Recent checks
| Checked at (UTC) | Status | HTTP | Response | Endpoints |
|---|---|---|---|---|
| Online | 402 | 200ms | 17 | |
| Online | 402 | 220ms | 17 | |
| Online | 402 | 295ms | 17 | |
| Online | 402 | 447ms | 17 | |
| Online | 402 | 328ms | 17 | |
| Online | 402 | 390ms | 17 | |
| Online | 402 | 269ms | 17 | |
| Online | 402 | 238ms | 17 | |
| Online | 402 | 193ms | 17 | |
| Online | 402 | 186ms | 17 | |
| Online | 402 | 122ms | 17 |
Changes0 in 30d
No changes recorded in the last 30 days.
Over time
On-chain traction has not been assessed for this service yet.
- Uptime
- no completed-day data
On-chain traction has not been assessed for this service yet.
More charts
10-15 to 11-13* UTC
Each series spans only the dates it has data for. Every series is also served as JSON at /api, /scores, /volume and /buyers.
Values
* today so far, partial (UTC).
The uptime summary counts completed UTC days only. The strip, readouts and table retain today's partial reading.
Assessment history last recorded at . Each UTC day uses its last recorded run; missing readings stay unmeasured. Assessment history JSON · Measurement methodology.
| Day | Uptime | Response | Compliance | Price percentile | Site signals |
|---|---|---|---|---|---|
| 2026-11-13* | 100% | 271.63ms | 14/14 | p83 | 4/6 |
Alternatives in Data
5 of 495 other ranked services in Data, ordered by the same measured score.
Own this service?
Keep this listing accurate. Ownership is proven with a domain check and every change is reviewed by hand.
Update this listingEarn the verified tier: x402list pays a real call to this endpoint and, if it delivers, the service is delivery-verified. The fee covers the cost of the probe, not the badge; there is no refund if the call does not deliver. Agent and API only, no in-browser signing. See /api.
Verify this service ($0.25)Embed a badge
HTML
<a href="https://x402-list.com/services/ the-cable-code? utm_source=badge& utm_medium=referral& utm_campaign=embed"> <img src="https://x402-list.com/ badge/ the-cable-code.svg" alt="The Cable Code listed on x402-list" height="28"> </a>
Markdown
[](https://x402-list.com/ services/ the-cable-code? utm_source=badge& utm_medium=referral& utm_campaign=embed)
HTML, live uptime variant
<a href="https://x402-list.com/services/ the-cable-code? utm_source=badge& utm_medium=referral& utm_campaign=embed"> <img src="https://x402-list.com/ badge/ the-cable-code.svg? data=uptime" alt="The Cable Code uptime on x402-list" height="28"> </a>
Delisting
To request delisting, email info@x402-list.com with the service name, slug, or URL. Removal is free and does not require proof of ownership. See all free email requests.