Api Endpoint

159-65-130-200.sslip.io … /api/date-math

Calendar date arithmetic, date differences and timezone conversion (IANA zones, DST-aware). Deterministic, no LLM. Input JSON, choose action: add = {action:'add', start, timezone?, add:{years,months,weeks,days,hours,minutes,seconds}} (month-end clamps, e.g. Jan 31 +1 month = Feb 28). diff = {action:'diff', start, end, timezone?} returns exact total_seconds/total_days plus calendar breakdown. convert = {action:'convert', datetime, timezone? (source zone for naive times, default UTC), to_timezo...

Open interactive test console

Offering

Provider
159-65-130-200.sslip.io
Method
POST
Offering type
Api Endpoint
Transport type
http
Category
Other
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://159-65-130-200.sslip.io/api/date-math
MIME type
Not provided
First seen
2026-11-16T17:11:48.804Z
Last seen
Tags
date, Time, timezone, calendar, deterministic

Payment pricing

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

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

Observed health

Status
Reachable
Latest latency
697 ms
Average latency
727 ms
HTTP status
405
Last checked
Reachability
100% over 4 checks

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

Input schema

{
  "additionalProperties": false,
  "properties": {
    "body": {
      "properties": {
        "action": {
          "description": "Operation",
          "enum": [
            "add",
            "diff",
            "convert"
          ],
          "type": "string"
        },
        "add": {
          "additionalProperties": false,
          "description": "For add: integer amounts per unit",
          "properties": {
            "days": {
              "type": "integer"
            },
            "hours": {
              "type": "integer"
            },
            "minutes": {
              "type": "integer"
            },
            "months": {
              "type": "integer"
            },
            "seconds": {
              "type": "integer"
            },
            "weeks": {
              "type": "integer"
            },
            "years": {
              "type": "integer"
            }
          },
          "type": "object"
        },
        "datetime": {
          "description": "For convert: datetime with time component",
          "type": "string"
        },
        "end": {
          "description": "For diff: end date or datetime",
          "type": "string"
        },
        "start": {
          "description": "For add/diff: start date or datetime",
          "type": "string"
        },
        "timezone": {
          "description": "Optional IANA zone (e.g. Asia/Singapore) for naive values",
          "type": "string"
        },
        "to_timezone": {
          "description": "For convert: target IANA zone",
          "type": "string"
        }
      },
      "required": [
        "action"
      ],
      "type": "object"
    },
    "bodyType": {
      "enum": [
        "json",
        "form-data",
        "text"
      ],
      "type": "string"
    },
    "method": {
      "enum": [
        "POST"
      ],
      "type": "string"
    },
    "type": {
      "const": "http",
      "type": "string"
    }
  },
  "required": [
    "type",
    "method",
    "bodyType",
    "body"
  ],
  "type": "object"
}

Output schema

{
  "properties": {
    "example": {
      "type": "object"
    },
    "type": {
      "type": "string"
    }
  },
  "required": [
    "type"
  ],
  "type": "object"
}