{"uid":"cap_Ww4pKiOxgfF_ojV6c0lPw","slug":"business-recurrence-date-generator-69267cf3","name":"Business Recurrence Date Generator","description":"Dates for every N business days, or the last or Nth business day of each month, skipping weekends and your holiday list.","url":"https://recurrence-rules.x402tookit.com/business-recurrence?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["mode","start"],"properties":{"n":{"type":"integer","description":"N for every-n (1-250) or nth-of-month (1-20); default 1"},"mode":{"type":"string","description":"every-n-business-days, last-business-day-of-month or nth-business-day-of-month"},"count":{"type":"integer","description":"How many dates, 1 to 120 (default 12)"},"start":{"type":"string","description":"Start date, YYYY-MM-DD"},"weekend":{"type":"string","description":"Weekend days, default SA,SU (e.g. FR,SA); at most 5 days"},"holidays":{"type":"string","description":"Comma list of non-business dates YYYY-MM-DD (max 400)"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"n":{},"asOf":{"type":["null","string"]},"mode":{"type":["null","string"]},"dates":{"type":["array","null"],"items":{"type":"object","properties":{"date":{"type":["null","string"]},"weekday":{"type":["null","string"]}}}},"source":{"type":["null","string"]},"reasons":{"type":["array","null"],"items":{"type":"string"}},"summary":{"type":["null","string"]},"verdict":{"type":["null","string"]},"degraded":{"type":["boolean","null"]},"disclaimer":{"type":["null","string"]},"notChecked":{"type":["array","null"],"items":{"type":"string"}},"weekendDays":{"type":["array","null"],"items":{"type":"string"}},"holidaysSupplied":{"type":["null","number"]},"startWasBusinessDay":{"type":["boolean","null"]}}}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.03","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.03/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.03","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.03","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_ZblJEeOQGXzzmFkF1FViv","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.03","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Generates a list of business-day-aware recurrence dates (every N business days, last business day of month, or Nth business day of month), skipping weekends and user-supplied holidays.","exampleAgentPrompt":"Starting from 2025-01-02, give me the dates for every 5 business days for the next 24 occurrences, skipping weekends and these US federal holidays: 2025-01-20, 2025-02-17, 2025-05-26, 2025-07-04, 2025-09-01, 2025-11-27, 2025-12-25.","exampleUseCases":[{"title":"Monthly payroll on last business day","prompt":"Starting from 2025-01-01, give me the last business day of each month for the next 12 months, skipping US federal holidays — 2025-01-20, 2025-02-17, 2025-05-26, 2025-07-04, 2025-09-01, 2025-11-27, 2025-12-25."},{"title":"Bi-weekly invoice payment schedule","prompt":"Generate dates for every 10 business days starting 2025-03-03 for 20 occurrences, excluding weekends and these holidays: 2025-04-18, 2025-05-26, 2025-07-04, 2025-12-25."},{"title":"Third business day of month for ACH transfers","prompt":"Give me the 3rd business day of each month starting 2025-01-01 for 12 months, skipping Saturday and Sunday and these bank holidays: 2025-01-20, 2025-05-26, 2025-09-01, 2025-11-27, 2025-12-25."}],"resultDescription":"Returns a JSON object containing an array of dated entries (each with a date string in YYYY-MM-DD and its weekday name), the mode used, the N value, number of holidays supplied, weekend days considered, a human-readable summary, and a degraded flag if any inputs caused partial results or warnings.","failureModes":["Missing required 'mode' or 'start' parameters returns a validation error","Invalid date format for start or holidays causes a parse error","N out of allowed range (e.g. >250 for every-n or >20 for nth-of-month) returns a 400 error","Count exceeding 120 is rejected","More than 400 holidays supplied causes rejection","More than 5 weekend days specified causes an error","Invalid mode string returns an enum mismatch error"],"whenToPreferThis":"Choose this endpoint when you need business-day-aware recurring date sequences that respect custom weekends and holiday lists — especially for financial, payroll, or scheduling automation where simple calendar recurrence is insufficient. It is ideal when you need the last or Nth business day of each month, or intervals of N business days, and want weekday names included in the output. Prefer this over generic RRULE parsers when business-day semantics (skipping weekends and holidays) are the primary concern.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-22T00:32:11.653Z","isFirstParty":false,"canonicalSlug":"business-recurrence-date-generator-69267cf3"}