# Vextorium Business Days Calculator

> Vextorium Business Days Calculator is a paid API for AI agents from api.vextorium.com, paid per call via x402, $0.003/call, status unknown (last checked 2026-10-13).

Counts business days between two dates, or computes the date after adding N business days, skipping weekends and official public holidays in 150+ countries and their regions.

## Facts

- Endpoint: POST https://api.vextorium.com/dias-habiles-pais-pago?utm_source=zero.xyz
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/vextorium-business-days-calculator-c031e1e6
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_a0elQkNpEBxMxuDfRIYg_

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 vextorium-business-days-calculator-c031e1e6 -d '<json body>'
```

Example prompt: How many business days are there between November 20, 2026 and December 15, 2026 in the US? Also list any holidays that fall in that range.

## When to prefer this

Choose this endpoint when you need accurate business-day arithmetic that respects official public holidays across 150+ countries and their regional subdivisions — particularly for financial settlement windows, SLA deadlines, invoice due dates, or contract timelines. It is superior to simple weekday-counting logic because it incorporates country- and region-specific holiday databases.

## Known failure modes

- Missing required 'pais' (country code) or 'desde' (start date) returns a validation error
- Invalid or unsupported country code results in an error or empty holiday list
- Malformed date format (non-ISO) may cause a parse error
- Providing an end date before the start date may return zero or negative count
- Unsupported region/subdivision code may be silently ignored or cause an error

## How this service works

Business days in 150+ countries and their regions: count between two dates, or the date after adding N business days, skipping weekends and official holidays, listing the holidays in the range.

## Output

Returns the resulting date (as ISO string) and the day of week after adding N business days, or the count of business days between two dates, plus an array of public holidays that were skipped (each with date and name), and the total business days summed.

## 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",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "required": [
      "pais",
      "desde"
     ],
     "properties": {
      "pais": {
       "type": "string"
      },
      "desde": {
       "type": "string"
      },
      "hasta": {
       "type": "string"
      },
      "region": {
       "type": "string",
       "description": "Subdivision code (optional)"
      },
      "sumar_dias": {
       "type": "integer"
      }
     }
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": [
      "object",
      "null"
     ],
     "properties": {
      "pais": {
       "type": [
        "string",
        "null"
       ]
      },
      "desde": {
       "type": [
        "string",
        "null"
       ]
      },
      "region": {},
      "resultado": {
       "type": [
        "string",
        "null"
       ]
      },
      "dia_semana": {
       "type": [
        "string",
        "null"
       ]
      },
      "festivos_saltados": {
       "type": [
        "array",
        "null"
       ],
       "items": {
        "type": [
         "null",
         "object"
        ],
        "properties": {
         "fecha": {
          "type": [
           "string",
           "null"
          ]
         },
         "nombre": {
          "type": [
           "string",
           "null"
          ]
         }
        }
       }
      },
      "dias_habiles_sumados": {
       "type": [
        "number",
        "null"
       ]
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "pais": "US",
  "desde": "2026-11-20",
  "region": null,
  "resultado": "2026-11-30",
  "dia_semana": "Monday",
  "festivos_saltados": [
   {
    "fecha": "2026-11-26",
    "nombre": "Thanksgiving Day"
   }
  ],
  "dias_habiles_sumados": 5
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/vextorium-business-days-calculator-c031e1e6/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.vextorium.com](https://www.zero.xyz/host/api.vextorium.com/llms.txt)
