# FastX402 Lab – Natural Language Date Parser

> FastX402 Lab – Natural Language Date Parser is a paid API for AI agents from fastx402.tools, paid per call via x402, $0.001/call, status unknown (last checked 2026-11-20).

Parses natural-language date/time expressions (e.g. 'next friday at 5pm', 'in 3 days') into exact ISO 8601 timestamps, relative to a given reference time and UTC offset.

## Facts

- Endpoint: GET https://fastx402.tools/date-parse-natural?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-20
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/fastx402-lab-natural-language-date-parser-6abb23a5
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_eRsnt3ukKBMGjqswgGcKS

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-natural-language-date-parser-6abb23a5
```

Example prompt: The user wrote 'next friday at 5pm' — can you convert that to an exact UTC timestamp? My current time is 2026-10-18T10:00:00.000Z and I'm in UTC+3 (180 minutes offset).

## When to prefer this

Use this endpoint when users type freeform natural language dates or relative time expressions that need to be converted to machine-readable ISO 8601 timestamps. Ideal for scheduling agents, calendar tools, task managers, and reminder systems that need to interpret what humans write without assuming a fixed date format. Prefer it over regex-based parsers or LLM self-resolution when you need deterministic, timezone-aware parsing with a clear reference time anchor.

## Known failure modes

- Ambiguous date text with no clear resolution returns an empty results array
- Missing or malformed reference time causes a 400 error
- Invalid tz_offset value (non-numeric or out of range) may produce incorrect timestamps
- Highly context-dependent expressions (e.g. 'the usual time') return no results
- Non-date text passed in 'text' parameter returns empty results array

## How this service works

200 pay-per-call tools for AI agents, from $0.001 per request in USDC on Base or Solana with x402. No account, no API key.

## Output

Returns a JSON object with a 'results' array where each item contains the matched text span, a 'start' ISO 8601 timestamp, and an 'end' ISO 8601 timestamp (null for point-in-time expressions). Also echoes back the reference time and UTC offset used.

## 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": [
      "text",
      "reference"
     ],
     "properties": {
      "text": {
       "type": "string",
       "description": "Text with a date, e.g. next friday at 5pm"
      },
      "reference": {
       "type": "string",
       "description": "Reference time (usually now), ISO 8601"
      },
      "tz_offset": {
       "type": "string",
       "description": "The writer's UTC offset in minutes, e.g. 180 for Istanbul (default 0)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "results": {
       "type": "array",
       "items": {
        "type": "object",
        "properties": {
         "end": {
          "type": "null"
         },
         "text": {
          "type": "string"
         },
         "start": {
          "type": "string"
         }
        }
       }
      },
      "reference": {
       "type": "string"
      },
      "tz_offset": {
       "type": "integer"
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "results": [
   {
    "end": null,
    "text": "next friday at 5pm",
    "start": "2026-10-23T17:00:00.000Z"
   }
  ],
  "reference": "2026-10-18T10:00:00.000Z",
  "tz_offset": 0
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/fastx402-lab-natural-language-date-parser-6abb23a5/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from fastx402.tools](https://www.zero.xyz/host/fastx402.tools/llms.txt)
