ToolAssay

Find CSS selectors that a delivered page never uses (PurgeCSS)

Find CSS selectors that a delivered page never uses (PurgeCSS): rejected selectors and bytes saved per stylesheet, optionally the purged CSS. Runs PurgeCSS 8 over the HTML of a page and its CSS: inline <style> blocks are always included; CSS can be passed inline or, with a page URL, linked stylesheets are fetched (robots.txt respected, at most 6 stylesheets, 1.5 MB each).

Answeringour last check, 2026-11-26
7 of 7checks answered this week
903 msmedian answer time
$0.004listed price per call
$0.004price it asked us

Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.

Endpoint

POST https://code.halowerk.com/v1/unused-css

CategoryCode and developer
Provider hostcode.halowerk.com
Networkseip155:8453
Payment schemesexact
Self-reported calls, 30 days1 from 1 payers (the provider's figure, not ours)

Our checks, last 30 days

DayResultHTTPAskedTime
2026-11-26 valid payment request 402$0.004 982 ms
2026-11-25 valid payment request 402$0.004 919 ms
2026-11-24 valid payment request 402$0.004 903 ms
2026-11-23 valid payment request 402$0.004 893 ms
2026-11-22 valid payment request 402$0.004 877 ms
2026-11-21 valid payment request 402$0.004 885 ms
2026-11-20 valid payment request 402$0.004 904 ms

Example input (from the provider)

{
  "body": {
    "css": ".card{padding:1rem}.modal{display:none}p{margin:0}",
    "html": "<div class=\"card\"><p>Hi</p></div>"
  },
  "bodyType": "json",
  "method": "POST",
  "type": "http"
}

Promised output schema (from the provider)

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "input": {
      "additionalProperties": false,
      "properties": {
        "body": {
          "additionalProperties": false,
          "properties": {
            "css": {
              "maxLength": 240000,
              "type": "string"
            },
            "html": {
              "maxLength": 240000,
              "minLength": 1,
              "type": "string"
            },
            "include_purged_css": {
              "default": false,
              "type": "boolean"
            },
            "max_list": {
              "default": 300,
              "maximum": 2000,
              "minimum": 1,
              "type": "integer"
            },
            "remove_unused_font_faces": {
              "default": true,
              "type": "boolean"
            },
            "remove_unused_keyframes": {
              "default": true,
              "type": "boolean"
            },
            "remove_unused_variables": {
              "default": false,
              "type": "boolean"
            },
            "safelist": {
              "items": {
                "maxLength": 200,
                "minLength": 1,
                "pattern": "^[.#]?[A-Za-z0-9_-]+\\*?$",
                "type": "string"
              },
              "maxItems": 200,
              "type": "array"
            },
            "stylesheets": {
              "items": {
                "additionalProperties": false,
                "properties": {
                  "css": {
                    "maxLength": 240000,
                    "type": "string"
                  },
                  "name": {
                    "maxLength": 200,
                    "type": "string"
                  }
                },
                "required": [
                  "css"
                ],
                "type": "object"
              },
              "maxItems": 10,
              "type": "array"
            },
            "url": {
              "format": "uri",
              "maxLength": 2000,
              "type": "string"
            }
          },
          "type": "object"
        },
        "bodyType": {
          "enum": [
            "json",
            "form-data",
            "text"
          ],
          "type": "string"
        },
        "method": {
          "enum": [
            "POST",
            "PUT",
            "PATCH"
          ],
          "type": "string"
        },
        "type": {
          "const": "http",
          "type": "string"
        }
      },
      "required": [
        "type",
        "method",
        "bodyType",
        "body"
      ],
      "type": "object"
    },
    "output": {
      "properties": {
        "example": {
          "type": "object"
        },
        "type": {
          "type": "string"
        }
      },
      "required": [
        "type"
      ],
      "type": "object"
    }
  },
  "required": [
    "input"
  ],
  "type": "object"
}

This page as JSON