Server402 marketplace

Paid API service

Timestamp

Return the current server time in UTC RFC3339 format and Unix seconds.

Invocation

Service ID
timestamp
Method
GET
Endpoint
/api/tools/timestamp
Legacy Endpoint
none
MCP Tool
timestamp
Price
USD 0.03

Payment

Call the endpoint without payment to receive HTTP 402 metadata. After payment is complete, retry with X-Payment-Token, an x402 payment signature, or MCP paymentToken.

Call GET /api/tools/timestamp once to receive HTTP 402 with accepts[] requirements, or create a payment with POST /api/payments using serviceId="timestamp". Pay Base USDC with PAYMENT-SIGNATURE or pay XIAO with X402-Guarantee, then retry the same request.

Schema And Examples

{
  "exampleRequest": {},
  "exampleResponse": {
    "isoTime": "2026-05-26T00:00:00Z",
    "unix": 1779753600
  },
  "inputSchema": {
    "properties": {},
    "type": "object"
  },
  "outputSchema": {
    "properties": {
      "isoTime": {
        "format": "date-time",
        "type": "string"
      },
      "unix": {
        "type": "integer"
      }
    },
    "type": "object"
  }
}