Skip to content

561 Group Market

HTML Parsing Diagnostics

Browse

HTML Parsing Diagnostics

Report native HTML parser error codes with line/column/UTF-16 indices and resulting document mode. Return up to64 diagnostics plus the total observed count and truncation flag; parser errors are paid diagnostic results. This is parsing/error recovery, not complete HTML conformance, accessibility or security validation. Limits65536 input UTF-8 bytes,8192 nodes/attributes,depth64,1048576 result JSON bytes. No browser, script execution or fetching.

Seller-listed; delivery not independently established — A listing is not a completed purchase. The live HTTP 402 challenge supplies current payment terms.

Price preview
from $0.0012 USDC
Method
POST
Endpoint
https://market.561.group/v1/data/html-parse-diagnostics
Seller
engineering
Source-rights state
not-declared
Offer NI
ni:///sha-256;-bd4p610ksgyWA-c2RKhre8JB-jalqzRo-rdAv-nQaE
Claim cell
ni:///sha-256;ZJ02kgks64Dcrga2V5fkHAKmLHFUDkogpJsw-0-_LQs
Operation law
ni:///sha-256;CdQt7j2FQWbMtaWGyDygBh6XAkPXglPRv2Xtbh6D4cI
  • html
  • html-parse-diagnostics
  • data
  • ni:///sha-256;-bd4p610ksgyWA-c2RKhre8JB-jalqzRo-rdAv-nQaE
  • @red-cup-engineering/html-structural-projection-service
  • engineering

The seller offers this resource under the stated method and contract. The price is a preview, not payment authorization, settlement or a promise of delivery.

Request contract
{
  "maxBytes": 1048576,
  "bodySchema": {
    "type": "object",
    "required": [
      "html"
    ],
    "properties": {
      "html": {
        "type": "string",
        "maxLength": 65536,
        "description": "Maximum65536decoded UTF-8 bytes; full JSON escaping fits the request envelope."
      }
    },
    "additionalProperties": false
  }
}
Seller-declared request example
{
  "method": "POST",
  "url": "https://market.561.group/v1/data/html-parse-diagnostics",
  "headers": {
    "accept": "application/json",
    "content-type": "application/json"
  },
  "body": {
    "html": "<!doctype html><p class=a class=b>&#x110000;"
  }
}
Unsigned request example (copy and run)
curl --include --request POST --header 'accept: application/json' --header 'content-type: application/json' --data-raw '{"html":"<!doctype html><p class=a class=b>&#x110000;"}' --url 'https://market.561.group/v1/data/html-parse-diagnostics'

An unsigned request may still reach a service or may be refused before a 402 price quote. It does not authorize or settle a payment. Review the request and approve current terms separately.

Declared output
{
  "schema": {
    "type": "object",
    "required": [
      "diagnostics",
      "totalCount",
      "truncated",
      "mode",
      "sourceByteLength",
      "offsetUnit"
    ],
    "properties": {
      "diagnostics": {
        "type": "array",
        "maxItems": 64,
        "items": {
          "type": "object",
          "required": [
            "code",
            "line",
            "column",
            "index"
          ],
          "properties": {
            "code": {
              "type": "string"
            },
            "line": {
              "type": [
                "integer",
                "null"
              ]
            },
            "column": {
              "type": [
                "integer",
                "null"
              ]
            },
            "index": {
              "type": [
                "integer",
                "null"
              ]
            }
          }
        }
      },
      "totalCount": {
        "type": "integer",
        "minimum": 0
      },
      "truncated": {
        "type": "boolean"
      },
      "mode": {
        "enum": [
          "no-quirks",
          "quirks",
          "limited-quirks"
        ]
      },
      "sourceByteLength": {
        "type": "integer",
        "minimum": 0
      },
      "offsetUnit": {
        "const": "UTF-16 code units"
      }
    }
  },
  "example": {
    "diagnostics": [
      {
        "code": "duplicate-attribute",
        "line": 1,
        "column": 32,
        "index": 31
      },
      {
        "code": "character-reference-outside-unicode-range",
        "line": 1,
        "column": 45,
        "index": 44
      }
    ],
    "totalCount": 2,
    "truncated": false,
    "mode": "no-quirks",
    "sourceByteLength": 44,
    "offsetUnit": "UTF-16 code units"
  }
}

How to buy with x402

  1. Review the request before sending it. It may still reach a service. An admitted unpaid request receives HTTP 402 and a PAYMENT-REQUIRED header with its current amount, asset, network and payee.
  2. Your x402 client signs the accepted terms and repeats the same request with PAYMENT-SIGNATURE.
  3. A successful settled response contains the purchased result and its PAYMENT-RESPONSE receipt.

How x402 purchasing works

Source and machine access

The source SKU, claim cell and operation law above are the identities used by the machine catalogue and this page.

Need a correction or accessible service help? Report this offer problem. Do not include wallet recovery phrases, passwords, payment signatures or other secrets in an inquiry.