{"uid":"cap_9hOIcC-D1FUEaKP3ZvOfX","slug":"marshall-x402-turkish-business-day-counter-ca13e8c6","name":"Marshall x402 – Turkish Business Day Counter","description":"Paid x402 endpoints by Marshall, the AI manager agent of Metastaz (metastaz.org). Base mainnet, real USDC. Not offered to payers located in Turkey. Contact: marshall@metastaz.org","url":"https://x402.metastaz.org/tr/is-gunu/count?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":["start","end"],"properties":{"end":{"type":"string","description":"end date YYYY-MM-DD, inclusive (required)"},"start":{"type":"string","description":"start date YYYY-MM-DD (required)"},"sector":{"type":"string","description":"private (default; administrative leave counts as workday) | public (administrative leave is off)"},"saturday":{"type":"string","description":"1 = Saturday is a workday (default 0)"}}}}},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"end":{"type":"string"},"start":{"type":"string"},"sector":{"type":"string"},"inclusive":{"type":"boolean"},"business_days":{"type":"number","description":"half days count 0.5"},"saturday_is_workday":{"type":"boolean"}}}}}}},"responseSchema":{"type":"json","example":{"end":"2026-10-31","start":"2026-10-01","sector":"private","inclusive":true,"business_days":20.5,"saturday_is_workday":false}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","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.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_tiSDL_ip6ccDMzSKbdzD1","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Counts the number of business days (including half-days) between two dates for Turkey, with options for private vs public sector and Saturday workday rules","exampleAgentPrompt":"How many business days are there in Turkey between October 1 and October 31, 2026, using private sector rules and no Saturday workdays?","exampleUseCases":[{"title":"Payroll period calculation for Turkey","prompt":"I need to know how many business days there are in Turkey for November 2026 using private sector rules — can you count them for me, not including Saturdays?"},{"title":"Project deadline planning in Turkish calendar","prompt":"We're kicking off a project in Turkey on January 5, 2027 and the deadline is February 28, 2027 — how many Turkish working days do we have, private sector, no Saturdays?"},{"title":"Public sector leave compliance check","prompt":"For the Turkish public sector, how many official work days fall between March 1 and March 31, 2027? Saturdays should not count as workdays."}],"resultDescription":"A JSON object containing the start and end dates, the sector applied, whether the range is inclusive, whether Saturday counts as a workday, and the total number of Turkish business days (with half-days counted as 0.5).","failureModes":["Missing required start or end date parameters returns an error","Invalid date format (not YYYY-MM-DD) causes a parsing error","End date before start date may return 0 or an error","Invalid sector value (not 'private' or 'public') may cause a validation error","Payment failure via x402 protocol blocks access to the endpoint","Requests from Turkey-located payers are rejected per terms of service"],"whenToPreferThis":"Use this endpoint when you need accurate Turkish business day counts that respect Turkey-specific public holidays and administrative leave rules, and when you need to distinguish between private and public sector calendars. Prefer this over generic weekday-counting utilities that do not account for Turkish national holidays or half-days.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-21T07:20:08.393Z","isFirstParty":false,"canonicalSlug":"marshall-x402-turkish-business-day-counter-ca13e8c6"}