15trust / 100
Calcular Fechas Pago
by Vextorium in Productivity & SaaS
x402 APIFailing, checked 3 h ago
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).
POST https://api.vextorium.com/calcular-fechas-pago
Last 30 days
All checks passedSome failedAll failedNot checked
- Uptime
- 0.0%
- Response time
- - typical, - slowest 5%
- Last check
- 3 h ago: Amount "0.003" is not in atomic token units
- Next check
- any minute now
How to call it
# See the payment challenge (nothing is charged)
curl -i -X POST "https://api.vextorium.com/calcular-fechas-pago" \
-H "content-type: application/json" \
-d '{"fecha":"2024-02-29","hasta":"2026-10-02","sumar_meses":12}'import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";
const client = new x402Client().register(
"eip155:8453",
new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);
// Not sure it's safe to pay? Preflight it first for $0.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fapi.vextorium.com%2Fcalcular-fechas-pago
const res = await pay("https://api.vextorium.com/calcular-fechas-pago", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"fecha":"2024-02-29","hasta":"2026-10-02","sumar_meses":12}),
});
console.log(await res.json());Example input
{
"fecha": "2024-02-29",
"hasta": "2026-10-02",
"sumar_meses": 12
}Example output
{
"diferencia": {
"anios": 2,
"dias": 4,
"dias_totales": 946,
"hasta": "2026-10-02",
"laborables_lun_vie": 676,
"meses": 7,
"semanas": 135.14
},
"fecha": {
"anio_iso": 2024,
"bisiesto": true,
"dia_del_anio": 60,
"dia_semana": "Thursday",
"dias_del_mes": 29,
"fecha": "2024-02-29",
"fin_de_semana": false,
"semana_iso": 9,
"trimestre": 1
},
"resultado": {
"anio_iso": 2025,
"bisiesto": false,
"dia_del_anio": 59,
"dia_semana": "Friday",
"dias_del_mes": 28,
"fecha": "2025-02-28",
"fin_de_semana": false,
"semana_iso": 9,
"trimestre": 1
}
}Security scan
- No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.
Recent checks
| When | Result | HTTP | Time | Price |
|---|---|---|---|---|
| 3 h ago | Amount "0.003" is not in atomic token units | 402 | 80 ms | $0.003 |
| 7 h ago | Amount "0.003" is not in atomic token units | 402 | 81 ms | $0.003 |
| 11 h ago | Amount "0.003" is not in atomic token units | 402 | 84 ms | $0.003 |
| 15 h ago | Amount "0.003" is not in atomic token units | 402 | 117 ms | $0.003 |
| 19 h ago | Amount "0.003" is not in atomic token units | 402 | 84 ms | $0.003 |
| 23 h ago | Amount "0.003" is not in atomic token units | 402 | 283 ms | $0.003 |
| 28 h ago | Amount "0.003" is not in atomic token units | 402 | 85 ms | $0.003 |
| 32 h ago | Amount "0.003" is not in atomic token units | 402 | 74 ms | $0.003 |
| 35 h ago | Amount "0.003" is not in atomic token units | 402 | 82 ms | $0.003 |
| 40 h ago | Amount "0.003" is not in atomic token units | 402 | 77 ms | $0.003 |