thecablecode Iec60287 API

The Iec60287 API from thecablecode — 1 operation(s) for iec60287.

GitHub OpenAPI

Operations 1

POST /api/v1/iec60287 IEC 60287 current rating of one MV or HV circuit at your site, with IEC 60853… #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/thecablecode-com:thecablecode-com-iec60287-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

thecablecode-com-iec60287-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Cable Code decoder Iec60287 API
  version: 1.102.0
  summary: Decode cable type designations into their layers, deterministically.
  description: 'Reads a cable type designation (NYY-J 3x1,5, N2XSEYRY, H07RN-F 3G2,5, 12/2 NM-B, Cat6A S/FTP...) in 71 coding systems: 25 national and international letter-code systems and 46 type-name tables (NEC / UL (USA), CSA (Canada), NOM / NMX (Mexico), IRAM / Mercosur (Argentina), ABNT NBR (Brazil), NTP (Peru), NTC / RETIE (Colombia), NCh / SEC (Chile), PN (Poland), CSN (Czech Republic, Slovakia), GOST (Russia), Danish type names (Denmark), Norsk typebetegnelse (Norway), SFS 5636 (Finland), HD 620 S3 section codes (CENELEC), CEI-UNEL type names (Italy), Romanian type names (SR), BS 5308 / PAS 5308 (UK instrumentation), RG coaxial (MIL-DTL-17), Thermocouple cables (GB/T 4989, China), Thermocouple cables (IEC 60584-3), Fieldbus cables, BS 6004 / BS 6500 / BS 7211 / BS 7870 type numbers (UK), AS/NZS (Australia, New Zealand), SANS (South Africa), BIS type names (India), Turkish type names (Turkey), NEN / KEMA type names (Netherlands), NBN type names (Belgium), Road vehicle wires (ISO 6722, LV 112, SAE J1128, JASO D611), TIS 11 type names (Thailand), TCVN type names (Vietnam), JIS type names (Japan), TÜV 2 PfG 1169 (solar PV cables), DIN VDE type names (Germany), KS / KEPCO type names (Korea), IEC 60227 / IEC 60245 type numbers, JIS C 3410 shipboard cables, IEC 60092 shipboard cables, MIL-SPEC wire and cable (US military), JUS / SRPS / HRN N.C0.006 type names (former Yugoslavia), NP 665 (Portugal), ELOT type names (Greece), MSZ trade names (Hungary), EN 50182 / FprEN 50540 (overhead conductors), Mineral insulated cables (MICC, IEC 60702-1 grades)), plus LAN and fibre-optic designations. The decoder is deterministic: the same input always gives the same answer, and no language model is involved at any point. Pricing: 5 free decodes per caller per UTC day, then $0.10 in USDC per decode, paid with x402 (network eip155:8453). The designer (/api/v1/design, MCP design_cable) turns a sentence in any of the site''s 15 languages, or a spec, into a sized cable: the thickness of each layer with its source (IEC 60502-1 / -2, HD 603, HD 620, BS 5467 / 6724 / 7846 / 6622 / 6004, EN 50525, EN 50618, IEC 60840, NEC / UL, CSA, control, LAN, coaxial and fibre types; IEC 60228 conductors), the direction of lay (S / Z) of every helical element with its source in dimensions.lay (the standard''s rule where it has one, else typical; set design.lay or a layer''s lay for the maker''s own), the designation as that family writes it and the decoder''s reading of it, and in properties the estimated weight, bending radius, pulling force, IEC 60757 colour codes and the MV field stress, each with its source, and in ratings the continuous current rating for a stated installation (IEC 60502-2 Annex B, HD 603, IEC 60364-5-52, BS 7671) and the IEC 60949 short-circuit ratings of conductor and screens, with tables and pages. 2 free designs per caller per UTC day, then $0.50 per design. A nominal calculation, not a manufacturer''s datasheet. The equivalents finder (/api/v1/equivalents, MCP find_equivalents) rebuilds a decoded power cable under other countries'' standards (IEC 60502, HD 603, HD 620 J/M/D/C/K, BS 5467/6724/7846/6622, EN 50618, HD 627) and compares it layer by layer: equivalent, close (with the differences) or none (with the reason), and the name in that country''s letters where sourced. Same price and free allowance as a decode. Never a statement of interchangeability: the buyer''s specification decides. The compliance checker (/api/v1/check, MCP check_cable) checks 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).'
  contact:
    email: support@thecablecode.com
    url: https://thecablecode.com/developers
  x-changelog-url: https://thecablecode.com/api/v1/changelog
  x-guidance: 'To read one cable designation, GET /api/v1/decode?code=<designation> (for example code=N2XSEYRY or code=NYY-J%203x1,5; lang=en or tr). 5 calls a day are free; after that the call answers 402 and costs $0.10 in USDC on Base via x402. To check a bill of materials, POST /api/v1/decode/batch with {"codes": [...]} (up to 500); one payment of $0.03 per code. Each answer lists the matching coding systems ranked, with a basis for each (named_standard, verified_designation, type_name, grammar) and every layer: conductor, insulation, screen, armour, sheath. Prefer rank 1; treat a lone grammar match with care. To design a cable, GET /api/v1/design?sentence=<words> (e.g. "3x95/25 12/20 kV Al collective screen watertight"), or POST /api/v1/design with {"spec": {"voltage": "12/20", "cores": 3, "section": 95}}; add formats=xml,dxf,svg,csv,glb,step,pdf for files (step is STEP AP214 text, glb and pdf come base64). 2 designs a day are free, then $0.50 each. A bare designation is a sentence too. Read heard (what was taken from the input and what was a default), warnings, the source of each layer, properties (weight for drum_fit''s kg, bending radius, pulling force, colours, field stress) and ratings (current rating: send installation, e.g. {"laying": "air", "air_c": 40}; short circuit: fault_s, default 1 s). To find a cable''s equivalents in other countries, GET /api/v1/equivalents?code=<designation with size and voltage>&country=NL (or standard=HD620-10J); it counts against the decodes'' free allowance, then $0.10. Read each equivalent''s verdict, notes and differences (with the source of every value); as_is is this cable checked against the target''s rules. To check a cable against a standard, GET /api/v1/check?designation=<designation with size and voltage>&standard=auto, or POST /api/v1/check with {"construction": {voltage, cores, conductor, core: [layers], common: [layers], standards}, "standard": "auto"} for a datasheet''s own thicknesses. 2 checks a day are free, then $0.50 each. Read summary.verdict, then each rule''s status, required, found and source; a not_checkable rule says why. To read a datasheet, POST /api/v1/extract with {"url": "https://...pdf"}, {"pdf": "<base64>"} or {"text": "..."}, optionally "hint" (a size) and "standard": "auto" to check every row; every call is paid, $2.00 per document with x402 (a call without payment answers 402). Show the extracted values to whoever relies on them, correct a row if needed, and check it with POST /api/v1/check. To write a tender specification, POST /api/v1/spec with {"sentence": "NA2XS(F)2Y 1x240/25 12/20 kV", "requirements": ["rodent", {"id": "uv-sunlight", "option": "carbon-black"}], "lang": "en"}, or {"cables": [{"sentence": ...}, {"spec": {...}}]} for a project; GET /api/v1/spec/requirements (free) lists the requirement ids and their options. Always paid: $2.00 for the first cable and $0.50 for each further cable in the same call (up to 30), one x402 payment, no free allowance. Read cables[].specification.markdown, cables[].schedule.csv (or .rows) and each cable''s warnings. To find the drum (reel) a length of cable needs, GET /api/v1/drum?od=<mm>&length=<m> (add kg=<kg/km>, kind, system, max; pool=1 for pooled drum sizes with their makers inside); for what one drum takes, GET /api/v1/drum?od=<mm>&D=&d=&W=. Free. Read model (the allowance and freeboard used) and each drum''s source and seen level: drums are as their makers print them, except the IS 10418:2024 sizes (the standard''s own Table 1, no tare or load rating, so no load_ok); a steel drum outside North America without a maker''s load rating takes the DIN 46391-4 (2018-05) guide load, 28 kN per m3 of gross winding volume (load_basis din46391-4). For the installation calculations inside a design, POST /api/v1/design with load {amps, length_m}, fault {ka, seconds}, cpc, nec (the design price covers them): voltage_drop, sizing, cpc, nec; laying (cold weather) and after_installation come with every design. For NEC conduit fill, POST /api/v1/conduit-fill (free). For the calculations that are Pro on the site, POST /api/v1/pull, /api/v1/tray, /api/v1/drum/loading, /api/v1/climate, /api/v1/electrical, /api/v1/economic, /api/v1/commissioning, /api/v1/prep, /api/v1/iec60287, /api/v1/degas, /api/v1/equivalence with {"sentence": ..., "input": {...}}: $0.50 each (the commissioning sheet $0.50, the end preparation $0.50, the IEC 60287 rating $5.00, the degassing estimate $5.00); the pull, tray, loading and preparation verdict is free within the designs'' daily allowance, "full": true or "items": [...] (a project''s list, the price per item) is paid. For free reference values with their sources: GET /api/v1/burial?country=DE&u=0.6/1 (place=field|road|pavement), /api/v1/fire-class?country=GB&place=escape, /api/v1/convert?awg=4/0 (or mm2=95; k= for the ICEA insulation constant), /api/v1/not-equivalent?text=<a cable or a test>, /api/v1/laying-guide/<family>, /api/v1/glossary?q=<words>; /api/v1/drum?...&reeling=cylindrical&layers=2 adds the NFPA 79 reeling drum derating. GET /api/v1/changelog: what changed, dated. The paid routes (all but the sponsorship orders, priced by their slot) and the paid MCP tools answer a call without payment that names none of its inputs (no body, {}, null or a body that is not JSON) with the 402 challenge, the price in the PAYMENT-REQUIRED header; the same call paid is a 400, and nothing is settled. Sponsorship for businesses: GET /api/v1/ads/slots, then POST /api/v1/ads (see /llms.txt).'
