Api Endpoint

awg_metric_convert

Uses the geometric AWG definition, so results are exact for solid round conductors. Mass per metre and resistance follow from the material density and resistivity at 20 degrees Celsius; stranded conductors carry roughly two to five percent more mass and resistance per metre than the same nominal size and are not modelled separately. Supply either awg or cross_section_mm2, not both. Sizes 4/0 through 40 AWG are covered.

Open interactive test console

Offering

Provider
material.halowerk.com
Method
POST
Offering type
Api Endpoint
Transport type
http
Category
Science And Education
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://material.halowerk.com/awg-metric
MIME type
Not provided
First seen
2026-10-16T01:57:40.935Z
Last seen
Tags
materials, cable, conversion

Payment pricing

x402 payment terms are the authoritative price for calling this endpoint.

Payment option 1
0.001 USDC
Atomic price: 1000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "1000",
    "payTo": "0x2880EdfFF13100677Bf97A3CBdF3Bc34771C4E5E"
  }
]

Observed health

Status
Healthy
Latest latency
316 ms
Average latency
535 ms
HTTP status
204
Last checked
Reachability
100% over 10 checks

Latency is measured to the first response headers. A reachable result does not verify response accuracy or merchant identity.

Input schema

{
  "additionalProperties": false,
  "properties": {
    "body": {
      "additionalProperties": false,
      "properties": {
        "awg": {
          "description": "AWG size, e.g. \"12\", \"0\", \"2/0\", \"4/0\".",
          "type": "string"
        },
        "cross_section_mm2": {
          "description": "Metric cross-section for the reverse direction.",
          "maximum": 1000,
          "minimum": 0.01,
          "type": "number"
        },
        "length_m": {
          "default": 1,
          "maximum": 100000,
          "minimum": 0.1,
          "type": "number"
        },
        "material": {
          "default": "copper",
          "enum": [
            "copper",
            "aluminium"
          ],
          "type": "string"
        }
      },
      "type": "object"
    },
    "bodyType": {
      "enum": [
        "json",
        "form-data",
        "text"
      ],
      "type": "string"
    },
    "method": {
      "enum": [
        "POST",
        "PUT",
        "PATCH"
      ],
      "type": "string"
    },
    "type": {
      "const": "http",
      "type": "string"
    }
  },
  "required": [
    "type",
    "method",
    "bodyType",
    "body"
  ],
  "type": "object"
}

Output schema

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": true,
  "properties": {
    "input": {
      "additionalProperties": true,
      "properties": {
        "bodyType": {
          "const": "json"
        },
        "exampleUrl": {
          "format": "uri",
          "type": "string"
        },
        "method": {
          "const": "POST"
        },
        "schemaUrl": {
          "format": "uri",
          "type": "string"
        },
        "type": {
          "const": "http"
        }
      },
      "required": [
        "type",
        "method",
        "bodyType"
      ],
      "type": "object"
    },
    "output": {
      "additionalProperties": true,
      "properties": {
        "exampleUrl": {
          "format": "uri",
          "type": "string"
        },
        "schemaUrl": {
          "format": "uri",
          "type": "string"
        },
        "type": {
          "const": "json"
        }
      },
      "required": [
        "type"
      ],
      "type": "object"
    }
  },
  "required": [
    "input"
  ],
  "type": "object"
}