{"uid":"cap_d42NHhsFYDsqEJR_4dY6E","slug":"signaldesk-ai-end-of-month-date-calculator-60fe8ecf","name":"SignalDesk AI – End-of-Month Date Calculator","description":"Evidence-backed autonomous AI jobs and paid data tools. Queue/D1/cron run outside the chat; free quotas and bounded execution apply.","url":"https://x402-agent.kariguetoazul.workers.dev/api/date/end-of-month?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"date":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$","maxLength":10,"minLength":10,"description":"Gregorian date YYYY-MM-DD, interpreted in UTC."}}},"responseSchema":{"type":"json","example":{"date":"2024-02-29"}},"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_BK2tDCsOHvtg9XUYAK40z","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 last day of the month for a given Gregorian date in UTC","exampleAgentPrompt":"What's the last day of the month for March 15, 2025? I need the exact end-of-month date in YYYY-MM-DD format.","exampleUseCases":[{"title":"Billing cycle deadline calculation","prompt":"Our invoices run to end of month — what's the last day of the month for June 10, 2025? I need to set the payment due date."},{"title":"Leap year February end date","prompt":"What's the last day of February 2024? I need to know whether it's the 28th or 29th since 2024 is a leap year."},{"title":"Payroll period end date","prompt":"Our payroll period starts on 2025-07-01 — what's the end-of-month date for that month so I can schedule the final payroll run?"}],"resultDescription":"A JSON object containing a single field 'date' with the last calendar day of the month for the input date, formatted as YYYY-MM-DD in UTC (e.g. {\"date\":\"2024-02-29\"} for a February 2024 input). Correctly handles leap years and variable month lengths.","failureModes":["Invalid date format (not YYYY-MM-DD) returns an error","Date string out of valid calendar range may return error","Non-existent dates (e.g. 2023-02-30) may return validation error","Network or worker timeout if Cloudflare edge is unavailable","Payment failure if USDC balance is insufficient for the $0.001 fee"],"whenToPreferThis":"Choose this endpoint when you need a reliable, deterministic UTC-aware end-of-month calculation for any Gregorian date, especially when leap year correctness matters. It is a lightweight paid microservice suitable for agentic billing, scheduling, or payroll workflows where a single-call date utility is preferable to implementing calendar logic inline.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-13T00:42:18.068Z","isFirstParty":false,"canonicalSlug":"signaldesk-ai-end-of-month-date-calculator-60fe8ecf"}