{
  "x402Version": 2,
  "id": 15219,
  "slug": "15219",
  "resource": "https://iot.halowerk.com/v1/device-auth",
  "description": "Canonicalizes device_id, nonce and message, computes an HMAC-SHA256 tag with caller-supplied ephemeral key material, and optionally compares a claimed tag in constant time. It does not provision devices, store keys or replace asymmetric device identity; do not submit long-lived production secrets.",
  "type": "http",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x2880EdfFF13100677Bf97A3CBdF3Bc34771C4E5E",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "2000",
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "bazaar": {
      "info": {
        "input": {
          "body": {
            "device_id": "sensor-berlin-17",
            "ephemeral_key": "example-ephemeral-key-2026",
            "message": "boot:4.2.1",
            "nonce": "20260831-0001"
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "additionalProperties": false,
                "properties": {
                  "claimed_tag_hex": {
                    "pattern": "^[0-9a-fA-F]{64}$",
                    "type": "string"
                  },
                  "device_id": {
                    "description": "Stable device identifier.",
                    "maxLength": 128,
                    "minLength": 1,
                    "type": "string"
                  },
                  "ephemeral_key": {
                    "description": "Ephemeral HMAC key; long-lived production keys must not be sent.",
                    "maxLength": 512,
                    "minLength": 16,
                    "type": "string"
                  },
                  "message": {
                    "description": "Challenge payload.",
                    "maxLength": 4096,
                    "minLength": 1,
                    "type": "string"
                  },
                  "nonce": {
                    "description": "Fresh caller-generated challenge nonce.",
                    "maxLength": 256,
                    "minLength": 8,
                    "type": "string"
                  }
                },
                "required": [
                  "device_id",
                  "nonce",
                  "message",
                  "ephemeral_key"
                ],
                "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"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "bazaar"
  ],
  "sourceHost": "iot.halowerk.com",
  "lastUpdated": "2026-09-15T06:11:08.014Z",
  "quality": {
    "calls30d": 2,
    "uniquePayers30d": 2,
    "lastCalledAt": "2026-09-15T06:11:07.562Z"
  },
  "liveness": {},
  "verified": false,
  "featured": false,
  "provider": {
    "host": "iot.halowerk.com",
    "manifest_name": "iot.halowerk.com",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-09-18T22:00:31.484Z"
  }
}