{"uid":"cap_wfYJSZBKQxWc9DG-6yYMH","slug":"thecablecode-cable-designation-decoder-with-3d-visualization-333c6af6","name":"TheCableCode: Cable Designation Decoder with 3D Visualization","description":"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.","url":"https://thecablecode.com/api/v1/design?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"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":["sentence"],"properties":{"lang":{"enum":["en","tr"],"type":"string"},"formats":{"type":"string","description":"Comma separated: xml, dxf, svg, csv, glb, step, pdf"},"sentence":{"type":"string","maxLength":300,"description":"The cable in words, Turkish or English: voltage, cores, section, conductor metal, screen, sheath, watertightness, armour. What is not said takes a default, and the answer lists which."}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"files":{"type":"object","properties":{"csv":{"type":"string"},"dxf":{"type":"string"},"svg":{"type":"string"},"xml":{"type":"string"},"step":{"type":"string"},"glb_base64":{"type":"string"},"pdf_base64":{"type":"string"}}},"heard":{"type":"array","items":{"type":"object"}},"input":{"type":"object","properties":{"kind":{"enum":["sentence","spec","design"]},"lang":{"enum":["en","tr"]},"sentence":{"type":"string"}}},"links":{"type":"object","properties":{"docs":{"type":"string"},"decode":{"type":"string"},"designer":{"type":"string"}}},"design":{"type":"object","properties":{"cpr":{"type":"string"},"lan":{"type":"object"},"coax":{"enum":["RG58","RG58U","RG58CU","RG59","RG59BU"]},"core":{"type":"array"},"name":{"type":"string"},"cores":{"type":"integer"},"fibre":{"type":"object"},"pairs":{"type":"object"},"common":{"type":"array"},"ground":{"type":"object"},"layout":{"const":"flat"},"version":{"const":1},"voltage":{"type":"string"},"standard":{"enum":["HD603-3G","HD603-5G","BS5467","BS6724","BS7846","BS6622","HD620-10J","HD620-10M","HD620-10D","HD620-10C","HD620-10K","EN50618","IEC62930","PFG1169","HD627-4N","HD627-7N","IEC60840","IEC62067","EN50525-2-31","EN50525-3-31","EN50525-2-11","EN50525-2-21","EN50214","VDE0250-204","VDE0250-214","PAIRS","VDE0812","VDE0815","LAN","UL-THHN","UL-XHHW2","UL-USE2","UL-NMB","UL-UFB","CSA-NMD90","UL-SER","UL-SEU","UL-MC","CSA-TECK90","UL-MV105","UL-URD","UL-MCHL","UL-THW","UL-TW","CSA-T90","CSA-RW90","UL-PV","UL-SJT","UL-SJTW","UL-SJOOW","UL-ST","UL-SO","UL-SOOW","UL-AC","CSA-AC90","BS6004","BS7211","ASNZS5000-2","SANS1507-2","COAX","YDT908","IEC60794-3","VDE0888","TIS11-101","JISC3307","JISC3317","JISC3342","IS694","UL62-SPT","ASNZS5000-1-VCMD"]},"conductor":{"type":"object"},"coreColours":{"type":"array"}}},"schema":{"const":"thecablecode.design/v1"},"designer":{"type":"object","properties":{"llm":{"const":false},"note":{"type":"string"},"basis":{"type":"string"},"deterministic":{"const":true}}},"warnings":{"type":"array","items":{"type":"object"}},"read_back":{"type":["null","object"]},"dimensions":{"type":"object","properties":{"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"}}},"designation":{"type":"object","properties":{"full":{"type":"string"},"gaps":{"type":"array"},"parts":{"type":"array"},"letters":{"type":"string"}}}},"description":"Top level only; full JSON Schema: https://thecablecode.com/api/v1/schema/design-v1.json"}}}}},"responseSchema":{"type":"json","example":{"schema":"thecablecode.design/v1","dimensions":{"overall_diameter_mm":39.8},"designation":{"full":"NA2XS(F)2Y 1x240 RM/25 12/20 kV"}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.5","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.5/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.5","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.5","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_8IdbZtgCQACQ9FNP55ANX","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.5","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Decodes an electrical cable designation string across 39 coding systems and returns a full structured design plus 3D visualization files (SVG, DXF, GLB, CSV, XML).","exampleAgentPrompt":"Can you decode the cable designation NA2XS(F)2Y 1x240 RM/25 12/20 kV for me and give me a 3D visualization and SVG cross-section? I need the full breakdown of conductor, insulation, sheath, and armour details.","exampleUseCases":[{"title":"Engineering verification of drum label","prompt":"I've got a cable on-site with the designation NYY-J 4x16 printed on the drum — can you decode that for me and tell me the voltage rating, conductor material, core count, and sheath type? Give me an SVG cross-section too."},{"title":"Exporting cable spec for documentation","prompt":"Decode the cable designation NYFGY 3x1.5 for me and export the full specification as XML and CSV so I can include it in our project documentation."},{"title":"3D model for cable manufacturer datasheet","prompt":"I need a 3D GLB model and DXF drawing of the cable designated 6/10 kV XLPE 3x95 AL armoured — can you decode it and generate those files so I can embed them in a datasheet?"}],"resultDescription":"Returns a structured JSON object conforming to the thecablecode.design/v1 schema, containing: the decoded cable design (conductor, cores, insulation, sheath, armour, voltage, standard), overall diameter in mm, a read-back of interpreted parameters, any warnings about assumptions or defaults, and optionally base64-encoded or URL-linked files in SVG, DXF, GLB, CSV, and/or XML formats. Also includes links to the interactive designer and decode page.","failureModes":["Unrecognised designation string returns warnings or empty design with explanation of what could not be parsed","Designation ambiguous across multiple standards returns warnings listing alternatives","Required 'sentence' query parameter missing causes validation error","Designation too long (over 300 characters) rejected by schema","Unsupported format value in 'formats' parameter causes error","Language enum value other than 'en' or 'tr' rejected"],"whenToPreferThis":"Choose this endpoint when you need to programmatically decode an electrical cable designation code (as printed on a cable drum, datasheet, or label) into structured engineering specifications, or when you need 2D/3D visualization files (SVG cross-section, DXF, GLB) of the cable construction. It covers 39 international coding systems including IEC, BS, and HD standards. Prefer it over generic LLM-based cable interpretation because it is explicitly deterministic and standards-based, not AI-guessed.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-22T18:38:45.998Z","isFirstParty":false,"canonicalSlug":"thecablecode-cable-designation-decoder-with-3d-visualization-333c6af6"}