# Delx Commerce — JSON URL Fields Check

> Delx Commerce — JSON URL 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 valid URLs, returning a pass/fail result with a list of any invalid fields.

## Facts

- Endpoint: POST https://commerce.delx.ai/api/v1/x402/json-url-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-url-fields-check-3026bc72
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_yp0S_iHzS4r48mPTp2IVd

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-url-fields-check-3026bc72 -d '<json body>'
```

Example prompt: Can you check this JSON object to make sure the fields 'thumbnail_url', 'profile_url', and 'website' all contain valid URLs? Here's the object: {"thumbnail_url": "https://example.com/img.png", "profile_url": "not-a-url", "website": "https://site.com"}.

## When to prefer this

Choose this endpoint when you need a lightweight, verifiable, pay-per-use URL field validation check on a JSON object without any signup or subscription. It is ideal for agents that need to confirm URL integrity in structured payloads before downstream processing, and when auditability matters — the SHA-256 input hash and zero-retention guarantee make it suitable for privacy-sensitive workflows. Prefer it over general-purpose HTTP validation libraries when you want a hosted, chain-verifiable result.

## Known failure modes

- Field names listed do not exist in the provided object — may result in them being flagged as invalid or ignored
- Malformed input JSON causes a 400-level error
- Exceeding 256 field items or 128 object properties triggers input size validation errors
- Non-string values in URL fields may be flagged as invalid URLs
- Network or payment failure via x402 protocol prevents the call from completing

## 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 URL fields passed validation (passed: true/false), a list of any invalid fields (invalid_fields), an operation status string, and an evidence block including whether input was retained (always false), a SHA-256 hash of the input for verifiability, and the number of external calls made (always 0 — processed entirely in memory).

## Request schema (JSON Schema)

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

## Response schema (JSON Schema)

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

## More

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