# Working Days Calculator

Working days between two dates, or a date shifted by N business days — weekends and the holiday table folded in.

- Method: `GET`
- Path: `/v1/calendar/working-days`

**Parameters**

| Name | Type | | Description |
|---|---|---|---|
| `from` | string | required | `YYYY-MM-DD`. |
| `to` | string | optional | `YYYY-MM-DD`, in count mode. |
| `add_working_days` | integer | optional | Shift mode: N business days from `from` (negative goes back). |

**Example request**

```bash
curl https://api.diraz.ae/v1/calendar/working-days \
  -H "Authorization: Bearer drz_live_…"
```

**Example response**

```json
{
  "data": {
    "mode": "count",
    "from": "2026-08-01",
    "to": "2026-08-31",
    "working_days": 19,
    "calendar_days": 31
  },
  "meta": { "request_id": "req_7Q2fK4mZ" }
}
```