{"uid":"cap_PX1KSTszqGbxGliWoPP78","slug":"trading-time-api-settlement-date-a24ee452","name":"Trading Time API – Settlement Date","description":"Returns the settlement date (T+1 or T+2) of a stock trade on a given exchange, skipping exchange holidays, including the 2027 move of EU, UK and Switzerland to T+1.","url":"https://trading-time-api.onrender.com/v1/settlement-date?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","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","required":["market","trade_date"],"properties":{"market":{"type":"string","description":"Exchange: XNYS, XNAS, XLON, XETR, XSWX, XTKS, XHKG, XSHG, XASX"},"trade_date":{"type":"string","description":"Trade date YYYY-MM-DD"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_2OFF6DBsp0uGZNwzT4c_l","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns the T+1 or T+2 settlement date for a stock trade on a specified exchange, correctly skipping exchange holidays and accounting for the 2027 EU/UK/Switzerland shift to T+1.","exampleAgentPrompt":"What's the settlement date for a stock trade I'm making on the NYSE today, 2025-06-10? I need the exact date funds will be available, skipping any market holidays.","exampleUseCases":[{"title":"Post-trade settlement scheduling","prompt":"I bought shares on the London Stock Exchange on 2025-06-09. When will the trade actually settle, skipping any UK exchange holidays?"},{"title":"EU T+1 transition planning","prompt":"If I place a trade on the Frankfurt Xetra exchange on 2027-10-05, will it settle under the new T+1 rule or the old T+2 rule, and what's the exact settlement date?"},{"title":"End-of-week trade settlement check","prompt":"I'm trading on the Tokyo Stock Exchange on Friday 2025-06-13. What date will my trade settle, accounting for any Japanese exchange holidays over the weekend?"}],"resultDescription":"Returns the settlement date as a calendar date (YYYY-MM-DD), reflecting the applicable settlement cycle (T+1 or T+2) for the given exchange, with exchange holidays skipped so the date always falls on a valid trading day.","failureModes":["Invalid or unsupported market code returns an error (e.g. unknown exchange identifier)","Malformed trade_date (not YYYY-MM-DD) returns a validation error","Trade date in the distant future may have incomplete holiday calendar data","Network timeout if the Render.com host is cold-starting","402 Payment Required if x402 payment header is missing or invalid"],"whenToPreferThis":"Choose this endpoint when you need precise, exchange-aware settlement date calculation that correctly skips public holidays for a specific exchange, and when you need forward-looking accuracy around the 2027 EU/UK/Switzerland T+1 regulatory change. Prefer this over generic business-day calculators that lack per-exchange holiday calendars.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-19T12:33:35.961Z","isFirstParty":false,"canonicalSlug":"trading-time-api-settlement-date-a24ee452"}