{"uid":"cap_45Vajx2HB5TVBVUap9wXV","slug":"delx-calendar-quarter-5e723637","name":"Delx Calendar Quarter","description":"Calendar quarter 1–4. Use for finance-style bucketing and quarterly goals tracking. Returns quarter number 1–4 for the given date. $0.001 USDC per successful call via x402 on Base—deterministic first-party JSON, no API key, no subscription, and nothing is billed on structured validation errors.","url":"https://api.delx.ai/api/v1/x402/quarter-of-year","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_sDVrmuhmyAXdBQ2LiiWnt","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 calendar quarter number (1–4) for a given ISO-8601 date or timestamp","exampleAgentPrompt":"What calendar quarter does October 14, 2025 fall in? I need the quarter number (1 through 4) for a finance report.","exampleUseCases":[{"title":"Quarterly revenue report bucketing","prompt":"I'm building a revenue report and need to know which calendar quarter each sale date falls in — can you tell me what quarter 2025-11-22 is in?"},{"title":"Goal tracking period assignment","prompt":"We track OKRs by quarter. What quarter of the year is 2026-02-10 in so I can file it under the right goal cycle?"},{"title":"Finance dashboard date classification","prompt":"My finance dashboard needs to bucket transactions by Q1–Q4. What quarter does the date 2024-07-04 belong to?"}],"resultDescription":"A JSON object containing the quarter number as an integer between 1 and 4, corresponding to the calendar quarter (Jan–Mar = 1, Apr–Jun = 2, Jul–Sep = 3, Oct–Dec = 4) of the supplied date.","failureModes":["Invalid or missing date field returns a structured validation error with no charge","Malformed ISO-8601 string (e.g. ambiguous formats) may be rejected","Dates far outside normal ranges may produce unexpected results","Network or payment failures may result in no response"],"whenToPreferThis":"Choose this endpoint when you need a simple, deterministic, first-party computation of the calendar quarter for a given date with no API key or subscription — especially useful in agent pipelines doing finance-style bucketing, quarterly reporting, or OKR period assignment, and you want a pay-per-call micro-payment model via x402 on Base.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T19:02:28.672Z","isFirstParty":false}