Radar

Home › APIs › Calculators & dates

Calculators & dates

Bridge Days & Vacation Optimizer API

Given a country (and optional state, Bundesland or UK nation), year (2026-2028) and vacation-day budget (1-30), computes the mathematically optimal non-overlapping set…

Try it here

  1. 1Fill in
  2. 2Press the button
  3. 3Read the answer

Which way is for you?

What is an API, and do I need one?

An API lets your software get an answer by itself, for example a shop checking every new customer's VAT number. Not a programmer? Use the free tool in your browser instead.

Use it in your app: free key in 10 seconds100 calls a month on all 158 APIs · no card · the key shows on the screen at once

Without a key: 3 test calls/day. With a free key: 100 calls/month, usage dashboard & Excel/Sheets · Have a key? Open my key · Lost it? Get it by e-mail

For programmers: details, example request and inputs

Given a country (and optional state, Bundesland or UK nation), year (2026-2028) and vacation-day budget (1-30), computes the mathematically optimal non-overlapping set of bridge days (Brueckentage / ponts / annual leave hacks) that maximizes total consecutive days off. Supports English, German and French labels. Deterministic offline rules (python-holidays, MIT), 0 AI, nothing stored, under 50 ms.

Example request

curl -X POST https://radarbg.com/v1/bridge-days-planner \
  -H "X-API-Key: YOUR_KEY" -H "Content-Type: application/json" \
  -d '{"country": "DE", "region": "BY", "year": 2027, "budget": 5, "lang": "de"}'

Answer: {"ok": true, "count": N, "items": [...], "usage": {...}}. Failed calls are not counted.

Inputs

FieldTypeDescription
countrystringISO 3166 2-letter code or English country name (e.g. DE, GB, FR, US)
regionstringOptional state/region/nation code (e.g. BY, NW, ENG, SCT, NIR, 57, CA)
yearintegerYear: 2026, 2027 or 2028
budgetintegerNumber of vacation days to spend (1-30)
langstringOutput language for labels: en, de, fr or local

Price

Included in every plan: 100 calls a month free, then from €15 a month for 5,000 calls across all APIs. Pro, €49 for 25,000 calls, is the one we recommend.

Questions

What does the Bridge Days & Vacation Optimizer API do?

Given a country (and optional state, Bundesland or UK nation), year (2026-2028) and vacation-day budget (1-30), computes the mathematically optimal non-overlapping set…

Where does the data come from?

Given a country (and optional state, Bundesland or UK nation), year (2026-2028) and vacation-day budget (1-30), computes the mathematically optimal non-overlapping set of bridge days (Brueckentage / ponts / annual leave hacks) that maximizes total consecutive days off. Supports English, German and French labels. Deterministic offline rules (python-holidays, MIT), 0 AI, nothing stored, under 50 ms.

How much does it cost?

100 calls a month are free with no card. Paid plans start at EUR 15 a month for 5,000 calls and include every API on Radar. Failed calls are not counted.

What is an API? Do I need to be a programmer?

An API lets a program get answers from another program automatically. You only need it if your own website or software should do this by itself. Without programming, use the free browser tool, the Excel upload where offered, or let us do the job for you.

Related APIs

Business Days Calculator APICounts working days between dates, skipping weekends and the public holidays of your country.
Compound Interest Calculator APIShows how your savings grow over the years with interest and monthly deposits.
Inflation Calculator APIAdjusts an amount of money for inflation between two years across 190+ countries using official World Bank CPI data.
Loan Calculator APIShows your monthly loan payment, total interest and the full payment plan.
Mortgage Calculator APIShows your monthly home loan payment, total interest, payoff date, full payment schedule and a 15, 20 and 30-year comparison.
Profit Margin Calculator APIFrom cost and price see your margin and markup, or find the price you need for the margin you want.