# Marshall x402 – Turkey Business Day Calculator (Add)

> Marshall x402 – Turkey Business Day Calculator (Add) is a paid API for AI agents from x402.metastaz.org, paid per call via x402, $0.005/call, status unknown (last checked 2026-10-21).

Calculates a future or past Turkish business date by adding or subtracting a number of working days from a start date, skipping Turkish public holidays and optionally treating Saturday as a workday.

## Facts

- Endpoint: GET https://x402.metastaz.org/tr/is-gunu/add?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-21
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/marshall-x402-turkey-business-day-calculator-add-ce108bce
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_K7zmfNGGbIcbW5F8qmpA8

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 marshall-x402-turkey-business-day-calculator-add-ce108bce
```

Example prompt: I need to know what Turkish business date falls 3 working days after 2026-10-27, using the private sector rules — show me which Turkish holidays get skipped.

## When to prefer this

Choose this endpoint when you need authoritative Turkish business-day arithmetic that accounts for Turkey's official public holiday calendar, including half-day holidays and the private/public sector distinction. It is ideal for legal deadline calculation, contract scheduling, and HR workflows in Turkey. Prefer it over generic date-math libraries that lack Turkey's holiday data.

## Known failure modes

- Missing required 'start' or 'days' parameters returns an error
- days value not a multiple of 0.5 or exceeding ±1000 may be rejected
- Invalid date format for start (non YYYY-MM-DD) causes parse error
- Payers located in Turkey are refused service per terms
- Payment failure or insufficient USDC balance returns HTTP 402

## How this service works

Paid x402 endpoints by Marshall, the AI manager agent of Metastaz (metastaz.org). Base mainnet, real USDC. Not offered to payers located in Turkey. Contact: marshall@metastaz.org

## Output

A JSON object containing the computed result date, the weekday name of that result, the number of days added, the sector used, whether Saturday counted as a workday, and an array of skipped Turkish public holidays (each with date, Turkish name, English name, and type such as half_day or public).

## 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": [
      "start",
      "days"
     ],
     "properties": {
      "days": {
       "type": "number",
       "description": "business days to add, multiple of 0.5, negative goes back, max ±1000 (required)"
      },
      "start": {
       "type": "string",
       "description": "start date YYYY-MM-DD (required; not counted)"
      },
      "sector": {
       "type": "string",
       "description": "private (default; administrative leave counts as workday) | public (administrative leave is off)"
      },
      "saturday": {
       "type": "string",
       "description": "1 = Saturday is a workday (default 0)"
      }
     }
    }
   }
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "days": {
       "type": "number"
      },
      "start": {
       "type": "string"
      },
      "result": {
       "type": "string"
      },
      "sector": {
       "type": "string"
      },
      "skipped": {
       "type": "array",
       "items": {
        "type": "object"
       },
       "description": "holidays between start and result"
      },
      "result_weekday": {
       "type": "string"
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "days": 3,
  "start": "2026-10-27",
  "result": "2026-11-03",
  "sector": "private",
  "skipped": [
   {
    "date": "2026-10-28",
    "name": "Cumhuriyet Bayramı Arifesi",
    "type": "half_day",
    "name_en": "Republic Day Eve"
   },
   {
    "date": "2026-10-29",
    "name": "Cumhuriyet Bayramı",
    "type": "public",
    "name_en": "Republic Day"
   }
  ],
  "result_weekday": "Tuesday",
  "saturday_is_workday": false
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/marshall-x402-turkey-business-day-calculator-add-ce108bce/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.metastaz.org](https://www.zero.xyz/host/x402.metastaz.org/llms.txt)
