Look up a public key by email, key ID or fingerprint.
GET/api/v1/key
- Takes: Email
- Passive: the target is not contacted
Send exactly one of email, keyId or fingerprint. Returns the key object including the ASCII-armored public key.
Query parameters
emailEmail address on the key
keyId16 hex character key ID
fingerprint40 hex character V4 fingerprint
Response fields · 10ShowHide
keyId
16 hex character key ID
fingerprint
40 hex character fingerprint
userIds[]
User IDs on the key
name
Name on the user ID
email
Email on the user ID
verified
"true" or "false"
created
Creation time as a JavaScript date string
algorithm
Primary key algorithm
keySize
Key length in bits
publicKeyArmored
ASCII-armored public key
curl 'https://keys.mailvelope.com/api/v1/key'{
"keyId": "0123456789ABCDEF",
"fingerprint": "0123456789ABCDEF0123456789ABCDEF01234567",
"userIds": [
{
"name": "Jane Example",
"email": "jane@example.com",
"verified": "true"
}
],
"created": "Mon Jan 01 2024 00:00:00 GMT+0000 (UTC)",
"algorithm": "rsaEncryptSign",
"keySize": "4096",
"publicKeyArmored": "-----BEGIN PGP PUBLIC KEY BLOCK-----\n...\n-----END PGP PUBLIC KEY BLOCK-----"
}