API Almanac
API reference › Date

Add calendar or business days to a date

GET/v1/date/add

GET/v1/date/add

Add calendar or business days to a date

Negative days go backwards. With business=true weekends (and holidays, if country is given) are skipped.

PARAMETERS
startquery · stringREQUIRED
Start date
e.g. 2026-12-23
daysquery · integerREQUIRED
Days to add (negative to subtract)
e.g. 5
businessquery · boolean
Count business days instead of calendar days
e.g. false
countryquery · string
Country for holidays and weekend definition
e.g. US
subdivisionquery · string
State / province for regional holidays
e.g. string
In the full reference
REQUEST
curl "https://api.apialmanac.com/v1/date/add?start=2026-12-23&days=5" \
  -H "X-API-Key: YOUR_KEY"
RESPONSE
200OK
{
  "start": "2026-12-23",
  "days": 5,
  "business": true,
  "result": "2026-12-31",
  "weekday": "Thursday",
  "calendar_days_elapsed": 8,
  "calendar_used": "United States",
  "skipped": [
    {
      "date": "2026-12-25",
      "reason": "Christmas Day"
    },
    {
      "date": "2026-12-26",
      "reason": "weekend"
    },
    {
      "date": "2026-12-27",
      "reason": "weekend"
    }
  ]
}
Try it — sign in first
Runs on a sandbox key: 200 requests a month. Your real key is for production.