Deadline in business days

Return the date that is N business days after (or before, with a negative N) a start date, for a country or subdivision.

CHF 0.002 / callCall itTry it
Portable diptych sundial, 1518
Portable diptych sundial1518

Details

Covers: the same regions and years as business-days (2000–2035).

Rule: the start date itself is not counted. With days = 0, the result is the start date if it is a business day, else the next business day.

Price: CHF 0.002 per call (first 100 calls per day free).

Example: {"date":"2026-12-23","days":5,"region":"CH-ZH"} → "2026-12-31".

Call it

REST
curl -X POST https://api.tausendwerk.xyz/v1/add-business-days \
  -H "Content-Type: application/json" \
  -d '{"date":"2026-12-23","days":5,"region":"CH-ZH"}'
MCP tool name
add_business_days

After the free 100 calls per day, add a key: Authorization: Bearer tw_live_…. Pricing

Try it

Runs against the live API with the free allowance.

Input schema JSON Schema
{
  "type": "object",
  "additionalProperties": false,
  "required": [
    "date",
    "days",
    "region"
  ],
  "properties": {
    "date": {
      "type": "string",
      "format": "date",
      "description": "ISO date, YYYY-MM-DD"
    },
    "days": {
      "type": "integer",
      "minimum": -2000,
      "maximum": 2000
    },
    "region": {
      "type": "string",
      "pattern": "^[A-Z]{2}(-[A-Z0-9]{1,3})?$",
      "description": "Country code (CH, DE, AT, FR, IT, LI, GB, US, ES and 23 more EU/EEA codes) or subdivision: CH-ZH, DE-BY, AT-9, GB-SCT, US-CA, FR-57"
    },
    "weekend": {
      "type": "array",
      "items": {
        "type": "integer",
        "minimum": 1,
        "maximum": 7
      },
      "uniqueItems": true,
      "maxItems": 6,
      "default": [
        6,
        7
      ],
      "description": "ISO weekdays that are not working days. 1 = Monday, 7 = Sunday."
    },
    "closed_dates": {
      "type": "array",
      "items": {
        "type": "string",
        "format": "date",
        "description": "ISO date, YYYY-MM-DD"
      },
      "maxItems": 366,
      "description": "Extra closed days, such as company holidays."
    }
  },
  "examples": [
    {
      "date": "2026-12-23",
      "days": 5,
      "region": "CH-ZH"
    }
  ]
}

More in Dates and deadlines