Skip to content
HALOWERK

Formatwerk

har analyze

Reads log.entries of a HAR 1.2 file (DevTools export). First party is the site of the first HTML document or the supplied host; sites are compared by registrable domain from the Mozilla Public Suffix List (version 2026-10-31, MPL 2.0), so static.example.co.uk is first party and tracker.other.co.uk is not. Reports requests above the slow threshold with the dominant phase (dns, connect, ssl, wait, receive), status codes, per-host and per-third-party totals, every cookie set via Set-Cookie or.

POST https://format.halowerk.com/v1/har-analyze

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
harobjectYesThe parsed HAR document ({"log": {...}}).
first_partystringNoOptional first-party host or URL; default: site of the first HTML document.
slow_msnumberNoThreshold for slow requests in milliseconds.
topintegerNoNumber of slow requests to list.
Show full input schema
{
  "type": "object",
  "additionalProperties": false,
  "required": [
    "har"
  ],
  "properties": {
    "har": {
      "type": "object",
      "description": "The parsed HAR document ({\"log\": {...}})."
    },
    "first_party": {
      "type": "string",
      "maxLength": 300,
      "description": "Optional first-party host or URL; default: site of the first HTML document."
    },
    "slow_ms": {
      "type": "number",
      "minimum": 0,
      "maximum": 600000,
      "default": 1000,
      "description": "Threshold for slow requests in milliseconds."
    },
    "top": {
      "type": "integer",
      "minimum": 1,
      "maximum": 100,
      "default": 10,
      "description": "Number of slow requests to list."
    }
  }
}

Open original schema

Published input example

{
  "har": {
    "log": {
      "version": "1.2",
      "creator": {
        "name": "HALOWERK capture fixture",
        "version": "1"
      },
      "pages": [
        {
          "startedDateTime": "2026-10-01T10:00:00.000Z",
          "id": "page_1",
          "title": "https://halowerk.com/",
          "pageTimings": {
            "onContentLoad": 820,
            "onLoad": 1460
          }
        }
      ],
      "entries": [
        {
          "startedDateTime": "2026-10-01T10:00:00.000Z",
          "time": 310,
          "request": {
            "method": "GET",
            "url": "https://halowerk.com/",
            "headers": [],
            "cookies": []
          },
          "response": {
            "status": 200,
            "headers": [
              {
                "name": "Content-Type",
                "value": "text/html; charset=utf-8"
              },
              {
                "name": "Content-Encoding",
                "value": "br"
              }
            ],
            "cookies": [],
            "content": {
              "size": 5000,
              "mimeType": "text/html; charset=utf-8"
            },
            "redirectURL": "",
            "headersSize": 200,
            "bodySize": 1800,
            "_transferSize": 2000
          },
          "timings": {
            "blocked": 1,
            "dns": 20,
            "connect": 40,
            "ssl": 30,
            "send": 1,
            "wait": 200,
            "receive": 18
          }
        },
        {
          "startedDateTime": "2026-10-01T10:00:00.400Z",
          "time": 1250,
          "request": {
            "method": "GET",
            "url": "https://halowerk.com/",
            "headers": [],
            "cookies": []
          },
          "response": {
            "status": 200,
            "headers": [
              {
                "name": "Content-Type",
                "value": "application/javascript"
              }
            ],
            "cookies": [],
            "content": {
              "size": 48000,
              "mimeType": "application/javascript"
            },
            "redirectURL": "",
            "headersSize": 150,
            "bodySize": 48000,
            "_transferSize": 48150
          },
          "timings": {
            "blocked": 0,
            "dns": 0,
            "connect": 0,
            "ssl": 0,
            "send": 1,
            "wait": 150,
            "receive": 1099
          }
        },
        {
          "startedDateTime": "2026-10-01T10:00:00.500Z",
          "time": 95,
          "request": {
            "method": "GET",
            "url": "https://tracker.other.co.uk/pixel.gif",
            "headers": [],
            "cookies": []
          },
          "response": {
            "status": 200,
            "headers": [
              {
                "name": "Cache-Control",
                "value": "no-store"
              }
            ],
            "cookies": [],
            "content": {
              "size": 43,
              "mimeType": "image/gif"
            },
            "redirectURL": "",
            "headersSize": 300,
            "bodySize": 43,
            "_transferSize": 343
          },
          "timings": {
            "blocked": 0,
            "dns": 5,
            "connect": 5,
            "ssl": 5,
            "send": 0,
            "wait": 80,
            "receive": 0
          }
        },
        {
          "startedDateTime": "2026-10-01T10:00:00.600Z",
          "time": 40,
          "request": {
            "method": "GET",
            "url": "https://halowerk.com/",
            "headers": [],
            "cookies": []
          },
          "response": {
            "status": 404,
            "headers": [],
            "cookies": [],
            "content": {
              "size": 0,
              "mimeType": "text/plain"
            },
            "redirectURL": "",
            "headersSize": 100,
            "bodySize": 0,
            "_transferSize": 100
          },
          "timings": {
            "blocked": 0,
            "dns": 0,
            "connect": 10,
            "send": 0,
            "wait": 30,
            "receive": 0
          }
        }
      ]
    }
  },
  "slow_ms": 1000
}

Result & documentation

Machine-readable documentation of this hub

Source of this page: the published HALOWERK catalog. Updated: 2026-11-17 UTC.

More endpoints in this hub

All endpoints in this hub โ†’