{
  "x402Version": 2,
  "id": 28590,
  "slug": "28590",
  "resource": "https://tools.halowerk.com/v1/telemetry/normalize",
  "description": "Turns SenML (JSON or CBOR) and LwM2M TLV into one record shape: resolved name, unit, absolute timestamp, typed value. Optionally puts every series on a shared time axis with a chosen interval and fill rule (last value, bucket mean, linear). Works only on the payload you pass: no device is contacted, nothing is stored, the same request returns the same bytes. TLV carries no type on the wire; unmapped resource ids come back as opaque base64 with a warning instead of a guess.",
  "type": "http",
  "serviceName": "HALOWERK Agent Tools",
  "resourceType": "Utilities",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x2880EdfFF13100677Bf97A3CBdF3Bc34771C4E5E",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "2000",
      "amountUsd": 0.002,
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {
        "type": "object"
      },
      "type": {
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "body": {
            "align": true,
            "align_method": "last",
            "format": "senml_json",
            "interval_s": 60,
            "payload": [
              {
                "bn": "urn:dev:ow:10e2073a:",
                "bt": 1786000000,
                "bu": "Cel",
                "n": "temp",
                "v": 21.3
              },
              {
                "n": "temp",
                "t": 60,
                "v": 21.9
              },
              {
                "n": "hum",
                "t": 60,
                "u": "%RH",
                "v": 48
              }
            ]
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "align_note": null,
            "aligned": {
              "end_unix_s": 1786000060,
              "interval_s": 60,
              "method": "last",
              "point_count": 2,
              "points": [
                {
                  "time": "2026-08-06T07:06:40.000Z",
                  "time_unix_s": 1786000000,
                  "values": {
                    "urn:dev:ow:10e2073a:hum": null,
                    "urn:dev:ow:10e2073a:temp": 21.3
                  }
                },
                {
                  "time": "2026-08-06T07:07:40.000Z",
                  "time_unix_s": 1786000060,
                  "values": {
                    "urn:dev:ow:10e2073a:hum": 48,
                    "urn:dev:ow:10e2073a:temp": 21.9
                  }
                }
              ],
              "series_names": [
                "urn:dev:ow:10e2073a:hum",
                "urn:dev:ow:10e2073a:temp"
              ],
              "start_unix_s": 1786000000,
              "tolerance_s": 0,
              "values_filled": 3,
              "values_missing": 1
            },
            "format": "senml_json",
            "record_count": 3,
            "records": [
              {
                "name": "urn:dev:ow:10e2073a:temp",
                "time": "2026-08-06T07:06:40.000Z",
                "time_unix_s": 1786000000,
                "unit": "Cel",
                "value": 21.3,
                "value_type": "number"
              },
              {
                "name": "urn:dev:ow:10e2073a:temp",
                "time": "2026-08-06T07:07:40.000Z",
                "time_unix_s": 1786000060,
                "unit": "Cel",
                "value": 21.9,
                "value_type": "number"
              },
              {
                "name": "urn:dev:ow:10e2073a:hum",
                "time": "2026-08-06T07:07:40.000Z",
                "time_unix_s": 1786000060,
                "unit": "%RH",
                "value": 48,
                "value_type": "number"
              }
            ],
            "series": [
              {
                "count": 1,
                "first_time_unix_s": 1786000060,
                "last_time_unix_s": 1786000060,
                "max": 48,
                "mean": 48,
                "min": 48,
                "name": "urn:dev:ow:10e2073a:hum",
                "numeric_count": 1,
                "unit": "%RH"
              },
              {
                "count": 2,
                "first_time_unix_s": 1786000000,
                "last_time_unix_s": 1786000060,
                "max": 21.9,
                "mean": 21.6,
                "min": 21.3,
                "name": "urn:dev:ow:10e2073a:temp",
                "numeric_count": 2,
                "unit": "Cel"
              }
            ],
            "stateless": true,
            "warnings": []
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "properties": {
                  "align": {
                    "default": false,
                    "description": "Also return every numeric series on one shared time grid.",
                    "type": "boolean"
                  },
                  "align_method": {
                    "default": "last",
                    "description": "How a grid point is filled: last value at or before the point, mean over the bucket, or linear interpolation between neighbours.",
                    "enum": [
                      "last",
                      "mean",
                      "linear"
                    ],
                    "type": "string"
                  },
                  "base_name": {
                    "description": "Prefix put in front of every resolved record name. For lwm2m_tlv this is where the device identity goes.",
                    "maxLength": 200,
                    "type": "string"
                  },
                  "base_time_unix_s": {
                    "description": "Anchor in seconds since 1970 for records that carry no absolute time. SenML calls times below 2^28 relative to now; this endpoint is stateless and will not invent a now.",
                    "type": "number"
                  },
                  "format": {
                    "description": "Wire format of payload. senml_cbor and lwm2m_tlv expect base64.",
                    "enum": [
                      "senml_json",
                      "senml_cbor",
                      "lwm2m_tlv"
                    ],
                    "type": "string"
                  },
                  "interval_s": {
                    "default": 60,
                    "description": "Grid spacing in seconds. The grid may not exceed 10000 points.",
                    "maximum": 86400,
                    "minimum": 0.001,
                    "type": "number"
                  },
                  "max_records": {
                    "default": 5000,
                    "description": "Upper bound on records taken from the payload.",
                    "maximum": 20000,
                    "minimum": 1,
                    "type": "integer"
                  },
                  "payload": {
                    "description": "SenML records as a JSON array (or a JSON string holding one), or base64 for senml_cbor and lwm2m_tlv. At most 1000000 bytes after decoding; the service caps the whole request body at 256 KB."
                  },
                  "tolerance_s": {
                    "default": 0,
                    "description": "align_method=last only: how stale the carried value may be before the grid point is left empty. 0 means no limit.",
                    "maximum": 86400,
                    "minimum": 0,
                    "type": "number"
                  },
                  "value_types": {
                    "description": "lwm2m_tlv only: resource id as key, one of integer, float, boolean, string, time, opaque as value. Ids left out come back as opaque base64 with a warning instead of a guessed type.",
                    "type": "object"
                  }
                },
                "required": [
                  "format",
                  "payload"
                ],
                "type": "object"
              },
              "bodyType": {
                "enum": [
                  "json",
                  "form-data",
                  "text"
                ],
                "type": "string"
              },
              "method": {
                "enum": [
                  "POST"
                ],
                "type": "string"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method",
              "bodyType",
              "body"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "x402",
    "agent-tools",
    "data",
    "telemetry_normalize",
    "bazaar"
  ],
  "sourceHost": "tools.halowerk.com",
  "lastUpdated": "2026-10-08T06:07:41.44Z",
  "quality": {
    "calls30d": 3,
    "uniquePayers30d": 3,
    "lastCalledAt": "2026-10-08T06:07:41.23Z"
  },
  "metadata": {
    "serviceName": "HALOWERK Agent Tools",
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "body": {
              "align": true,
              "align_method": "last",
              "format": "senml_json",
              "interval_s": 60,
              "payload": [
                {
                  "bn": "urn:dev:ow:10e2073a:",
                  "bt": 1786000000,
                  "bu": "Cel",
                  "n": "temp",
                  "v": 21.3
                },
                {
                  "n": "temp",
                  "t": 60,
                  "v": 21.9
                },
                {
                  "n": "hum",
                  "t": 60,
                  "u": "%RH",
                  "v": 48
                }
              ]
            },
            "bodyType": "json",
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "align_note": null,
              "aligned": {
                "end_unix_s": 1786000060,
                "interval_s": 60,
                "method": "last",
                "point_count": 2,
                "points": [
                  {
                    "time": "2026-08-06T07:06:40.000Z",
                    "time_unix_s": 1786000000,
                    "values": {
                      "urn:dev:ow:10e2073a:hum": null,
                      "urn:dev:ow:10e2073a:temp": 21.3
                    }
                  },
                  {
                    "time": "2026-08-06T07:07:40.000Z",
                    "time_unix_s": 1786000060,
                    "values": {
                      "urn:dev:ow:10e2073a:hum": 48,
                      "urn:dev:ow:10e2073a:temp": 21.9
                    }
                  }
                ],
                "series_names": [
                  "urn:dev:ow:10e2073a:hum",
                  "urn:dev:ow:10e2073a:temp"
                ],
                "start_unix_s": 1786000000,
                "tolerance_s": 0,
                "values_filled": 3,
                "values_missing": 1
              },
              "format": "senml_json",
              "record_count": 3,
              "records": [
                {
                  "name": "urn:dev:ow:10e2073a:temp",
                  "time": "2026-08-06T07:06:40.000Z",
                  "time_unix_s": 1786000000,
                  "unit": "Cel",
                  "value": 21.3,
                  "value_type": "number"
                },
                {
                  "name": "urn:dev:ow:10e2073a:temp",
                  "time": "2026-08-06T07:07:40.000Z",
                  "time_unix_s": 1786000060,
                  "unit": "Cel",
                  "value": 21.9,
                  "value_type": "number"
                },
                {
                  "name": "urn:dev:ow:10e2073a:hum",
                  "time": "2026-08-06T07:07:40.000Z",
                  "time_unix_s": 1786000060,
                  "unit": "%RH",
                  "value": 48,
                  "value_type": "number"
                }
              ],
              "series": [
                {
                  "count": 1,
                  "first_time_unix_s": 1786000060,
                  "last_time_unix_s": 1786000060,
                  "max": 48,
                  "mean": 48,
                  "min": 48,
                  "name": "urn:dev:ow:10e2073a:hum",
                  "numeric_count": 1,
                  "unit": "%RH"
                },
                {
                  "count": 2,
                  "first_time_unix_s": 1786000000,
                  "last_time_unix_s": 1786000060,
                  "max": 21.9,
                  "mean": 21.6,
                  "min": 21.3,
                  "name": "urn:dev:ow:10e2073a:temp",
                  "numeric_count": 2,
                  "unit": "Cel"
                }
              ],
              "stateless": true,
              "warnings": []
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "body": {
                  "properties": {
                    "align": {
                      "default": false,
                      "description": "Also return every numeric series on one shared time grid.",
                      "type": "boolean"
                    },
                    "align_method": {
                      "default": "last",
                      "description": "How a grid point is filled: last value at or before the point, mean over the bucket, or linear interpolation between neighbours.",
                      "enum": [
                        "last",
                        "mean",
                        "linear"
                      ],
                      "type": "string"
                    },
                    "base_name": {
                      "description": "Prefix put in front of every resolved record name. For lwm2m_tlv this is where the device identity goes.",
                      "maxLength": 200,
                      "type": "string"
                    },
                    "base_time_unix_s": {
                      "description": "Anchor in seconds since 1970 for records that carry no absolute time. SenML calls times below 2^28 relative to now; this endpoint is stateless and will not invent a now.",
                      "type": "number"
                    },
                    "format": {
                      "description": "Wire format of payload. senml_cbor and lwm2m_tlv expect base64.",
                      "enum": [
                        "senml_json",
                        "senml_cbor",
                        "lwm2m_tlv"
                      ],
                      "type": "string"
                    },
                    "interval_s": {
                      "default": 60,
                      "description": "Grid spacing in seconds. The grid may not exceed 10000 points.",
                      "maximum": 86400,
                      "minimum": 0.001,
                      "type": "number"
                    },
                    "max_records": {
                      "default": 5000,
                      "description": "Upper bound on records taken from the payload.",
                      "maximum": 20000,
                      "minimum": 1,
                      "type": "integer"
                    },
                    "payload": {
                      "description": "SenML records as a JSON array (or a JSON string holding one), or base64 for senml_cbor and lwm2m_tlv. At most 1000000 bytes after decoding; the service caps the whole request body at 256 KB."
                    },
                    "tolerance_s": {
                      "default": 0,
                      "description": "align_method=last only: how stale the carried value may be before the grid point is left empty. 0 means no limit.",
                      "maximum": 86400,
                      "minimum": 0,
                      "type": "number"
                    },
                    "value_types": {
                      "description": "lwm2m_tlv only: resource id as key, one of integer, float, boolean, string, time, opaque as value. Ids left out come back as opaque base64 with a warning instead of a guessed type.",
                      "type": "object"
                    }
                  },
                  "required": [
                    "format",
                    "payload"
                  ],
                  "type": "object"
                },
                "bodyType": {
                  "enum": [
                    "json",
                    "form-data",
                    "text"
                  ],
                  "type": "string"
                },
                "method": {
                  "enum": [
                    "POST"
                  ],
                  "type": "string"
                },
                "type": {
                  "const": "http",
                  "type": "string"
                }
              },
              "required": [
                "type",
                "method",
                "bodyType",
                "body"
              ],
              "type": "object"
            },
            "output": {
              "properties": {
                "example": {
                  "type": "object"
                },
                "type": {
                  "type": "string"
                }
              },
              "required": [
                "type"
              ],
              "type": "object"
            }
          },
          "required": [
            "input"
          ],
          "type": "object"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "tools.halowerk.com",
    "manifest_name": "tools.halowerk.com",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-10-14T01:15:01.050Z"
  },
  "exampleResponse": {
    "example": {},
    "type": "string"
  }
}