---
title: "The public half of the attestation key"
method: GET
path: "/api/v1/ledger/pubkey"
tags: ["Ledger"]
---

# The public half of the attestation key

`GET /api/v1/ledger/pubkey`

## Request

- Base URL: `https://api.riskrouter.eu`
- URL: `https://api.riskrouter.eu/api/v1/ledger/pubkey`
- Auth: none declared

Convenience only. Verify against the copy in the public repository (anchors/signing-key.json) or one you saved earlier, not a key handed to you at the moment you check.

## Response `200`

The key.

- PublicKey
  - `ok` boolean
  - `key_id` string, nullable
  - `algorithm` string
  - `public_key` object
    - `kty` 'EC'
    - `crv` 'P-256'
    - `x` string
    - `y` string
  - `caveat` string

## Other responses

- `503`: Every error carries the same envelope with a stable code.

---

[API](https://skmtc.dev/riskrouter/apis/riskrouter-api.md) · [All operations](https://skmtc.dev/riskrouter/apis/riskrouter-api/llms.txt) · [OpenAPI document](https://skmtc.dev/riskrouter/apis/riskrouter-api/revisions/5fee45dc6d1f?raw)
