REST API
General information
Public endpoints for connectivity and clock sync. Signed routes are documented under REST endpoints.
HTTP
| Item | Value |
|---|---|
| Base URL (v1) | https://attestiaprotocol.xyz/api/v1 |
| TLS | HTTPS in production (required for real credentials). |
| Request body | JSON for POST; charset UTF-8. |
| Response body | JSON unless noted (e.g. SSE stream). |
| Compression | Standard gzip/brotli at the edge if your host enables it. |
Test connectivity
GET https://attestiaprotocol.xyz/api/v1/ping| Name | Type | Mandatory | Description |
|---|---|---|---|
| — | — | — | No parameters. |
Response
{}Check server time
GET https://attestiaprotocol.xyz/api/v1/time| Name | Type | Mandatory | Description |
|---|---|---|---|
| — | — | — | No parameters. |
Response
{
"serverTime": 1735689600000
}serverTimeis the server's Unix time in milliseconds; you can compare it with your own clock before signing requests.
Service metadata
GET https://attestiaprotocol.xyz/api/v1/healthResponse
{
"ok": true,
"service": "attestia-api",
"version": 1,
"timestamp": "2026-05-04T12:00:00.000Z"
}