servers:
- url: https://thecablecode.com
tags:
- name: Iec60287
paths:
  /api/v1/iec60287:
    post:
      operationId: iec60287Rating
      summary: IEC 60287 current rating of one MV or HV circuit at your site, with IEC 60853…
      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. Pricing: $5.00 per calculation in USDC with x402; no free allowance (the site shows no free part); items (a project''s list, 1 to 50) are always in full at $5.00 per item, one payment, no discount. Deterministic, no LLM.'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              description: One calculation (exactly one of sentence, spec or design, and input), or items.
              properties:
                sentence:
                  type: string
                  maxLength: 300
                  description: The cable in words or its designation, as /api/v1/design takes it.
                spec:
                  type: object
                  description: 'Instead of a sentence: a spec as /api/v1/design takes it.'
                design:
                  type: object
                  description: 'Instead of a sentence: the design field of a /api/v1/design answer.'
                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
                  minItems: 1
                  maxItems: 50
                  items:
                    type: object
                    properties:
                      sentence:
                        type: string
                        maxLength: 300
                        description: The cable in words or its designation, as /api/v1/design takes it.
                      spec:
                        type: object
                        description: 'Instead of a sentence: a spec as /api/v1/design takes it.'
                      design:
                        type: object
                        description: 'Instead of a sentence: the design field of a /api/v1/design answer.'
                      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'
                  description: 'Instead of one: a project''s list, always in full, $5.00 per item.'
                lang:
                  type: string
                  enum:
                  - en
                  - tr
                  - de
                  - nl
                  - sv
                  - fr
                  - es
                  - da
                  - 'no'
                  - fi
                  - it
                  - ro
                  - pl
                  - cs
                  - ru
                  default: en
                  description: The words of the answer and the sheet.
              example:
                sentence: NA2XS(F)2Y 1x240/25 12/20 kV
                input:
                  laying: buried
                  formation: trefoil
                  bonding: both
            example:
              sentence: NA2XS(F)2Y 1x240/25 12/20 kV
              input:
                laying: buried
                formation: trefoil
                bonding: both
      responses:
        '200':
          description: 'thecablecode.iec60287/v1: full true: server/pro''s whole answer, every value with its source. With items: {schema, count, items: [...]}.'
          headers: {}
          content:
            application/json:
              schema:
                type: object
                required:
                - schema
                properties:
                  schema:
                    const: thecablecode.iec60287/v1
                  full:
                    type: boolean
                  designation:
                    type: string
                  count:
                    type: integer
                  items:
                    type: array
                  full_available:
                    type: object
                  pdf_base64:
                    type: string
        '400':
          description: A field missing or out of range (the message names it). Nothing is charged and the allowance is untouched.
        '402':
          headers:
            PAYMENT-REQUIRED:
              schema:
                type: string
              description: x402 v2 payment requirements (base64 JSON).
          content:
            application/json:
              schema:
                type: object
                required:
                - error
                - message
                properties:
                  error:
                    const: payment_required
                  message:
                    type: string
                    description: 'What to pay and how: the amount is in the PAYMENT-REQUIRED header.'
                  free_per_day:
                    type: integer
                    description: 'The free calls per caller per UTC day on this route (0: none).'
                  price:
                    type: string
                    description: The price in US dollars, paid in USDC, e.g. "$0.10".
                  docs:
                    type: string
                    format: uri
                    description: This OpenAPI document.
          description: Pay the amount in the PAYMENT-REQUIRED header ($5.00 times the items) with x402 and send the same request again.
        '422':
          description: '{error: "not_applicable"}: the calculation does not apply to this cable (an LV design for the MV electrical values, no insulation screen for the end preparation, not a single-core medium or high voltage design for the IEC 60287 rating) or the place is not in the stored table.'
        '429':
          description: 'Too many requests per second from one address: the web server''s flood limit answers before the API does (a short HTML page, no JSON body). Wait a second and send the request again.'
      x-payment-info:
        price:
          mode: dynamic
          currency: USD
          min: '5.000000'
          max: '250.000000'
        protocols:
        - x402:
            version: 2
            scheme: exact
            network: eip155:8453
            asset: USDC
        price_per_item: $5.00
        max_items: 50
        free_per_day: 0
      tags:
      - Iec60287
externalDocs:
  description: Agent guide
  url: https://thecablecode.com/llms.txt