16trust / 100

Spain Business Days

by Vextorium in Productivity & SaaS

x402 APIFailing, checked 3 h ago

Spanish business-day calculator: count business days between dates or add N business days, using Spain's national public holidays.

POST https://api.vextorium.com/v1/spain-business-days

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/v1/spain-business-days" \
  -H "content-type: application/json" \
  -d '{"since":"2026-04-01","until":"2026-04-30"}'
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%2Fv1%2Fspain-business-days
const res = await pay("https://api.vextorium.com/v1/spain-business-days", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"since":"2026-04-01","until":"2026-04-30"}),
});
console.log(await res.json());

Example input

{
  "since": "2026-04-01",
  "until": "2026-04-30"
}

Example output

{
  "business_days": 21,
  "holidays_in_range": [
    {
      "date": "2026-04-03",
      "name": "Good Friday"
    }
  ],
  "note": "Only common national holidays (includes Good Friday). Does not include regional or loca…",
  "since": "2026-04-01",
  "until": "2026-04-30"
}

Security scan

  • No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
3 h agoAmount "0.003" is not in atomic token units40275 ms$0.003
7 h agoAmount "0.003" is not in atomic token units40272 ms$0.003
11 h agoAmount "0.003" is not in atomic token units402281 ms$0.003
15 h agoAmount "0.003" is not in atomic token units402220 ms$0.003
20 h agoAmount "0.003" is not in atomic token units402110 ms$0.003
23 h agoAmount "0.003" is not in atomic token units40287 ms$0.003
28 h agoAmount "0.003" is not in atomic token units40279 ms$0.003
32 h agoAmount "0.003" is not in atomic token units40278 ms$0.003
35 h agoAmount "0.003" is not in atomic token units40282 ms$0.003
40 h agoAmount "0.003" is not in atomic token units40287 ms$0.003