temsor API
← Whole catalogue

Calendar

Part of the catalogue. The same key, envelope and billing cover every other endpoint too.

Turkish Business Days

  • No account needed to try any endpoint on this page.
  • Deterministic endpoints answer from cache in single-digit milliseconds.
  • Every response carries a receipt: credits charged, cache status, duration.
POST/v1/tr/business-days
{
  "start": "2026-03-16",
  "addDays": 10
}
no request sent yet
Press Run to call the live API from your browser.
1endpoints
data points banked
time series
median response

Why this exists

Built for hostile input

A Turkish address arrives as "Cd." or "Cad." or "Caddesi", with the flat number glued to the building number. Generic parsers drop half of it silently. This one tells you what it could not place.

History cannot be backfilled

The exchange-rate archive grows every business day and each point keeps its source URL and content hash. A competitor can read today’s bulletin too — nobody can produce last quarter’s.

You only pay for work

Repeated inputs come from cache and cost zero credits. If a response ever fails its own schema, the call is refunded automatically.

Endpointsexpand any row to see the parameters and call it live

Calendar1

/v1/tr/business-days Turkish Business Days deterministic 1 credit

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

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.

Parameters

start* string Başlangıç tarihi (YYYY-AA-GG).
addDays integer Bu kadar İŞ GÜNÜ ekle/çıkar.
end string Verilirse aradaki iş günü sayılır.
countHalfDaysAsWork boolean Arife yarım günleri iş günü sayılsın mı? default true
POST/v1/tr/business-days
{
  "start": "2026-03-16",
  "addDays": 10
}
no request sent yet
Press Run to call the live API from your browser.

Pricingone key covers every endpoint

Free
Free
credits
2,000
Rate limit
2/s
Try it now
Starter
$19/mo
credits
50,000
Rate limit
10/s
most picked
Pro
$79/mo
credits
300,000
Rate limit
30/s
Scale
$299/mo
credits
2,000,000
Rate limit
100/s

Credits are consumed per call and cache hits are free. Requests without a key run on a narrow per-IP demo quota so you can evaluate before signing up.

The API key is e-mailed the moment payment clears. Upgrades keep the same key, so your integration is never broken.

Quickstart

cURL

curl -s https://api.temsor.com/v1/tr/business-days \
  -H "content-type: application/json" \
  -H "x-api-key: fk_live_…" \
  -d '{"start":"2026-03-16","addDays":10}'

JavaScript

const res = await fetch("https://api.temsor.com/v1/tr/business-days", {
  method: "POST",
  headers: { "content-type": "application/json", "x-api-key": KEY },
  body: JSON.stringify({"start":"2026-03-16","addDays":10})
});
const { data } = await res.json();

Python

import httpx
r = httpx.post("https://api.temsor.com/v1/tr/business-days",
    headers={"x-api-key": KEY},
    json={"start":"2026-03-16","addDays":10})
data = r.json()["data"]