HTTP API
The script calls terrastamp’s API for you; you shouldn’t need to call the check endpoints directly. These are the endpoints your own code may use:
| Endpoint | |
|---|---|
GET /v1/stamp.js |
The embed script. |
GET /.well-known/jwks.json |
The public keys stamps are signed with. |
GET /v1/proof/<jti> |
A stamp’s timestamp proof. |
GET /healthz |
Service health. |
All are on https://api.terrastamp.dev.
Check endpoints
Section titled “Check endpoints”Used by the script, listed for completeness:
| Endpoint | |
|---|---|
POST /v1/start |
Starts a check with the browser’s signals. Returns a stamp, or asks for location. |
POST /v1/locate |
Sends the location result and returns a stamp. |
POST /v1/e |
Check progress events. |
They accept requests only from pages on your site key’s host (the Origin must match), and are rate
limited per visitor. Errors are RFC 9457 Problem Details (application/problem+json).