{"uid":"cap_L0pegDjIFyxADrVTkZCgj","slug":"delx-commerce-quarter-of-year-calculator-853c3dad","name":"Delx Commerce — Quarter of Year Calculator","description":"Pay-per-result APIs for agents. No signup. Exact price. Verifiable delivery. USDC on Base + Solana via x402.","url":"https://commerce.delx.ai/api/v1/x402/quarter-of-year?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"date":{"type":"string","format":"date-time","description":"ISO-8601 date or timestamp (e.g. 2026-08-04 or 2026-08-04T12:00:00Z)."}}},"responseSchema":{"type":"json","example":{"year":2026,"month":8,"schema":"delx/quarter-of-year/v1","quarter":3}},"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":"unknown","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_iU8RwG_bJvEq6MCBTgj4b","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 the fiscal/calendar quarter number (Q1–Q4) and year for a given ISO-8601 date or timestamp.","exampleAgentPrompt":"What quarter of the year does August 4, 2026 fall in?","exampleUseCases":[{"title":"Quarterly report date bucketing","prompt":"I need to know which quarter August 4, 2026 falls in so I can file it under the right reporting period."},{"title":"Fiscal planning automation","prompt":"My agent is processing a list of contract dates — what quarter does 2026-03-15 land in?"},{"title":"Dynamic dashboard labeling","prompt":"For the timestamp 2025-11-22T09:00:00Z, what quarter and year should I label this data point?"}],"resultDescription":"A JSON object containing the year (integer), month (integer), quarter number (1–4), and a schema version string (e.g. delx/quarter-of-year/v1).","failureModes":["Invalid or malformed date string returns an error — date must conform to ISO-8601 format","Missing date field results in a bad request response","Dates outside supported range may return unexpected results","Network or payment failure (USDC/x402) prevents the call from completing"],"whenToPreferThis":"Choose this endpoint when you need a lightweight, no-signup, pay-per-call API to derive the calendar quarter from any ISO-8601 date or timestamp, especially in agentic workflows that process arbitrary dates at runtime without wanting to implement date-math logic locally.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-01T00:54:09.189Z","isFirstParty":false,"canonicalSlug":"delx-commerce-quarter-of-year-calculator-853c3dad"}