---
title: "Adds business days or counts them between two dates, accounting for Turkish public and religious holidays including half-day eves."
method: GET
path: "/v1/tr/business-days"
tags: ["Calendar"]
---

# Adds business days or counts them between two dates, accounting for Turkish public and religious holidays including half-day eves.

`GET /v1/tr/business-days`

## Request

- Base URL: `https://api.temsor.com`
- URL: `https://api.temsor.com/v1/tr/business-days`
- Auth: one of:
  - HTTP bearer
  - API key in header `x-api-key`

Ramadan and Sacrifice feasts follow the Hijri calendar and cannot be derived reliably by formula, so announced dates are read from a table; years without an official announcement are returned with `confirmed:false` rather than guessed silently. For delivery promises, SLA clocks, payment terms and shipping estimates.

**Credits per call:** 1 · **Operation id:** `tr_business_days`

In the GET form every field is a query parameter; object and array fields are JSON-encoded.

## Query parameters

- `start` string, required: Start date (YYYY-MM-DD).
- `addDays` integer: Add/subtract this many business days (not calendar days).
- `end` string: If set, count business days between start and this date.
- `countHalfDaysAsWork` boolean: Count Arife half-days as working days?

## Response `200`

Success

- object
  - `ok` unknown, required
  - `data` object, required
    - `mode` 'add' | 'count', required
    - `start` string, required
    - `end` string, nullable, required
    - `businessDays` number, nullable, required
    - `resultDate` string, nullable, required
    - `holidaysInRange` object[], required
      - `date` string, required
      - `name` string, required
      - `type` 'resmi' | 'dini', required
      - `half` boolean, required
      - `confirmed` boolean, required
    - `warnings` string[], required
  - `meta` object
    - `credits` integer
    - `cached` boolean
    - `requestId` string
    - `durationMs` integer

## Other responses

- `400`: Error
- `401`: Error
- `402`: Error
- `429`: Rate limit exceeded — wait `Retry-After` seconds. The RateLimit headers are sent here too.

---

[API](https://skmtc.dev/temsor/apis/temsor-api.md) · [All operations](https://skmtc.dev/temsor/apis/temsor-api/llms.txt) · [OpenAPI document](https://skmtc.dev/temsor/apis/temsor-api/revisions/19702107e15a?raw)
