# TextKit Describe Date

> TextKit Describe Date is a paid API for AI agents from textkit.johnaio281.workers.dev, paid per call via x402, $0.005/call, status unknown (last checked 2026-10-22).

Returns structured calendar metadata for a given date: weekday name, ISO week number, quarter, and leap-year/validity information.

## Facts

- Endpoint: GET https://textkit.johnaio281.workers.dev/api/tk/describe-date?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-22
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/textkit-describe-date-5b360161
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_QGEQ_1p7R_mvM1yYJfp1L

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 textkit-describe-date-5b360161
```

Example prompt: What day of the week, ISO week number, and quarter does October 21, 2026 fall on?

## When to prefer this

Choose this endpoint when you need lightweight, structured calendar metadata (weekday, ISO week, quarter) for a single date without standing up date-parsing infrastructure or managing API keys. It is ideal for AI agents that need to enrich date strings in pipelines, label events in scheduling workflows, or validate user-supplied dates, and where paying micro-amounts per call in USDC on Base is acceptable over a subscription.

## Known failure modes

- Invalid date values (e.g. month=13 or day=32) may return valid:false or an error response
- Missing required query parameters (year, month, or day) will result in a 400-level error
- Non-integer or out-of-range values may cause validation failures
- Payment failure via x402 will block the request before it reaches the compute logic

## How this service works

General-purpose text, Unicode and date utilities for AI agents: homoglyph folding and spoofed-domain detection, Unicode script detection, NFC/NFD normalization, grapheme counting, date description (weekday, ISO week, quarter, leap year), business-day counting, slugify, FNV-1a hashing, Shannon entropy, string format detection (uuid, email, url, ipv4, jwt, iban), byte-encoding detection and human-readable byte sizes. Pay per request in USDC on Base via x402 - no signup, no API key, no KYC.

## Output

A JSON object containing the ISO-formatted date string, a boolean indicating whether the date is valid, the calendar quarter (1–4), the full weekday name (e.g. 'Wednesday'), and the ISO week-of-year number (e.g. 43).

## 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": [
      "year",
      "month",
      "day"
     ],
     "properties": {
      "day": {
       "type": "integer",
       "maximum": 31,
       "minimum": 1
      },
      "year": {
       "type": "integer"
      },
      "month": {
       "type": "integer",
       "maximum": 12,
       "minimum": 1
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "iso": "2026-10-21",
  "valid": true,
  "quarter": 4,
  "dayOfWeek": "Wednesday",
  "weekOfYear": 43
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/textkit-describe-date-5b360161/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from textkit.johnaio281.workers.dev](https://www.zero.xyz/host/textkit.johnaio281.workers.dev/llms.txt)
