Api Endpoint

Date calculator | Vextorium

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).

Open interactive test console

Offering

Provider
api.vextorium.com
Method
POST
Offering type
Api Endpoint
Transport type
http
Category
General Utilities
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://api.vextorium.com/v1/date-calculator
MIME type
application/json
First seen
2026-10-16T01:51:10.599Z
Last seen
Tags
date, calendar, iso-week, duration, Scheduling

Payment pricing

x402 payment terms are the authoritative price for calling this endpoint.

Payment option 1
0.003 USDC
Atomic price: 3000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Payment option 2
0.003 USDC
Atomic price: 3000 · Network: solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp · Asset: USDC · Scheme: exact
Payment option 3
2310 atomic units
Atomic price: 2310 · Network: xrpl:0 · Asset: XRP · Scheme: exact
Payment option 4
0.003 USDC
Atomic price: 3000 · Network: eip155:137 · Asset: USDC · Scheme: exact
Payment option 5
0.003 USDC
Atomic price: 3000 · Network: eip155:10 · Asset: USDC · Scheme: exact
Payment option 6
3000 atomic units
Atomic price: 3000 · Network: eip155:5042 · Asset: 0x3600000000000000000000000000000000000000 · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "3000",
    "payTo": "0xb9f06D2734B7E9D7b21B64C4D8b95bd774b71aCf"
  },
  {
    "scheme": "exact",
    "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
    "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
    "amount": "3000",
    "payTo": "HcjfmZLgWRZzwj4deEiS7pewc4KBYSw39mW5nTyt3pz2"
  },
  {
    "scheme": "exact",
    "network": "xrpl:0",
    "asset": "XRP",
    "amount": "2310",
    "payTo": "rEac5rTEr7y81iEyrMTrHCRbnktSE2pNCp"
  },
  {
    "scheme": "exact",
    "network": "eip155:137",
    "asset": "0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359",
    "amount": "3000",
    "payTo": "0xb9f06D2734B7E9D7b21B64C4D8b95bd774b71aCf"
  },
  {
    "scheme": "exact",
    "network": "eip155:10",
    "asset": "0x0b2C639c533813f4Aa9D7837CAf62653d097Ff85",
    "amount": "3000",
    "payTo": "0xb9f06D2734B7E9D7b21B64C4D8b95bd774b71aCf"
  },
  {
    "scheme": "exact",
    "network": "eip155:5042",
    "asset": "0x3600000000000000000000000000000000000000",
    "amount": "3000",
    "payTo": "0xb9f06D2734B7E9D7b21B64C4D8b95bd774b71aCf"
  }
]

Observed health

Status
Healthy
Latest latency
396 ms
Average latency
582 ms
HTTP status
200
Last checked
Reachability
100% over 9 checks

Latency is measured to the first response headers. A reachable result does not verify response accuracy or merchant identity.

Input schema

{
  "type": "object",
  "properties": {
    "type": {
      "type": "string",
      "const": "http"
    },
    "method": {
      "type": "string",
      "enum": [
        "POST"
      ]
    },
    "bodyType": {
      "type": "string",
      "enum": [
        "json",
        "form-data",
        "text"
      ]
    },
    "body": {
      "properties": {
        "date": {
          "type": "string",
          "description": "Date YYYY-MM-DD"
        },
        "until": {
          "type": "string",
          "description": "Second date for the difference (optional)"
        },
        "add_days": {
          "type": "integer"
        },
        "add_months": {
          "type": "integer"
        },
        "add_years": {
          "type": "integer"
        }
      },
      "required": [
        "date"
      ]
    }
  },
  "required": [
    "type",
    "method",
    "bodyType",
    "body"
  ],
  "additionalProperties": false
}

Output schema

{
  "type": "object",
  "properties": {
    "type": {
      "type": "string"
    },
    "example": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "date": {
          "type": [
            "object",
            "null"
          ],
          "properties": {
            "date": {
              "type": [
                "string",
                "null"
              ]
            },
            "weekday": {
              "type": [
                "string",
                "null"
              ]
            },
            "week_iso": {
              "type": [
                "number",
                "null"
              ]
            },
            "year_iso": {
              "type": [
                "number",
                "null"
              ]
            },
            "quarter": {
              "type": [
                "number",
                "null"
              ]
            },
            "day_of_year": {
              "type": [
                "number",
                "null"
              ]
            },
            "leap": {
              "type": [
                "boolean",
                "null"
              ]
            },
            "days_in_month": {
              "type": [
                "number",
                "null"
              ]
            },
            "weekend": {
              "type": [
                "boolean",
                "null"
              ]
            }
          }
        },
        "result": {
          "type": [
            "object",
            "null"
          ],
          "properties": {
            "date": {
              "type": [
                "string",
                "null"
              ]
            },
            "weekday": {
              "type": [
                "string",
                "null"
              ]
            },
            "week_iso": {
              "type": [
                "number",
                "null"
              ]
            },
            "year_iso": {
              "type": [
                "number",
                "null"
              ]
            },
            "quarter": {
              "type": [
                "number",
                "null"
              ]
            },
            "day_of_year": {
              "type": [
                "number",
                "null"
              ]
            },
            "leap": {
              "type": [
                "boolean",
                "null"
              ]
            },
            "days_in_month": {
              "type": [
                "number",
                "null"
              ]
            },
            "weekend": {
              "type": [
                "boolean",
                "null"
              ]
            }
          }
        },
        "difference": {
          "type": [
            "object",
            "null"
          ],
          "properties": {
            "until": {
              "type": [
                "string",
                "null"
              ]
            },
            "total_days": {
              "type": [
                "number",
                "null"
              ]
            },
            "weeks": {
              "type": [
                "number",
                "null"
              ]
            },
            "years": {
              "type": [
                "number",
                "null"
              ]
            },
            "months": {
              "type": [
                "number",
                "null"
              ]
            },
            "days": {
              "type": [
                "number",
                "null"
              ]
            },
            "weekdays_mon_fri": {
              "type": [
                "number",
                "null"
              ]
            }
          }
        }
      }
    }
  },
  "required": [
    "type"
  ]
}