# FastX402 Lab RFC 3339 Timestamp Normalizer

> FastX402 Lab RFC 3339 Timestamp Normalizer is a paid API for AI agents from lab.fastx402.tools, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-17).

Normalizes and parses an RFC 3339 / ISO-8601 timestamp into UTC, date, time, Unix seconds/milliseconds, and UTC offset components.

## Facts

- Endpoint: GET https://lab.fastx402.tools/rfc3339-normalize?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-17
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/fastx402-lab-rfc-3339-timestamp-normalizer-5dc562d0
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_8BTqmKe2CIZjahBnGGclO

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability fastx402-lab-rfc-3339-timestamp-normalizer-5dc562d0
```

Example prompt: Can you normalize this timestamp to UTC and give me the Unix seconds for it: 2026-03-15T14:30:45+05:30?

## When to prefer this

Choose this endpoint when you need to reliably normalize any RFC 3339 / ISO-8601 timestamp with a timezone offset into UTC and Unix time components without setting up your own datetime parsing library. It is ideal for AI agents processing user-submitted timestamps, log entries, or API responses with mixed timezone offsets that need to be standardized into a canonical UTC form with Unix epoch values.

## Known failure modes

- Missing 'timestamp' query parameter returns an error
- Timestamp without a UTC offset (bare local time like 2026-03-15T14:30:45) is rejected as offset is required
- Malformed or non-ISO-8601 timestamp string returns a parse error
- Ambiguous timestamp using only a space separator may be accepted but depends on implementation strictness

## How this service works

FastX402 Lab: small pay-per-call tools for AI agents, paid per request in USDC on Base over x402. No signup, no API key.

## Output

A JSON object containing: the original input timestamp, its UTC equivalent (ISO 8601 with milliseconds), the date portion (YYYY-MM-DD), the time portion (HH:MM:SS.mmm), the UTC offset string (e.g. +05:30), UTC offset in minutes (e.g. 330), Unix timestamp in seconds, and Unix timestamp in milliseconds.

## Request schema (JSON Schema)

```json
{
 "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": [
      "timestamp"
     ],
     "properties": {
      "timestamp": {
       "type": "string",
       "description": "RFC 3339 / ISO-8601 timestamp, e.g. 2026-03-15T14:30:45+05:30 or 2026-03-15T09:00:00Z. A space may replace the T. Offset is required."
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "utc": {
       "type": "string"
      },
      "date": {
       "type": "string"
      },
      "time": {
       "type": "string"
      },
      "input": {
       "type": "string"
      },
      "utc_offset": {
       "type": "string"
      },
      "unix_seconds": {
       "type": "integer"
      },
      "unix_milliseconds": {
       "type": "integer"
      },
      "utc_offset_minutes": {
       "type": "integer"
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "utc": "2026-03-15T09:00:45.123Z",
  "date": "2026-03-15",
  "time": "09:00:45.123",
  "input": "2026-03-15T14:30:45.123+05:30",
  "utc_offset": "+05:30",
  "unix_seconds": 1773565245,
  "unix_milliseconds": 1773565245123,
  "utc_offset_minutes": 330
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/fastx402-lab-rfc-3339-timestamp-normalizer-5dc562d0/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from lab.fastx402.tools](https://www.zero.xyz/host/lab.fastx402.tools/llms.txt)
