# WritersLogic Naive Timestamp Hazard Classifier

> WritersLogic Naive Timestamp Hazard Classifier is a paid API for AI agents from agents.writerslogic.com, paid per call via x402, $0.005/call, status unknown (last checked 2026-11-17).

Classifies timestamp strings by format type, identifies hazards (DST gaps/overlaps, ambiguity, missing offsets), and reports all candidate instants a naive or ambiguous timestamp could represent

## Facts

- Endpoint: POST https://agents.writerslogic.com/api/v1/naive-timestamp-hazard?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-17
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/writerslogic-naive-timestamp-hazard-classifier-3d607071
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_4mLPdrA5V8UXQ9ogDAEHs

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 writerslogic-naive-timestamp-hazard-classifier-3d607071 -d '<json body>'
```

Example prompt: Can you check these timestamps for me — ['2024-03-10 02:30:00', '2024-11-03T01:15:00-05:00', '1709251200', 'Mar 5, 2024'] — and flag any that are ambiguous, missing offsets, or fall in a DST gap? Assume the producer is in America/New_York.

## When to prefer this

Use this endpoint when an AI agent has received timestamp strings from an external source (user input, API, CSV, webhook) and needs to safely store, compare, or schedule them — before assuming they are UTC or blindly parsing them. It is especially valuable when inputs may mix formats (epoch, date-only, naive local, RFC 3339) or when DST transitions in a known timezone could make a time ambiguous or non-existent. It is not a timezone converter or clock reader; it is a hazard reporter and classifier.

## Known failure modes

- Input array is empty or exceeds 200 items — validation error returned
- assumedTimeZone does not match IANA zone format or is an unrecognized zone name — error or ignored
- Individual timestamp strings exceeding 64 characters — skipped or flagged as unparseable
- Malformed request body — HTTP 400 with schema validation error
- Payment not completed via x402 protocol — HTTP 402 Payment Required

## How this service works

Pay-per-call agents settled in USDC on Base via x402. Every response carries a signed provenance envelope.

## Output

A per-timestamp classification object for each input string, indicating the type (anchored RFC 3339, naive local, date-only, epoch seconds, epoch milliseconds, zone abbreviation, ambiguous numeric date, or unparseable), the associated hazard description, and — when assumedTimeZone is provided — whether the time falls in a DST gap or overlap, every UTC instant it could represent, and any offsets that contradict the assumed zone.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "timestamps": {
   "type": "array",
   "items": {
    "type": "string",
    "maxLength": 64
   },
   "maxItems": 200,
   "minItems": 1
  },
  "assumedTimeZone": {
   "type": "string",
   "pattern": "^[A-Za-z][A-Za-z0-9_+-]*(/[A-Za-z0-9_+-]+){0,2}$",
   "maxLength": 64,
   "description": "IANA zone the producer is believed to use; used for gap/overlap and offset-consistency checks."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/writerslogic-naive-timestamp-hazard-classifier-3d607071/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agents.writerslogic.com](https://www.zero.xyz/host/agents.writerslogic.com/llms.txt)
