# W3C HTML validator

Validate the HTML of a public web page with the W3C Nu Html Checker: each message with its type (error, info; warnings are info with subType 'warning'), line. Needs url. Served by W3C Validators.

Validate the HTML of a public web page with the W3C Nu Html Checker: each message with its type (error, info; warnings are info with subType 'warning'), line and column, text and the offending extract. level 'error' keeps only errors, 'warning' errors and warnings (default), 'info' everything. An empty messages list means the page is valid at that level.

- Tool ID: `w3c/html-validator`
- Provider: [W3C Validators](/providers/w3c.md)
- Capability: [Website technologies](/tools/developer-data/web-technologies.md)
- Price: no charge per call
- Authentication: an authorised Agentik workspace is required for execution, including zero-price tools.

## Pricing contract

No charge per call. A workspace is still needed so your agent can call it.


```json
{
  "model": "per_call",
  "amountUsd": 0
}
```

## Complete input schema


```json
{
  "type": "object",
  "properties": {
    "url": {
      "type": "string",
      "pattern": "^https?://[^\\s]{4,2000}$",
      "description": "Page URL to check, e.g. 'https://www.agentik.cc/'"
    },
    "level": {
      "type": "string",
      "enum": [
        "error",
        "warning",
        "info"
      ],
      "default": "warning",
      "description": "Lowest message level returned, e.g. 'error'"
    }
  },
  "required": [
    "url"
  ],
  "additionalProperties": false
}
```

## Published example

This is the provider tool’s published example. Replace example values with the user’s requested inputs, respecting the schema; do not execute an example merely to test a connection.


```json
{
  "tool_id": "w3c/html-validator",
  "input": {
    "url": "https://www.agentik.cc/"
  }
}
```

## Execute and retrieve

Inspect again before execution, explain the price and obtain the required authority. Use MCP run_tool or POST /v1/run with this tool ID, valid input and an idempotency key. Save the returned run ID and follow the actual state. If Agentik answers that the tool is temporarily unavailable, do not retry it blindly; use discovery to propose an alternative.

A partial or uncertain result can still have consumed provider resources. Consult [billing](/docs/billing.md), [idempotency](/docs/idempotency.md) and [asynchronous results](/docs/async.md).

Licence: W3C free validation service (use reasonably).

[Provider documentation](https://github.com/validator/validator/wiki/Service-%C2%BB-HTTP-interface)

[REST inspection](https://api.agentik.cc/v1/tools/w3c/html-validator) · [OpenAPI](/openapi.json) · [Connection guide](/connect.md)

---

[HTML page](/providers/w3c/html-validator) · [Agent index](/llms.txt)
