{"uid":"cap__N0X0EUNU7q0p2m5trSx9","slug":"vextorium-date-calculator-581d7101","name":"Vextorium Date Calculator","description":"Date facts (weekday, ISO week, quarter, day of year, leap year), exact difference between two dates in years, months, days, weeks and Mon-Fri working days, and adding or subtracting days, months or years (end-of-month safe).","url":"https://api.vextorium.com/calcular-fechas-pago?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"fecha":{"type":"string","description":"Date YYYY-MM-DD"},"hasta":{"type":"string","description":"Second date for the difference (optional)"},"sumar_dias":{"type":"integer"},"sumar_anios":{"type":"integer"},"sumar_meses":{"type":"integer"}}},"responseSchema":{"type":"json","example":{"fecha":{"fecha":"2024-02-29","anio_iso":2024,"bisiesto":true,"trimestre":1,"dia_semana":"Thursday","semana_iso":9,"dia_del_anio":60,"dias_del_mes":29,"fin_de_semana":false},"resultado":{"fecha":"2025-02-28","anio_iso":2025,"bisiesto":false,"trimestre":1,"dia_semana":"Friday","semana_iso":9,"dia_del_anio":59,"dias_del_mes":28,"fin_de_semana":false},"diferencia":{"dias":4,"anios":2,"hasta":"2026-10-02","meses":7,"semanas":135.14,"dias_totales":946,"laborables_lun_vie":676}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","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.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_vXaDtNuGNrovgMDAVZcOG","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Computes date facts, exact differences between two dates, and date arithmetic (add/subtract days, months, years) with end-of-month safety.","exampleAgentPrompt":"What day of the week is 2025-09-15, what ISO week and quarter does it fall in, and how many calendar and working days are there between 2025-09-15 and 2026-03-31?","exampleUseCases":[{"title":"Invoice due date calculation","prompt":"If I issue an invoice on 2025-08-01 with net-90 payment terms, what exact date is it due, and what day of the week does that land on?"},{"title":"Working days between two milestones","prompt":"How many Mon–Fri working days are there between 2025-10-01 and 2025-12-31? I need the exact count for a project timeline."},{"title":"Leap year and quarter check","prompt":"Tell me all the calendar facts about 2024-02-29 — is it a leap year, what ISO week, what quarter, what day of the year, and is it a weekend?"}],"resultDescription":"Returns a JSON object with three sections: 'fecha' (facts about the input date: weekday, ISO week, ISO year, quarter, day of year, days in month, leap year, weekend flag), 'resultado' (same facts for the computed result date after arithmetic), and 'diferencia' (exact difference between two dates in years, months, days, total days, weeks, and Mon–Fri working days).","failureModes":["Missing required 'fecha' field returns an error","Invalid date format (not YYYY-MM-DD) causes parse failure","Invalid date such as 2023-02-30 returns an error","'hasta' date earlier than 'fecha' may return negative difference values","Non-integer values for sumar_dias/sumar_meses/sumar_anios cause schema validation failure"],"whenToPreferThis":"Choose this endpoint when you need precise calendar computations — especially working-day counts, end-of-month-safe date arithmetic, or detailed calendar metadata (ISO week, quarter, leap year) for a specific date. Prefer it over generic date libraries when you need a single API call to handle all these cases at once with no local computation.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-16T18:48:01.596Z","isFirstParty":false,"canonicalSlug":"vextorium-date-calculator-581d7101"}