# Delx Commerce Date Format API

> Delx Commerce Date Format API is a paid API for AI agents from commerce.delx.ai, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-01).

Converts an ISO-8601 date or timestamp string into a formatted human-readable date string with an explicit format descriptor

## Facts

- Endpoint: POST https://commerce.delx.ai/api/v1/x402/date-format?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-01
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/delx-commerce-date-format-api-dd874d30
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_xrPvCM1VZ2G0ni0bBoMhm

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 delx-commerce-date-format-api-dd874d30 -d '<json body>'
```

Example prompt: Can you format the date 2026-08-04T12:00:00Z into a clean, readable string for me using the Delx date-format API?

## When to prefer this

Choose this endpoint when you need a simple, pay-per-use date formatting utility with no signup or API key management, especially inside agent pipelines that already use USDC micropayments via x402. It is ideal for one-off or low-volume date conversion tasks where setting up a full datetime library is unnecessary overhead, and where you want verifiable, consistent output with an explicit format descriptor returned alongside the result.

## Known failure modes

- Invalid or malformed ISO-8601 input returns an error response
- Missing 'date' field in request body causes a validation error
- Date strings outside supported ranges may return unexpected results
- Payment failure via x402 protocol blocks the request before processing

## How this service works

Pay-per-result APIs for agents. No signup. Exact price. Verifiable delivery. USDC on Base + Solana via x402.

## Output

Returns a JSON object containing a 'text' field with the formatted date string (e.g. '2026-08-04 12:00:00'), a 'format' field with the Python-style format pattern used (e.g. '%Y-%m-%d %H:%M:%S'), and a 'schema' field identifying the response schema version ('delx/date-format/v1').

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "date": {
   "type": "string",
   "format": "date-time",
   "description": "ISO-8601 date or timestamp (e.g. 2026-08-04 or 2026-08-04T12:00:00Z)."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "text": "2026-08-04 12:00:00",
  "format": "%Y-%m-%d %H:%M:%S",
  "schema": "delx/date-format/v1"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/delx-commerce-date-format-api-dd874d30/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from commerce.delx.ai](https://www.zero.xyz/host/commerce.delx.ai/llms.txt)
