# SolMachina SGP Checkpoint — Solana Epoch Progress & Slot Timing

> SolMachina SGP Checkpoint — Solana Epoch Progress & Slot Timing is a paid API for AI agents from api.solmachina.com, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-14).

Returns real-time Solana epoch progress, slot index, slot timing metrics, and ETA to epoch end for the current and recent epochs.

## Facts

- Endpoint: GET https://api.solmachina.com/v1/sgp-checkpoint
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/solmachina-sgp-checkpoint-solana-epoch-progress-slot-timing-0d0c8764
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_HVFssTSmEY15hiyfGOnAL

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 solmachina-sgp-checkpoint-solana-epoch-progress-slot-timing-0d0c8764
```

Example prompt: What's the current Solana epoch progress — how far along are we, what's the estimated end time, and can you include the last 30 series data points for context?

## When to prefer this

Use this endpoint when you need real-time Solana epoch timing data — specifically epoch progress percentage, slot duration metrics, or estimated epoch end time — without requiring an API key or account. Prefer this over generic Solana RPC calls when you want pre-computed, source-cited epoch intelligence with historical series context, paid per-call via x402 USDC.

## Known failure modes

- Solana RPC node unavailability causing stale or missing data
- Invalid 'n' parameter (out of 1-200 range) resulting in a 400 error
- Payment failure via x402 if USDC balance is insufficient
- Network latency causing delayed epoch progress readings

## How this service works

Before an AI agent executes on Solana, it asks SolMachina: risk + a decision (EXECUTE/REVIEW/REJECT) + an SMRI score + a signed receipt, paid per call over x402 in USDC. Trust-first — cites every source, says 'unknown' over guessing. No account, no API key.

## Output

Returns a structured JSON object with three sections: (1) 'latest' — current epoch number, slot index within the epoch, progress as a percentage, and total slots in epoch; (2) 'series' — count of data points and the most recent epoch transition (from/to epoch numbers); (3) 'measured' — average slot duration in milliseconds, ISO-formatted ETA for epoch end, and the baseline measurement window in hours.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "n": {
   "type": "integer",
   "description": "How many most-recent series points to include in `series.recent`, 1-200 (default 20)."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "latest": {
   "type": "object",
   "properties": {
    "epoch": {
     "type": "integer"
    },
    "slotIndex": {
     "type": "integer"
    },
    "progressPct": {
     "type": "number"
    },
    "slotsInEpoch": {
     "type": "integer"
    }
   }
  },
  "series": {
   "type": "object",
   "properties": {
    "count": {
     "type": "integer"
    },
    "lastTransition": {
     "type": "object",
     "properties": {
      "toEpoch": {
       "type": "integer"
      },
      "fromEpoch": {
       "type": "integer"
      }
     }
    }
   }
  },
  "measured": {
   "type": "object",
   "properties": {
    "slotMs": {
     "type": "number"
    },
    "etaEpochEndIso": {
     "type": "string"
    },
    "baselineSpanHours": {
     "type": "number"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/solmachina-sgp-checkpoint-solana-epoch-progress-slot-timing-0d0c8764/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.solmachina.com](https://www.zero.xyz/host/api.solmachina.com/llms.txt)
