---
title: "Get key"
method: GET
path: "/api/v2/{coin}/key/{id}"
tags: ["Key"]
---

# Get key

`GET /api/v2/{coin}/key/{id}`

Get Key using either the key id or the pub. When using the public key, it will only
return the mandatory fields.

## Path parameters

- `coin` string, required — A cryptocurrency symbol or token ticker symbol
- `id` string, required

## Response `200`

OK

- Key1
  - `id` string, required
  - `pub` string, required — Public part of a key pair
  - `ethAddress` string — Ethereum address associated with this key
  - `derivedFromParentWithSeed` string
  - `source` 'user' | 'cold' | 'bitgo' | 'backup', required
  - `hsmType` 'institutional' | 'nitro' | 'SDTrustNitro' | 'frankfurtDETrustNitro' | 'awsKms' — The type of HSM that owns this key.
  - `isBitGo` boolean — "true" if this key is owned by BitGo
  - `isTrust` boolean — "true" if this key is owned by Trust
  - `encryptedPrv` string — The encrypted private key
  - `aspKeyId` number
  - `coinSpecific` object
  - `type` 'tss' | 'independent', required
  - `commonKeychain` string — The commonKeychain for the key if this is a MPC key. This value is required to be set when the type is set to “tss” and when the source is either “user” or “backup”. Setting this indicates to BitGo that the owner of the key has received all key shares they needed for generating their key. This value is the concatenation of the common public key (32-byte) with the common chaincode (32-byte) as a hex string.
  - `verifiedVssProof` boolean
  - `commonPub` string — The common public key. This value is required to be set for MPC keys when the source is either "user" or "backup". Setting this indicates to BitGo that the owner of the key has received all key shares they needed for generating their key.
  - `commonPubSig` string
  - `provider` string
  - `distributedCustody` string
  - `webauthnDevices` object[]
    - `authenticatorInfo` AuthenticatorInfo, required
      - `credID` string, required — The credential ID of the authenticator
      - `fmt` string, required — The format of the authenticator
      - `publicKey` string, required — The public key of the authenticator
    - `encryptedPrv` string, required — The encrypted private key
    - `otpDeviceId` string, required — The OTP device ID
    - `prfSalt` string, required — The PRF salt
  - `migratedFrom` string
  - `parent` string — The id of the parent key this key was derived from, if any

## Other responses

- `400` — Bad Request
- `404` — Not Found
- `500` — Internal Server Error

---

[API](https://skmtc.net/bitgo/apis/bitgo-api.md) · [All operations](https://skmtc.net/bitgo/apis/bitgo-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/bitgo/bitgo-api/revisions/e445c15e5bee/schema)
