ToolAssay

Estimate statutory holiday entitlement days from weeks worked in the leave year

Estimate statutory holiday entitlement days from weeks worked in the leave year and days worked per week, using the GOV.UK 5.6-week baseline. Docs: https://www.brainiac.software/api/labour-tax/uk-holiday-entitlement-calculate

Answeringour last check, 2026-11-27
4 of 4checks answered this week
308 msmedian answer time
$0.02listed price per call
$0.02price 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://www.brainiac.software/api/v1/labour-tax/uk-holiday-entitlement-calculate

CategoryEverything else
Provider hostwww.brainiac.software
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-27 valid payment request 402$0.02 268 ms
2026-11-26 valid payment request 402$0.02 323 ms
2026-11-25 valid payment request 402$0.02 306 ms
2026-11-24 valid payment request 402$0.02 311 ms

Example input (from the provider)

{
  "body": {
    "daysWorkedPerWeek": 5,
    "statutoryWeeks": 5.6,
    "weeksWorkedInLeaveYear": 26
  },
  "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": {
            "daysWorkedPerWeek": {
              "description": "days Worked Per Week supplied by the caller for this operation.",
              "example": 5,
              "maximum": 7,
              "minimum": 0,
              "type": "number"
            },
            "statutoryWeeks": {
              "description": "statutory Weeks supplied by the caller for this operation.",
              "example": 5.6,
              "maximum": 8,
              "minimum": 0,
              "type": "number"
            },
            "weeksWorkedInLeaveYear": {
              "description": "weeks Worked In Leave Year supplied by the caller for this operation.",
              "example": 26,
              "maximum": 53,
              "minimum": 0,
              "type": "number"
            }
          },
          "required": [
            "weeksWorkedInLeaveYear",
            "daysWorkedPerWeek"
          ],
          "type": "object"
        },
        "bodyType": {
          "enum": [
            "json",
            "form-data",
            "text"
          ],
          "type": "string"
        },
        "method": {
          "enum": [
            "POST"
          ],
          "type": "string"
        },
        "type": {
          "const": "http",
          "type": "string"
        }
      },
      "required": [
        "type",
        "method",
        "bodyType",
        "body"
      ],
      "type": "object"
    },
    "output": {
      "properties": {
        "example": {
          "additionalProperties": true,
          "properties": {
            "daysWorkedPerWeek": {
              "description": "days Worked Per Week returned by this operation.",
              "type": "integer"
            },
            "entitlementDays": {
              "description": "entitlement Days returned by this operation.",
              "type": "integer"
            },
            "leaveYearFraction": {
              "description": "leave Year Fraction returned by this operation.",
              "type": "number"
            },
            "limitations": {
              "description": "Product caveats. Absence of a signal is not a safety approval.",
              "type": "array"
            },
            "retrievedAt": {
              "description": "ISO-8601 timestamp when upstream data was retrieved.",
              "type": "string"
            },
            "sources": {
              "description": "Provenance only \u2014 upstream name, url, and retrievedAt when available.",
              "items": {
                "additionalProperties": true,
                "properties": {
                  "retrievedAt": {
                    "description": "ISO-8601 timestamp when upstream data was retrieved.",
                    "type": "string"
                  },
                  "source": {
                    "description": "Named upstream source for this delayed reference series.",
                    "type": "string"
                  },
                  "status": {
                    "description": "Coverage status: complete or partial with real data is charged on HTTP 2xx; failed or empty payloads return non-2xx and are not charged.",
                    "type": "string"
                  },
                  "url": {
                    "description": "Requested public URL.",
                    "type": "string"
                  }
                },
                "type": "object"
              },
              "type": "array"
            },
            "statutoryDaysForFullYear": {
              "description": "statutory Days For Full Year returned by this operation.",
              "type": "integer"
            },
            "statutoryWeeks": {
              "description": "statutory Weeks returned by this operation.",
              "type": "number"
            },
            "weeksWorkedInLeaveYear": {
              "description": "weeks Worked In Leave Year returned by this operation.",
              "type": "integer"
            }
          },
          "type": "object"
        },
        "type": {
          "type": "string"
        }
      },
      "required": [
        "type"
      ],
      "type": "object"
    }
  },
  "required": [
    "input"
  ],
  "type": "object"
}

This page as JSON