# Delx Commerce — JSON Timestamp Fields Check

> Delx Commerce — JSON Timestamp Fields Check 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).

Validates that specified fields within a JSON object contain timestamp values falling within a given epoch range, returning a pass/fail result with details on any invalid fields.

## Facts

- Endpoint: POST https://commerce.delx.ai/api/v1/x402/json-timestamp-fields-check?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-json-timestamp-fields-check-25bba1bb
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_bZALqF7s-rWEhuozGz6pP

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-json-timestamp-fields-check-25bba1bb -d '<json body>'
```

Example prompt: Check whether the 'created_at' and 'updated_at' fields in this JSON object have timestamps between epoch 1700000000 and 1800000000 — flag any that are out of range.

## When to prefer this

Choose this endpoint when you need a lightweight, pay-per-use, no-signup timestamp validation check for JSON objects with verifiable, tamper-evident results (SHA-256 input hash). It is ideal for AI agents that need to enforce data freshness or temporal constraints on JSON payloads without standing up their own validation logic, and when auditability (retained: false, external_calls: 0) is important. Prefer it over custom code when processing is bounded, stateless, and the $0.001 USDC cost per call is acceptable.

## Known failure modes

- Fields specified do not exist in the provided object — invalid_fields list will be populated
- Timestamp values are outside the specified minimum/maximum epoch range — result.passed will be false
- Malformed JSON object input causing a 400 error
- Too many properties in object (>128) or too many fields (>256) causing a validation error
- Missing required parameters resulting in an error response

## 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 indicating whether all specified timestamp fields passed validation (passed: true/false), a list of any invalid fields, the overall status ('pass' or 'fail'), the operation name, and an evidence block containing the SHA-256 hash of the input and confirmation that no data was retained and no external calls were made.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "fields": {
   "type": "array",
   "items": {
    "type": "string",
    "maxLength": 8192
   },
   "maxItems": 256,
   "description": "Fields supplied to JSON Timestamp Fields Check; used only for this bounded calculation and processed in memory without retention."
  },
  "object": {
   "type": "object",
   "description": "Object supplied to JSON Timestamp Fields Check; used only for this bounded calculation and processed in memory without retention.",
   "maxProperties": 128,
   "additionalProperties": true
  },
  "maximum_epoch": {
   "type": "integer",
   "description": "Maximum Epoch supplied to JSON Timestamp Fields Check; used only for this bounded calculation and processed in memory without retention."
  },
  "minimum_epoch": {
   "type": "integer",
   "description": "Minimum Epoch supplied to JSON Timestamp Fields Check; used only for this bounded calculation and processed in memory without retention."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "result": {
   "passed": true,
   "invalid_fields": []
  },
  "schema": "delx/util-json-timestamp-fields-check/v1",
  "status": "pass",
  "evidence": {
   "retained": false,
   "input_sha256": "c12d2ec16714eac59b617fadcb92ec5fbee3fc2095362925f77691ae25cca0ee",
   "external_calls": 0
  },
  "operation": "data_batch:json_timestamp_fields_check"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/delx-commerce-json-timestamp-fields-check-25bba1bb/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)
