{"uid":"cap_uVA0haLtPqv47UHFqZLbR","slug":"agent402-uk-market-session-status-25fe2ffc","name":"Agent402 UK — Market Session Status","description":"Don't burn tokens on deterministic work. Go/no-go jobs first: payout preflight, text firewall (PII/secrets), budget check — then rails, calendars, finmath. x402 USDC on Base. UK + global. agent402.co.uk — not agent402.tools. $0.001–$0.002 USDC on Base. No API keys.","url":"https://agent402.co.uk/v1/time/market-session","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","properties":{"at":{"type":"string","description":"ISO-8601 or unix seconds (default now)"},"market":{"type":"string","description":"NYSE|NASDAQ|LSE|TSE|XETRA|FX|CRYPTO"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"open":true,"valid":true,"market":"NYSE","reason":"regular_hours"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","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":"down","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_9QTOG18JatzdpsDKWw7_D","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns whether a specified financial market (NYSE, NASDAQ, LSE, TSE, XETRA, FX, CRYPTO) is currently open or closed, with a reason code, for a given timestamp.","exampleAgentPrompt":"Is the NYSE open right now? Just check the current market session status for me.","exampleUseCases":[{"title":"Pre-trade order routing check","prompt":"Before placing this order, check whether the NYSE is currently open for trading — I don't want to submit a market order outside regular hours."},{"title":"Algorithmic trading session gate","prompt":"Is the NASDAQ currently in a regular trading session? I need to know before triggering my next automated buy."},{"title":"Historical session lookup for audit","prompt":"Was the London Stock Exchange open on 2024-03-15 at 10:30 UTC? I need to confirm the market was active at that timestamp for a trade audit."}],"resultDescription":"A JSON object with fields: open (boolean — whether the market is currently active), valid (boolean — whether the query was valid), market (string — the market identifier queried, e.g. NYSE), and reason (string code — e.g. 'regular_hours', 'after_hours', 'holiday', 'weekend').","failureModes":["Unrecognized market identifier returns valid:false with an error reason","Malformed timestamp (not ISO-8601 or unix seconds) may return an error or default to current time","Timezone edge cases around market open/close boundaries may yield unexpected open/closed status","Network or payment failure returns HTTP 402 if USDC payment not settled"],"whenToPreferThis":"Choose this endpoint when an agent needs a fast, cheap, deterministic check of whether a specific exchange is in an active trading session — without burning LLM tokens on date/time reasoning. Ideal as a pre-condition gate before executing trades, scheduling financial actions, or routing orders. Costs $0.001 USDC per call with no API key required, making it suitable for high-frequency preflight checks in autonomous agent workflows.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T16:25:08.685Z","isFirstParty":false}