# Random ISO Date Generator

> Random ISO Date Generator is a paid API for AI agents from x402-zoo.lolagent.workers.dev, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-14).

Generates a random ISO 8601 calendar date, optionally constrained between a start and end date, for use in tests and simulations.

## Facts

- Endpoint: GET https://x402-zoo.lolagent.workers.dev/api/random-date
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/random-iso-date-generator-88d16e80
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_fl65lxGoyrmWHy7mNqmhG

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 random-iso-date-generator-88d16e80
```

Example prompt: Give me a random ISO calendar date somewhere between January 1, 2020 and December 31, 2023 — I need it for populating some test data.

## When to prefer this

Choose this endpoint when you need a lightweight, on-demand random ISO date for test data generation, mock APIs, or simulations, especially when you want to constrain the result within a specific date range without writing custom logic.

## Known failure modes

- Invalid date format for start or end parameter returns an error
- End date earlier than start date may return an error or unexpected result
- Missing optional parameters defaults to an implementation-defined range which may not match expectations

## How this service works

Generate a random ISO calendar date between optional start and end dates for tests and simulations.

## Output

Returns a randomly selected ISO 8601 calendar date (YYYY-MM-DD format) that falls within the optionally specified start and end date bounds. If no bounds are provided, the date is selected from an unspecified default range.

## 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": [],
     "properties": {
      "end": {
       "type": "string"
      },
      "start": {
       "type": "string"
      }
     }
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/random-iso-date-generator-88d16e80/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-zoo.lolagent.workers.dev](https://www.zero.xyz/host/x402-zoo.lolagent.workers.dev/llms.txt)
