Business Days API (Tachles Tools) Account API
Your key and this API.
Your key and this API.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/tachlestools-com:tachlestools-com-account-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: 'Business Days API: Working Days & Holidays Account API'
version: 1.1.0
description: 'Working-day arithmetic with real public holidays: add business days to a date, count the working days between two dates, check one date, or list a year''s public holidays.
115 calendars: countries and their regions (for example US, GB-ENG, DE-BY). Years 2010 to 2045.
**Keys.** Every call except `/v1/calendars`, `/v1/about` and `/health` needs a key in the `X-Api-Key` header (or `?key=`).
| Plan | Calls a month | Price |
|---|---|---|
| Free | 100 | $0, no end date, no credit card, one key per email address |
| 14-day trial | 1,000 | $0 |
| Starter | 10,000 | $49 a year |
| Pro | 100,000 | $149 a year |
| Business | 1,000,000 | $399 a year |
Get a key at https://tachlestools.com/en/business-days-api/. Calls are counted per calendar month (UTC); `/v1/usage` is not counted.
**Rules.** `workday` works like WORKDAY in Excel and Google Sheets (the start day is not counted). `networkdays` works like NETWORKDAYS (both ends counted).
**Errors.** Every error is JSON: `{"error": "", "message": ""}`.
Holiday data: the date-holidays project (CC BY 3.0), checked against a second source and corrected from official lists. See `/v1/about`.'
contact:
name: Tachles Tools
url: https://tachlestools.com/en/support/
email: support@tachlestools.com
termsOfService: https://tachlestools.com/en/terms/
servers:
- url: https://api.tachlestools.com
security:
- ApiKeyHeader: []
- ApiKeyQuery: []
tags:
- name: Account
description: Your key and this API.
paths:
/v1/usage:
get:
tags:
- Account
operationId: getUsage
summary: Your plan and the calls used this month
description: Shows your plan, when the key ends (`null` for a free key) and the calls used this calendar month. This call is not counted.
responses:
'200':
description: OK
content:
application/json:
schema:
$ref: '#/components/schemas/Usage'
examples:
free_key:
summary: GET /v1/usage
value:
plan: free
expires: null
month: 2026-11
used: 0
limit: 100
remaining: 100
'401':
$ref: '#/components/responses/NoKey'
'403':
$ref: '#/components/responses/Expired'
'500':
$ref: '#/components/responses/ServerError'
/v1/about:
get:
tags:
- Account
operationId: getAbout
summary: About this API and its data
security: []
description: Version, number of calendars, years covered and where the holidays come from. No key needed.
responses:
'200':
description: OK
content:
application/json:
schema:
$ref: '#/components/schemas/About'
examples:
about:
summary: GET /v1/about
value:
name: Business Days API
version: 1.1.0
calendars: 115
years:
first: 2010
last: 2045
data: 'Public holidays from the date-holidays project (data licensed CC BY 3.0, https://github.com/commenthol/date-holidays), checked day by day against a second independent source and corrected from official government lists. Israel: Yom Tov days and Independence Day from the Hebrew calendar.'
rules: workday works like Excel/Sheets WORKDAY (the start day is not counted). networkdays works like NETWORKDAYS (both ends counted).
by: Tachles Tools – https://tachlestools.com
'500':
$ref: '#/components/responses/ServerError'
/health:
get:
tags:
- Account
operationId: getHealth
summary: Is the API up?
security: []
description: A quick check that needs no key.
responses:
'200':
description: OK
content:
application/json:
schema:
$ref: '#/components/schemas/Health'
examples:
health:
summary: GET /health
value:
ok: true
name: Business Days API
version: 1.1.0
docs: https://tachlestools.com/en/business-days-api/
components:
schemas:
Health:
type: object
additionalProperties: false
required:
- ok
- name
- version
- docs
properties:
ok:
type: boolean
name:
type: string
version:
type: string
docs:
type: string
format: uri
Usage:
type: object
additionalProperties: false
required:
- plan
- expires
- month
- used
- limit
- remaining
properties:
plan:
$ref: '#/components/schemas/Plan'
expires:
type:
- string
- 'null'
format: date
description: The last day the key works. `null` for a free key, which has no end date.
month:
type: string
pattern: ^\d{4}-\d{2}$
description: The calendar month being counted (UTC).
example: 2026-11
used:
type:
- integer
- 'null'
limit:
type: integer
remaining:
type:
- integer
- 'null'
Error:
type: object
additionalProperties: false
required:
- error
- message
properties:
error:
type: string
enum:
- missing_calendar
- unknown_calendar
- region_required
- invalid_date
- out_of_range
- invalid_weekend
- too_many_days_off
- invalid_year
- invalid_days
- missing_key
- invalid_key
- expired_key
- quota_exceeded
- not_found
- method_not_allowed
- server_error
description: A code you can test in your program.
message:
type: string
description: What went wrong and what to do, in plain English.
regions:
type: array
description: 'With `region_required`: the regions to choose from.'
items:
type: object
additionalProperties: false
required:
- id
- name
properties:
id:
type: string
name:
type: string
expired:
type:
- string
- 'null'
format: date
description: 'With `expired_key`: the day the key ended.'
plan:
$ref: '#/components/schemas/Plan'
limit:
type: integer
description: 'With `quota_exceeded`: the calls your plan allows in a month.'
resets:
type: string
format: date
description: 'With `quota_exceeded`: the day counting starts again.'
Plan:
type: string
enum:
- free
- trial
- starter
- pro
- business
description: 'free: 100 calls a month; trial: 1,000 calls a month; starter: 10,000 calls a month; pro: 100,000 calls a month; business: 1,000,000 calls a month.'
About:
type: object
additionalProperties: false
required:
- name
- version
- calendars
- years
- data
- rules
- by
properties:
name:
type: string
version:
type: string
calendars:
type: integer
years:
type: object
additionalProperties: false
required:
- first
- last
properties:
first:
type: integer
last:
type: integer
data:
type: string
rules:
type: string
by:
type: string
responses:
ServerError:
description: Something went wrong on our side.
content:
application/json:
schema:
allOf:
- $ref: '#/components/schemas/Error'
- type: object
properties:
error:
type: string
enum:
- server_error
NoKey:
description: No key was sent, or the key is not valid.
content:
application/json:
schema:
allOf:
- $ref: '#/components/schemas/Error'
- type: object
properties:
error:
type: string
enum:
- missing_key
- invalid_key
examples:
missing_key:
summary: GET /v1/workday?calendar=US&start=2026-12-23&days=5 (no key)
value:
error: missing_key
message: Send your API key in the X-Api-Key header. Get a free key (100 calls a month) at https://tachlestools.com/en/business-days-api/#plans
invalid_key:
summary: GET /v1/workday?calendar=US&start=2026-12-23&days=5 (a wrong key)
value:
error: invalid_key
message: This API key is not valid. Copy it again from your email, or get one at https://tachlestools.com/en/business-days-api/#plans
Expired:
description: The trial or the paid year has ended. A free key has no end date.
content:
application/json:
schema:
allOf:
- $ref: '#/components/schemas/Error'
- type: object
required:
- expired
properties:
error:
type: string
enum:
- expired_key
examples:
expired_key:
summary: GET /v1/workday?calendar=US&start=2026-12-23&days=5 (a trial key that ended)
value:
error: expired_key
message: Your trial ended on 2026-11-01. Renew at https://tachlestools.com/en/business-days-api/#plans
expired: '2026-11-01'
securitySchemes:
ApiKeyHeader:
type: apiKey
in: header
name: X-Api-Key
description: Your key, as it arrived by email (it starts with `TT1-`).
ApiKeyQuery:
type: apiKey
in: query
name: key
description: The same key in the address, for places where a header can't be set. The header is safer.
externalDocs:
description: Guide, prices and keys
url: https://tachlestools.com/en/business-days-api/