# Swedish Bank Days Calculator

> Swedish Bank Days Calculator is a paid API for AI agents from agentkit-x402.erikssonanton2001.workers.dev, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-17).

Calculates a future or past Swedish bank/working day by adding (or subtracting) a number of bank days from a given start date, respecting Swedish public holidays and weekends.

## Facts

- Endpoint: GET https://agentkit-x402.erikssonanton2001.workers.dev/v1/bank-days?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-17
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/swedish-bank-days-calculator-dea7a02c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_E4ggG8TSOB_na5I_gxa_e

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability swedish-bank-days-calculator-dea7a02c
```

Example prompt: Starting from December 23 2026, what date is 2 Swedish bank days later? Use bank mode.

## When to prefer this

Use this endpoint when you need to compute Swedish bank or working day offsets specifically, accounting for Swedish public holidays. Prefer it over generic business-day calculators when Sweden-specific holiday calendars matter, such as for Swedish financial settlement, contract deadlines, or payroll scheduling.

## Known failure modes

- Invalid date format (non-YYYY-MM-DD) returns an error
- 'add' parameter exceeding 1000 causes a rejection
- Missing required 'from' or 'add' query parameters returns a validation error
- Payment failure via x402 prevents the call from completing

## How this service works

Email checks, DNS and email-authentication audits, website contact extraction, SEO audits, URL to Markdown and Swedish validators, paid per call in USDC with x402.

## Output

A JSON object containing the start date and whether it is a Swedish business day, the number of bank days added, the mode used (bank or work), and the computed result date along with whether that result date is itself a business day.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "from",
      "add"
     ],
     "properties": {
      "add": {
       "type": "string",
       "description": "Bank days to add (negative to go back, max 1000)."
      },
      "from": {
       "type": "string",
       "description": "Start date, YYYY-MM-DD."
      },
      "mode": {
       "enum": [
        "bank",
        "work"
       ],
       "type": "string",
       "description": "bank (default) or work."
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "add": 2,
  "from": "2026-12-23",
  "mode": "bank",
  "from_info": {
   "date": "2026-12-23",
   "is_business_day": true
  },
  "result_date": "2026-12-29",
  "result_info": {
   "date": "2026-12-29",
   "is_business_day": true
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/swedish-bank-days-calculator-dea7a02c/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agentkit-x402.erikssonanton2001.workers.dev](https://www.zero.xyz/host/agentkit-x402.erikssonanton2001.workers.dev/llms.txt)
