Skip to content
Sign in Create account

Returns public Merkle leaf records and the canonical bytes used for hashing

GET /api/v1/transparency/merkle/leaves

Returns public Merkle leaf records and the canonical bytes used for hashing.

The public Merkle endpoints return tree metadata and proofs. Query limits are clamped by the handler.

This operation needs no authentication.

Parameters

  • start integer query
    Default: 0. Range: at least 0. Example: 0
  • limit integer query
    Default: 100. Range: 1 to 1000. Example: 100

Responses

200 The requested transparency log data.

application/json ReceiptsMerkleLeaves

  • algorithm string required
    Example: "sha256-rfc6962-v1"
  • data array of object required

    Each item:

    • canonical_leaf_record string required
    • leaf_hash string required
      Pattern: ^[a-f0-9]{64}$
    • leaf_index integer required
      Range: at least 0
    • leaf_record object required
  • limit integer required
    Range: at least 1
  • start integer required
    Range: at least 0
  • tree_size integer required
    Range: at least 0

Generated sample

{
  "algorithm": "sha256-rfc6962-v1",
  "data": [
    {
      "canonical_leaf_record": "string",
      "leaf_hash": "string",
      "leaf_index": 0,
      "leaf_record": {}
    }
  ],
  "limit": 1,
  "start": 0,
  "tree_size": 0
}
404 The selected tree head or leaf is unavailable.

application/json GenericError

  • error any

    One of

    • string
    • object

      Any keys are accepted.

  • error_code string
  • code string
  • message string
  • detail string
  • status any

    One of

    • string
    • integer
  • errors object

    Any keys are accepted.

409 The log proof could not be produced consistently.

application/json GenericError

  • error any

    One of

    • string
    • object

      Any keys are accepted.

  • error_code string
  • code string
  • message string
  • detail string
  • status any

    One of

    • string
    • integer
  • errors object

    Any keys are accepted.

422 The query parameters are invalid.

application/json GenericError

  • error any

    One of

    • string
    • object

      Any keys are accepted.

  • error_code string
  • code string
  • message string
  • detail string
  • status any

    One of

    • string
    • integer
  • errors object

    Any keys are accepted.

429 The route throttle limit was exceeded.

application/json GenericError

  • error any

    One of

    • string
    • object

      Any keys are accepted.

  • error_code string
  • code string
  • message string
  • detail string
  • status any

    One of

    • string
    • integer
  • errors object

    Any keys are accepted.

text/html string

500 The server-side proof verification failed.

application/json GenericError

  • error any

    One of

    • string
    • object

      Any keys are accepted.

  • error_code string
  • code string
  • message string
  • detail string
  • status any

    One of

    • string
    • integer
  • errors object

    Any keys are accepted.