Api Endpoint

Lordevo Date calculator

Date calculator: add durations, business days, difference between dates: Date arithmetic offline: adds or subtracts durations (ISO 8601 or plain text, including business days with your weekend and holiday list), and gives the difference to a second date in calendar days, weeks, years/months/days...

Open interactive test console

Offering

Provider
shop.lordevo.com
Method
GET
Offering type
Api Endpoint
Transport type
http
Category
Other
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://shop.lordevo.com/api/quick/date-calc
MIME type
application/json
First seen
2026-11-01T15:05:36.808Z
Last seen
Tags
date math, business days, date difference, days between, add days

Payment pricing

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

Payment option 1
0.0021 USDC
Atomic price: 2100 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "2100",
    "payTo": "0x0876A79Bb5A88Bf338E6b47b4530359527b01d73"
  }
]

Observed health

Status
Healthy
Latest latency
832 ms
Average latency
1672 ms
HTTP status
402
Last checked
Reachability
88.9% 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": [
        "GET"
      ]
    },
    "queryParams": {
      "type": "object",
      "properties": {
        "date": {
          "type": "string",
          "description": "Date: YYYY-MM-DD, ISO 8601 date-time (2026-11-01T09:30, optional Z or +08:00), Unix seconds, today or now"
        },
        "add": {
          "type": "string",
          "description": "Duration to add: ISO 8601 (P1M2D, PT4H) or text (3 days, -2 weeks, 10 business days, 4h 30m; m = minutes, mo = months)"
        },
        "subtract": {
          "type": "string",
          "description": "Duration to subtract (same formats as add)"
        },
        "until": {
          "type": "string",
          "description": "Second date: returns the difference in days, weeks, years/months/days and business days"
        },
        "tz": {
          "type": "string",
          "description": "IANA time zone for today/now and local times (default UTC)"
        },
        "weekend": {
          "type": "string",
          "description": "Weekend days for business-day math, e.g. sat,sun (default), fri,sat, sun or none"
        },
        "holidays": {
          "type": "string",
          "description": "Dates to skip as holidays in business-day math: up to 400 YYYY-MM-DD, comma-separated",
          "maxLength": 5000
        }
      },
      "required": [
        "date"
      ]
    }
  },
  "required": [
    "type",
    "method"
  ],
  "additionalProperties": false
}

Output schema

{
  "type": "object",
  "properties": {
    "type": {
      "type": "string"
    },
    "example": {
      "type": "object",
      "properties": {
        "tool": {
          "type": "string"
        },
        "timezone": {
          "type": "string"
        },
        "input": {
          "type": "object"
        },
        "start": {
          "type": "object",
          "properties": {
            "date": {
              "type": "string"
            },
            "datetime": {
              "type": [
                "string",
                "null"
              ]
            },
            "utc": {
              "type": [
                "string",
                "null"
              ]
            },
            "unix_seconds": {
              "type": [
                "integer",
                "null"
              ]
            },
            "weekday": {
              "type": "string"
            },
            "iso_week": {
              "type": "string"
            },
            "day_of_year": {
              "type": "integer"
            },
            "quarter": {
              "type": "integer"
            },
            "days_in_month": {
              "type": "integer"
            },
            "is_leap_year": {
              "type": "boolean"
            },
            "is_weekend": {
              "type": "boolean"
            },
            "is_business_day": {
              "type": "boolean"
            }
          }
        },
        "applied": {
          "type": [
            "object",
            "null"
          ]
        },
        "result": {
          "type": [
            "object",
            "null"
          ],
          "properties": {
            "date": {
              "type": "string"
            },
            "datetime": {
              "type": [
                "string",
                "null"
              ]
            },
            "utc": {
              "type": [
                "string",
                "null"
              ]
            },
            "unix_seconds": {
              "type": [
                "integer",
                "null"
              ]
            },
            "weekday": {
              "type": "string"
            },
            "iso_week": {
              "type": "string"
            },
            "day_of_year": {
              "type": "integer"
            },
            "quarter": {
              "type": "integer"
            },
            "days_in_month": {
              "type": "integer"
            },
            "is_leap_year": {
              "type": "boolean"
            },
            "is_weekend": {
              "type": "boolean"
            },
            "is_business_day": {
              "type": "boolean"
            }
          }
        },
        "difference": {
          "type": [
            "object",
            "null"
          ],
          "properties": {
            "direction": {
              "type": "string",
              "enum": [
                "future",
                "past",
                "same"
              ]
            },
            "calendar_days": {
              "type": "integer"
            },
            "years": {
              "type": "integer"
            },
            "months": {
              "type": "integer"
            },
            "days": {
              "type": "integer"
            },
            "business_days": {
              "type": "integer"
            },
            "total_seconds": {
              "type": "integer"
            }
          }
        },
        "business_rules": {
          "type": "object"
        },
        "notes": {
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      },
      "required": [
        "tool",
        "timezone",
        "start"
      ]
    }
  },
  "required": [
    "type"
  ]
}