Skip to main content
POST /api/v1/wallet/export-key Exports the private key of your Parsec-managed wallet. This is a destructive action — once exported, you are responsible for securing the key.
Store exported keys securely. Parsec cannot recover funds if a private key is compromised.

Parameters

wallet_type
string
default:"eoa"
Which wallet to export: "eoa" (default) or "safe".

Response

private_key
string
Hex-encoded private key (0x-prefixed).
curl -X POST "https://api.parsecapi.com/api/v1/wallet/export-key" \
  -H "X-API-Key: pk_live_YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{ "wallet_type": "eoa" }'
{
  "private_key": "0x1234567890abcdef..."
}