# Delx Commerce — HTML Meta Refresh Parse

> Delx Commerce — HTML Meta Refresh Parse 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).

Parses HTML content to extract meta-refresh redirect targets and delay durations from HTTP-equiv refresh tags

## Facts

- Endpoint: POST https://commerce.delx.ai/api/v1/x402/html-meta-refresh-parse?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-html-meta-refresh-parse-187a7474
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_PfA0y7H-zYxyaSQL7cnn2

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-html-meta-refresh-parse-187a7474 -d '<json body>'
```

Example prompt: Parse this HTML and tell me where the meta refresh tag redirects to and how long the delay is — the base URL is https://example.com/landing

## When to prefer this

Use this endpoint when you need to programmatically detect and resolve HTML meta-refresh redirects in page content without executing JavaScript or making additional HTTP requests. Ideal for web crawlers, reliability monitors, or migration audits that need to follow or log client-side redirect chains at low cost ($0.001 per call) with cryptographic audit evidence and no data retention.

## Known failure modes

- HTML content missing or empty — no refresh tag found, result may be null
- base_url malformed or too long — URL resolution may fail
- HTML content exceeds 8192 character limit — request rejected
- No meta refresh tag present in content — result returns null target_url
- Malformed meta refresh tag — parsing may fail or return partial data

## 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 the resolved target URL and delay in seconds extracted from the HTML meta refresh tag, along with audit evidence including input hash, no-retention confirmation, and zero external calls made during processing.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "content": {
   "type": "string",
   "maxLength": 8192,
   "description": "Content supplied to Html Meta Refresh Parse; used only for this bounded calculation and processed in memory without retention."
  },
  "base_url": {
   "type": "string",
   "maxLength": 8192,
   "description": "Base URL supplied to Html Meta Refresh Parse; used only for this bounded calculation and processed in memory without retention."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "result": {
   "target_url": "https://example.com/login",
   "delay_seconds": 5
  },
  "schema": "delx/util-html-meta-refresh-parse/v1",
  "status": "pass",
  "evidence": {
   "retained": false,
   "input_sha256": "8cbdc3fe25d5d5f8eab265aca7deadc5d12d56ba7d562d20bea5478d4c992b47",
   "external_calls": 0
  },
  "operation": "web_reliability:html_meta_refresh_parse"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/delx-commerce-html-meta-refresh-parse-187a7474/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)
