78trust / 100

Fr Business Days

by eu-verify in Productivity & SaaS

x402 APIPassing, checked 17 min ago

Adds N French business days to a date (?start=2026-07-13&add=30) or counts them over a range (?from=2026-07-01&to=2026-09-30). Skips weekends and the 11 French legal public holidays (movable feasts computed via Butcher-Meeus). mode=ouvres (Mon-Fri, default) or ouvrables (Mon-Sat). Deterministic local computation, JSON.

GET https://data.greeneris.io/v1/fr/business-days

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
184 ms typical, 415 ms slowest 5%
Last check
17 min ago
Next check
in 12 min

How to call it

# See the payment challenge (nothing is charged)
curl -i -X GET "https://data.greeneris.io/v1/fr/business-days?add=30&start=2026-07-13"
import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

const client = new x402Client().register(
  "eip155:8453",
  new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? Preflight it first for $0.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fdata.greeneris.io%2Fv1%2Ffr%2Fbusiness-days
const res = await pay("https://data.greeneris.io/v1/fr/business-days?add=30&start=2026-07-13");
console.log(await res.json());

Example input

{
  "add": 30,
  "start": "2026-07-13"
}

Example output

{
  "business_days_added": 30,
  "calendar_days": 43,
  "end_date": "2026-08-25",
  "holidays_crossed": [
    {
      "date": "2026-07-14",
      "name": "fete_nationale"
    },
    {
      "date": "2026-08-15",
      "name": "assomption"
    }
  ],
  "mode": "ouvres",
  "source": "Computed locally: French legal holidays (Code du travail L3133-1), Easter via Butcher-Meeus",
  "start": "2026-07-13"
}

Security scan

  • No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
17 min agoPassed402184 ms$0.005
4 h agoPassed402415 ms$0.005
8 h agoPassed402424 ms$0.005
11 h agoPassed402322 ms$0.005
16 h agoPassed402178 ms$0.005
18 h agoPassed402176 ms$0.005
24 h agoPassed402178 ms$0.005