{"uid":"cap_9oohFpXn1smonjhtCwVZs","slug":"turkey-workday-checker-metastaz-marshall-x402-1ab78555","name":"Turkey Workday Checker (Metastaz / Marshall x402)","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/is-workday?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":["date"],"properties":{"date":{"type":"string","description":"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":{"date":{"type":"string"},"sector":{"type":"string"},"reasons":{"type":"array","items":{"type":"string"}},"weekday":{"type":"string"},"is_workday":{"type":"boolean"},"workday_value":{"type":"number"}}}}}}},"responseSchema":{"type":"json","example":{"date":"2026-10-28","sector":"private","reasons":["Cumhuriyet Bayramı Arifesi"],"weekday":"Wednesday","is_workday":true,"workday_value":0.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_qjMCvTviq_3rhHJX2gMH6","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":"Returns whether a given date is a workday in Turkey, with sector-specific holiday rules and a fractional workday value for half-days.","exampleAgentPrompt":"Is October 28, 2026 a workday in Turkey for a private sector company? I want to know if it's a full or partial day and why.","exampleUseCases":[{"title":"Payroll calculation for Turkish employees","prompt":"Is April 23, 2025 a workday in Turkey for the public sector? I need to know if we should pay staff for that day and whether it counts as a full or half day."},{"title":"Scheduling meeting across Turkish business days","prompt":"Is Friday November 28 2025 a working day in Turkey for a private company? I'm trying to figure out if I can schedule a client call that day."},{"title":"Automating Turkish HR leave validation","prompt":"Check if Saturday June 7 2025 is a working day in Turkey — assume Saturday counts as a workday — so I can validate whether an employee's leave request covers an actual business day."}],"resultDescription":"A JSON object containing: the queried date, the sector used, the weekday name, a boolean is_workday, a fractional workday_value (e.g. 0.5 for a holiday eve), an array of reasons explaining any non-standard status (e.g. holiday names in Turkish), and a saturday_is_workday boolean.","failureModes":["Missing required 'date' query parameter — likely a 400 error","Invalid date format (not YYYY-MM-DD) — parsing failure or error response","Invalid sector value (not 'private' or 'public') — may default or error","Caller located in Turkey — service explicitly not offered to Turkish-located payers","Payment failure on x402 — 402 response if USDC payment is not provided or insufficient","Date out of supported range — may return an empty or error response for future/past dates far beyond known holiday data"],"whenToPreferThis":"Use this endpoint when you need authoritative, up-to-date Turkish workday data including sector-specific rules (public vs. private), fractional workday values for holiday eves, and optional Saturday working day support — especially useful for payroll, scheduling, or HR automation in Turkey. Prefer it over generic calendar APIs that do not distinguish Turkish public vs. private sector rules or do not surface partial workday values.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-21T07:19:17.976Z","isFirstParty":false,"canonicalSlug":"turkey-workday-checker-metastaz-marshall-x402-1ab78555"}