> ## 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 Root

No authentication required. Retrieve the Merkle root and batch information for a given blockchain transaction ID.


## OpenAPI

````yaml GET /merkle/root/{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/root/{txid}:
    get:
      tags:
        - Merkle Tree
      summary: Get Merkle root for a transaction ID
      operationId: MerkleController_getMerkleRoot
      parameters:
        - name: txid
          required: true
          in: path
          description: Transaction ID
          schema:
            type: string
      responses:
        '200':
          description: Merkle root information
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MerkleRootResponse'
        '404':
          description: TXID not found in any batch
components:
  schemas:
    MerkleRootResponse:
      type: object
      properties:
        status:
          type: string
          description: Response status
        merkleRoot:
          type: string
          description: Merkle root hash
        txidCount:
          type: number
          description: Number of TXIDs in the batch
        sendStatus:
          type: string
          description: Send status (P=Pending, S=Sent, F=Failed, C=Confirmed)
        treeDepth:
          type: number
          description: Tree depth
        createdAt:
          type: string
          description: Batch creation date (ISO 8601)
        tsaGenTime:
          type: string
          description: TSA certified timestamp (ISO 8601)
        tsaSerial:
          type: string
          description: TSA serial number
        tsaPolicy:
          type: string
          description: TSA policy OID
        batchId:
          type: string
          description: Batch ID (needed to download .tsr token)
        error:
          type: string
          description: Error message if applicable
      required:
        - status

````