{"uid":"cap_X1zeRES9Pr0Oy8ORhs_Ws","slug":"agentstall-za-count-business-days-south-africa-9e1ab2ba","name":"AgentStall ZA – Count Business Days (South Africa)","description":"Counts the working days between two dates in 100+ countries (any ISO country code), excluding the local weekend and public holidays, and lists the holidays excluded. Verified calendars for South Africa, Nigeria, Kenya, Egypt, Ghana, Morocco, Rwanda, Uganda, Tanzania, Mauritius and Botswana. Useful for SLAs, turnaround times, leave calculations and deadlines measured in business days.","url":"https://agentstall.nilesh-b54.workers.dev/v1/count-business-days?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":["from","to"],"properties":{"to":{"type":"string","description":"End date, YYYY-MM-DD (inclusive), within 5 years of 'from'"},"from":{"type":"string","description":"Start date, YYYY-MM-DD (exclusive)"},"country":{"type":"string","description":"ISO country code, e.g. ZA (default), KE, NG, EG, GH, US, GB, DE, IN, AE. Verified calendars for ZA, NG, KE, EG, GH, MA, RW, UG, TZ, MU and BW"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"to":"2026-12-31","from":"2026-12-01","businessDays":20,"calendarDays":30}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_RBhLV4HhgfyrqQA9KUIJj","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns the number of South African business days (excluding weekends and public holidays) between two dates.","exampleAgentPrompt":"How many South African business days are there from December 1, 2026 to December 31, 2026? I need to account for weekends and SA public holidays.","exampleUseCases":[{"title":"SLA deadline calculation for SA contract","prompt":"We signed a contract in South Africa on 2026-03-01 and the supplier has 30 business days to deliver — can you figure out how many calendar days that actually covers so I know the latest delivery date?"},{"title":"Month-end payroll working days check","prompt":"How many business days are in October 2026 in South Africa? I need this for our payroll team to schedule payment runs correctly."},{"title":"SARS submission window countdown","prompt":"SARS gave us a deadline of 2026-02-28. We're starting from 2026-01-15 — how many South African business days do we actually have to prepare the submission?"}],"resultDescription":"A JSON object containing the 'from' date (exclusive start), 'to' date (inclusive end), the count of South African business days (excluding weekends and public holidays) between them, and the total calendar days in the range.","failureModes":["Missing 'from' or 'to' query parameters returns a 400 error","Date range exceeding 5 years returns a validation error","Malformed date format (non-YYYY-MM-DD) returns a 400 error","Unpaid call (no x402 payment) returns a 402 PAYMENT-REQUIRED response","Reversed dates (from after to) likely returns an error or zero count"],"whenToPreferThis":"Use this endpoint when you need business day counts specifically calibrated to the South African public holiday calendar. It is more accurate than generic weekday counters for ZA-specific SLA calculations, contract timelines, SARS filing windows, and payroll scheduling where SA public holidays must be excluded.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-02T00:36:15.167Z","isFirstParty":false,"canonicalSlug":"agentstall-za-count-business-days-south-africa-9e1ab2ba"}