# DataVault Timestamp Converter

> DataVault Timestamp Converter is a paid API for AI agents from zetdatavault.vercel.app, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-15).

Converts a date string into a Unix timestamp or other formatted timestamp representation

## Facts

- Endpoint: POST https://zetdatavault.vercel.app/api/timestamp
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/datavault-timestamp-converter-1f99d7ff
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_yONI4lndibc8DEdv2plxN

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability datavault-timestamp-converter-1f99d7ff -d '<json body>'
```

Example prompt: Convert '2025-06-15' to a Unix timestamp using DataVault's timestamp endpoint — I need the numeric epoch value back.

## When to prefer this

Use this endpoint when you need a simple, pay-per-call date-to-timestamp conversion without setting up a local library, or when running in an environment where date parsing utilities are unavailable. Particularly useful in agent workflows that need to convert human-readable dates to machine-readable epoch values on demand.

## Known failure modes

- Invalid date string format causes parsing failure and error response
- Unsupported format value results in unknown format error
- Missing required date field returns validation error
- Malformed JSON body returns 400-level error
- Payment failure via x402 returns 402 Payment Required before processing

## How this service works

54 endpoints spanning local tools, live data feeds, and AI-powered text processing. Pay-per-call with USDC on Base.

## Output

Returns a JSON object with a success boolean and a data object containing the computed timestamp or formatted date value corresponding to the input date string and requested format.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "date": {
   "type": "string"
  },
  "format": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "data": {
   "type": "object"
  },
  "success": {
   "type": "boolean"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/datavault-timestamp-converter-1f99d7ff/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from zetdatavault.vercel.app](https://www.zero.xyz/host/zetdatavault.vercel.app/llms.txt)
