# Work Time Calc Business days, working hours, durations, overtime, timesheets, pay periods, ISO weeks and tenure arithmetic. ## How to pay Machine-payable over x402. USDC on: Base (eip155:8453), Solana (solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp), Polygon (eip155:137), Arbitrum One (eip155:42161). No accounts. No API keys. No signup. The paying wallet is the account. ## Machine-readable - OpenAPI: https://work-time-calc.x402tookit.com/openapi.json - x402 manifest: https://work-time-calc.x402tookit.com/.well-known/x402 - Catalog (free): https://work-time-calc.x402tookit.com/catalog - Health (free): https://work-time-calc.x402tookit.com/health - Uptime (free): https://work-time-calc.x402tookit.com/uptime ## Endpoints (9) ### GET /add-business-days — $0.02 Add or subtract N business days from a date, skipping weekends and your holiday list, WORKDAY style. Params: date: string, days: integer, holidays?: string, weekend?: string Example: https://work-time-calc.x402tookit.com/add-business-days?date=2026-12-23&days=3&holidays=2026-12-25&weekend=sat%2Csun ### GET /business-days — $0.02 Count business days between two dates, skipping weekends and your holiday list, NETWORKDAYS style. Params: start: string, end: string, holidays?: string, weekend?: string, inclusive?: boolean Example: https://work-time-calc.x402tookit.com/business-days?start=2026-12-21&end=2027-01-04&holidays=2026-12-25%2C2027-01-01&weekend=sat%2Csun&inclusive=true ### GET /duration — $0.02 Parse, sum and format ISO 8601 durations (PT36H, P1Y2M10DT2H30M), or turn seconds into ISO and clock form. Params: durations?: string, seconds?: number, carryDays?: boolean Example: https://work-time-calc.x402tookit.com/duration?durations=PT36H%2CP1Y2M10DT2H30M%2CPT45M&carryDays=false ### GET /iso-week — $0.02 ISO 8601 week number and week-year for a date (2021-01-03 is 2020-W53), reverse lookup and sprint numbering. Params: date?: string, weekYear?: integer, week?: integer, sprintStart?: string, sprintWeeks?: integer Example: https://work-time-calc.x402tookit.com/iso-week?date=2021-01-03&sprintStart=2020-12-14&sprintWeeks=2 ### GET /overtime — $0.02 Split a week of daily hours into regular, overtime and double time using your daily and weekly thresholds. Params: daily: string, dailyThreshold?: number, doubleThreshold?: number, weeklyThreshold?: number, rate?: number, otMultiplier?: number, doubleMultiplier?: number Example: https://work-time-calc.x402tookit.com/overtime?daily=9%2C10%2C8%2C8%2C12%2C0%2C0&dailyThreshold=8&doubleThreshold=12&weeklyThreshold=40&rate=20&otMultiplier=1.5&doubleMultiplier=2 ### GET /pay-periods — $0.02 Pay-period start and end dates for weekly, biweekly, semi-monthly or monthly payroll, from any reference date. Params: type: string, from?: string, anchor?: string, splitDay?: integer, count?: integer, payDateLagDays?: integer Example: https://work-time-calc.x402tookit.com/pay-periods?type=biweekly&from=2026-10-11&anchor=2026-01-05&count=4&payDateLagDays=5 ### GET /tenure — $0.02 Age or tenure between two dates in years, months and days, plus total days, next anniversary and decimal years. Params: from: string, to?: string Example: https://work-time-calc.x402tookit.com/tenure?from=2019-08-31&to=2026-10-11 ### GET /timesheet — $0.02 Total hours from clock-in/out pairs with unpaid break deduction, optional rounding, per-day totals and overlap flags. Params: entries: string, breakMinutes?: integer, roundMinutes?: integer, roundMode?: string Example: https://work-time-calc.x402tookit.com/timesheet?entries=2026-03-02T09%3A00%2F2026-03-02T17%3A30%3B2026-03-03T08%3A45%2F2026-03-03T17%3A00&breakMinutes=30&roundMinutes=15&roundMode=nearest ### GET /working-hours — $0.02 Working hours between two timestamps under a weekly schedule with breaks and a holiday list. Params: start: string, end: string, schedule: string, holidays?: string Example: https://work-time-calc.x402tookit.com/working-hours?start=2026-03-02T15%3A00&end=2026-03-04T10%3A30&schedule=mon-fri+09%3A00-12%3A00+13%3A00-17%3A00&holidays=2026-03-03 ## Terms Date and time arithmetic computed locally from the inputs given, provided as is. Holidays, schedules and overtime thresholds are always caller supplied: nothing here encodes any law, contract or payroll rule. Not payroll, legal or employment advice; verify against your own rules.