---
title: "Export EVM account by name"
method: POST
path: "/v2/evm/accounts/export/by-name/{name}"
tags: ["EVM Accounts"]
---

# Export EVM account by name

`POST /v2/evm/accounts/export/by-name/{name}`

## Request

- Base URL: `https://api.cdp.coinbase.com/platform`
- URL: `https://api.cdp.coinbase.com/platform/v2/evm/accounts/export/by-name/{name}`
- Auth: HTTP bearer

Export an existing EVM account's private key by its name. It is important to store the private key in a secure place after it's exported.

## Path parameters

- `name` string, required

## Headers

- `X-Wallet-Auth` string, required
- `X-Idempotency-Key` string

## Request body

- object
  - `exportEncryptionKey` string, required: The base64-encoded, public part of the RSA key in DER format used to encrypt the account private key.

## Response `200`

Successfully exported EVM account.

- object
  - `encryptedPrivateKey` string, required: The base64-encoded, encrypted private key of the EVM account which is a 32 byte raw private key. The private key is encrypted in transport using the exportEncryptionKey in the request.

## Other responses

- `400`: Invalid request.
- `401`: Unauthorized.
- `402`: A payment method is required to complete this operation.
- `404`: Not found.
- `422`: Idempotency key conflict.
- `500`: Internal server error.
- `502`: Bad gateway.
- `503`: Service unavailable.

## Changes

- **2026-12-01** `06cb41a4fb57`: 8 warning
  - added the new `policy_not_applicable` enum value to the `errorType` response property for the response status `400`
  - added the new `policy_not_applicable` enum value to the `errorType` response property for the response status `401`
  - added the new `policy_not_applicable` enum value to the `errorType` response property for the response status `402`
  - added the new `policy_not_applicable` enum value to the `errorType` response property for the response status `404`
  - …4 more
- **2026-10-16** `ff3c1fdef902`: 8 warning
  - added the new `entity_not_configured_for_top_up` enum value to the `errorType` response property for the response status `400`
  - added the new `entity_not_configured_for_top_up` enum value to the `errorType` response property for the response status `401`
  - added the new `entity_not_configured_for_top_up` enum value to the `errorType` response property for the response status `402`
  - added the new `entity_not_configured_for_top_up` enum value to the `errorType` response property for the response status `404`
  - …4 more
- …earlier changes not shown

[Operation history](https://skmtc.dev/coinbase/apis/coinbase-developer-platform-apis/changes/v2/evm/accounts/export/by-name/:name/post.md)

---

[API](https://skmtc.dev/coinbase/apis/coinbase-developer-platform-apis.md) - [All operations](https://skmtc.dev/coinbase/apis/coinbase-developer-platform-apis/llms.txt) - [OpenAPI document](https://skmtc.dev/coinbase/apis/coinbase-developer-platform-apis/revisions/06cb41a4fb57?raw)
