> ## Documentation Index
> Fetch the complete documentation index at: https://docs.timelockdata.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Merkle Proof

No authentication required. Get the full Merkle proof path for a specific transaction ID, which can be used to independently verify inclusion in a batch.


## OpenAPI

````yaml GET /merkle/proof/{txid}
openapi: 3.0.0
info:
  title: TimeLockData API
  description: Public API for evidence management and blockchain traceability
  version: 1.0.0
  contact: {}
servers:
  - url: https://api.timelockdata.com/api/v1
    description: Production
security: []
tags: []
paths:
  /merkle/proof/{txid}:
    get:
      tags:
        - Merkle Tree
      summary: Get Merkle proof for a specific transaction ID
      operationId: MerkleController_getMerkleProof
      parameters:
        - name: txid
          required: true
          in: path
          description: Transaction ID
          schema:
            type: string
      responses:
        '200':
          description: Merkle proof
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MerkleProofResponse'
        '404':
          description: TXID not found in any batch
components:
  schemas:
    MerkleProofResponse:
      type: object
      properties:
        status:
          type: string
          description: Response status
        txId:
          type: string
          description: Transaction ID
        merkleRoot:
          type: string
          description: Merkle root hash
        leafIndex:
          type: number
          description: Leaf index in the tree
        proof:
          description: Merkle proof path
          type: array
          items:
            $ref: '#/components/schemas/MerkleProofNode'
        error:
          type: string
          description: Error message if applicable
      required:
        - status
    MerkleProofNode:
      type: object
      properties:
        hash:
          type: string
          description: Hash value of the sibling node
        position:
          type: string
          description: Position of the sibling (left or right)
          enum:
            - left
            - right
      required:
        - hash
        - position

````