REST API

General information

Public endpoints for connectivity and clock sync. Signed routes are documented under REST endpoints.

HTTP

ItemValue
Base URL (v1)https://attestiaprotocol.xyz/api/v1
TLSHTTPS in production (required for real credentials).
Request bodyJSON for POST; charset UTF-8.
Response bodyJSON unless noted (e.g. SSE stream).
CompressionStandard gzip/brotli at the edge if your host enables it.

Test connectivity

Request
GET https://attestiaprotocol.xyz/api/v1/ping
NameTypeMandatoryDescription
No parameters.

Response

200 OK
{}

Check server time

Request
GET https://attestiaprotocol.xyz/api/v1/time
NameTypeMandatoryDescription
No parameters.

Response

200 OK
{
  "serverTime": 1735689600000
}

serverTimeis the server's Unix time in milliseconds; you can compare it with your own clock before signing requests.

Service metadata

Request
GET https://attestiaprotocol.xyz/api/v1/health

Response

200 OK
{
  "ok": true,
  "service": "attestia-api",
  "version": 1,
  "timestamp": "2026-05-04T12:00:00.000Z"
}

Request signing