---
title: "Verify BlockChain Credential (v2)"
method: GET
path: "/v2/credentials/{id}/blockchain_data"
tags: ["Credentials"]
---

# Verify BlockChain Credential (v2)

`GET /v2/credentials/{id}/blockchain_data`

This endpoint gives data for a blockchain recorded credential.
It will help you verify authenticity of the credential on blockchain.
This endpoint would return different responses based on the Blockchain (*Bitcoin* or *Ethereum*) that it's issued in.

[Verify Blockchain record of a Credential - Video Walkthrough](https://www.loom.com/share/23621ac848c44a77ac1eda0eeb975d93?sid=c10228b9-6317-477b-b903-20ed78ce6b76)

## Path parameters

- `id` string, required

## Query parameters

- `key` string

## Response `200`

OK

- union
  - object
    - `data` object
      - `chain` string
      - `credential_json_data` object
        - `@context` string[]
        - `type` string[]
        - `id` string
        - `issuer` string
        - `issuanceDate` string
        - `credentialSubject` object
          - `name` string
          - `claim` object
            - `name` string
            - `description` string
        - `display` object
          - `contentMediaType` string
          - `content` string
      - `receipt` object
        - `txn_id` string
        - `body` object
          - `@context` string[]
          - `type` string[]
          - `id` string
          - `issuer` string
          - `issuanceDate` string
          - `credentialSubject` object
            - `name` string
            - `claim` object
              - …
          - `display` object
            - `contentMediaType` string
            - `content` string
          - `proof` object
            - `id` string
            - `type` string
            - `cryptosuite` string
            - `proofPurpose` string
            - `created` string
            - `proofValue` string
            - `verificationMethod` string
  - object
    - `data` object
      - `chain` string
      - `credential_json_data` object
        - `certificate` object
          - `name` string
          - `issuer` object
            - `name` string
            - `url` string
            - `id` string
            - `type` string
            - `email` string
          - `type` string
          - `id` string
          - `description` string
        - `verify` object
          - `signer` string
          - `attribute-signed` string
          - `type` string
        - `assertion` object
          - `issuedOn` string
          - `type` string
          - `uid` string
          - `id` string
        - `type` string
        - `@context` string
        - `recipient` object
          - `familyName` string
          - `hashed` boolean
          - `type` string
          - `identity` string
      - `receipt` object
        - `@context` string
        - `type` string
        - `targetHash` string
        - `merkleRoot` string
        - `proof` object[]
          - `left` string, required
          - `right` string
        - `anchors` object[]
          - `type` string
          - `sourceId` string

---

[API](https://skmtc.net/accredible/apis/accredible-credential-api.md) · [All operations](https://skmtc.net/accredible/apis/accredible-credential-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/accredible/accredible-credential-api/versions/56b317c13686/schema)
