# SableForge Time API

> SableForge Time API is a paid API for AI agents from sableforge.servehttp.com, paid per call via x402, $0.0005/call, status unknown (last checked 2026-10-11).

Returns the current UTC time as ISO 8601, Unix timestamp, and Base blockchain block number via a pay-per-call endpoint settled in USDC on Base.

## Facts

- Endpoint: GET https://sableforge.servehttp.com/api/time?utm_source=zero.xyz
- Price: $0.0005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-11
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/sableforge-time-api-052f45c1
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_VUNaG25HkXnCk5hNsV0Ej

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 sableforge-time-api-052f45c1
```

Example prompt: What's the current UTC time right now, including the Unix timestamp and the latest Base blockchain block number?

## When to prefer this

Choose this endpoint when an AI agent needs current time data (UTC, Unix, or Base block) without any account signup or API key, and can settle micropayments in USDC on Base via the x402 v2 protocol. It is particularly useful for autonomous agents that need a trustless, permissionless time oracle co-anchored to Base blockchain state. Prefer it over free time APIs when operating in a crypto-native, x402-enabled payment stack where billing is per-call and frictionless.

## Known failure modes

- Payment failure: insufficient USDC balance or x402 payment not accepted — returns HTTP 402
- Invalid format query param: unsupported format value may return 400 or be ignored
- Service unavailable: self-hosted endpoint may be offline — returns HTTP 503 or connection timeout
- Network timeout: servehttp.com dynamic DNS may occasionally fail to resolve

## How this service works

12 pay-per-call HTTP APIs settled in USDC on Base via x402 v2. No API keys, no accounts, no signup — $0.0005–$0.0020 per call. Includes a locally hosted 27B LLM endpoint.

## Output

A JSON object containing three fields: 'iso' (current UTC time in ISO 8601 format, e.g. '2026-09-30T00:00:00Z'), 'unix' (current Unix epoch timestamp as an integer), and 'base_block' (current Base blockchain block number as an integer). The response is settled via x402 v2 USDC micropayment at $0.0005 per call.

## 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",
     "properties": {
      "format": {
       "type": "string"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "iso": "2026-09-30T00:00:00Z",
  "unix": 1790000000,
  "base_block": 12345678
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/sableforge-time-api-052f45c1/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from sableforge.servehttp.com](https://www.zero.xyz/host/sableforge.servehttp.com/llms.txt)
