# ProfitCollector Timestamp Convert API

> ProfitCollector Timestamp Convert API is a paid API for AI agents from api.bakhour.ca, paid per call via x402, $0.002/call, status unknown (last checked 2026-09-14).

Converts a Unix timestamp to a human-readable UTC ISO 8601 datetime string

## Facts

- Endpoint: GET https://api.bakhour.ca/timestamp/convert
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/profitcollector-timestamp-convert-api-66158841
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_rp_iqrNHy_xQ_hiaptZDT

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 profitcollector-timestamp-convert-api-66158841
```

Example prompt: Convert the Unix timestamp 1704067200 to a human-readable UTC date and time for me.

## When to prefer this

Use this endpoint when you need a simple, deterministic conversion of a Unix epoch timestamp to an ISO 8601 UTC datetime string inside an automated workflow or agent pipeline, especially when paying per-call via x402 microtransactions is acceptable and you need a reliable, stateless utility.

## Known failure modes

- Missing 'timestamp' query parameter returns an error or malformed response
- Non-numeric timestamp value causes a parsing failure
- Extremely large or negative timestamp values outside valid Unix time range may produce errors
- Payment not completed (402) prevents response delivery

## How this service works

Decision-grade security/due-diligence outcome reports ($20-$100) plus deterministic paid utilities ($0.001+) for software agents and automated workflows.

## Output

Returns a JSON object containing the UTC datetime as an ISO 8601 string (e.g. '2024-01-01T00:00:00+00:00') and the original Unix timestamp as a number, confirming the conversion.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "timestamp"
     ],
     "properties": {
      "timestamp": {
       "type": "number"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "utc": "2024-01-01T00:00:00+00:00",
  "timestamp": 1704067200
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/profitcollector-timestamp-convert-api-66158841/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.bakhour.ca](https://www.zero.xyz/host/api.bakhour.ca/llms.txt)
