Clockchain API
Base URL:https://clockchain.timepointai.com
MCP Endpoint: https://clockchain.timepointai.com/mcp/ (Streamable HTTP, v1.26.0)
Public endpoints require no authentication. Write endpoints require WRITER_TOKENS (per-writer identity tokens). Admin endpoints require X-Admin-Key.
Public Endpoints
GET /api/v1/stats
Graph statistics.GET /api/v1/moments
Paginated list of moments with filtering. Query Parameters:| Parameter | Type | Description |
|---|---|---|
limit | int | Max results (default 20) |
offset | int | Pagination offset |
q | string | Full-text search |
year_from | int | Filter: minimum year |
year_to | int | Filter: maximum year |
entity | string | Filter by historical figure |
sort | string | Sort order |
GET /api/v1/moments/
Get a specific moment by canonical path, including its edges.Authenticated Endpoints
Write endpoints require a valid writer token (fromWRITER_TOKENS). Admin endpoints require X-Admin-Key.
| Endpoint | Method | Auth | Description |
|---|---|---|---|
/browse | GET | X-Service-Key | Browse graph with full metadata |
/search | GET | X-Service-Key | Search with advanced filters |
/random | GET | X-Service-Key | Random moment |
/today | GET | X-Service-Key | Today in history |
/generate | POST | WRITER_TOKENS | Generate new moment via Flash |
/ingest/tdf | POST | WRITER_TOKENS | Ingest TDF record |
MCP Endpoint
The Clockchain exposes its temporal causal graph via the Model Context Protocol (MCP) at:Interactive API Docs
The Clockchain provides built-in interactive documentation:- Swagger UI:
/docs— try endpoints directly in the browser - ReDoc:
/redoc— readable reference documentation
TDF Export
Add?format=tdf to any moment endpoint to get TDF-formatted output: