# Coinbase End User Accounts API

**Canonical:** https://apis.io/apis/coinbase/coinbase-end-user-accounts-api/  
**Provider:** Coinbase — https://apis.io/providers/coinbase/  
**Base URL:** https://api.coinbase.com  
**Documentation:** https://www.coinbase.com/developer-platform/products/wallet-sdk

Coinbase End User Accounts API is one of 52 APIs that [Coinbase](https://apis.io/providers/coinbase/) publishes on the [APIs.io](https://apis.io/) network, described by a machine-readable OpenAPI specification and an AsyncAPI event-driven specification. This API exposes 12 JSON Schema definitions. Tagged areas include End User Accounts. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, an AsyncAPI specification, and 12 JSON Schemas.

The End User Accounts APIs enable end users to directly create, manage, and use their accounts. They are typically accessed via the CDP Web SDK, which handles end-user authentication and Temporary Wallet Secret management on behalf of the developer. The End User Accounts APIs offer end users full control over their accounts, including the ability to sign transactions and messages, and to export their accounts' private keys. ## Delegated Signing Delegated signing allows developers to sign and send transactions on behalf of an end user without requiring the end user to be present at signing time. This is useful for background operations, automated workflows, and scenarios where the developer's server needs to act on the end user's behalf. To use delegated signing, the end user must first create a short-lived **delegation grant** by authenticating with their access token and Temporary Wallet Secret. The grant specifies an `expiresAt` timestamp that defines how long the developer is authorized to sign on the end user's behalf. Once a delegation grant is active, the developer's server can use its CDP API key to perform signing operations for that end user. The delegation middleware transparently validates that an active (non-expired, non-revoked) grant exists for the `{project, user}` pair before allowing the operation to proceed. **Grant lifecycle:** - Delegation grants are scoped to a single project and end user pair. - Grants are time-bounded by the `expiresAt` timestamp and are automatically cleaned up after expiration. - Grants can be revoked early by either the end user (using their access token and TWS) or the developer (using their API key), via the `RevokeDelegationForEndUser` endpoint. - Only one active grant can exist per `{project, user}` pair at a given time.

## Operations (26)

| Method | Path | Summary |
|---|---|---|
| GET | `/v2/embedded-wallet-api/evm/borrow-products` | List borrow products |
| GET | `/v2/embedded-wallet-api/evm/borrow-products/{borrowProductId}` | Get a borrow product |
| POST | `/v2/embedded-wallet-api/end-users/{userId}/evm/sign/transaction` | Sign transaction via end user EVM account |
| POST | `/v2/embedded-wallet-api/end-users/{userId}/evm/send/transaction` | Send transaction via end user EVM account |
| POST | `/v2/embedded-wallet-api/end-users/{userId}/evm/{address}/send/{asset}` | Send USDC on EVM |
| POST | `/v2/embedded-wallet-api/end-users/{userId}/evm/sign/message` | Sign EIP-191 message via end user EVM account |
| POST | `/v2/embedded-wallet-api/end-users/{userId}/evm/sign/typed-data` | Sign EIP-712 typed data via end user EVM account |
| GET | `/v2/embedded-wallet-api/end-users/{userId}/delegation` | Get delegation for end user |
| DELETE | `/v2/embedded-wallet-api/end-users/{userId}/delegation` | Revoke delegation for end user (deprecated) |
| POST | `/v2/embedded-wallet-api/end-users/{userId}/delegation/revoke` | Revoke delegation for end user |
| POST | `/v2/embedded-wallet-api/end-users/{userId}/address/{address}/delegation` | Create account-scoped delegation for end user |
| GET | `/v2/embedded-wallet-api/end-users/{userId}/address/{address}/delegation` | Get account-scoped delegation for end user |
| DELETE | `/v2/embedded-wallet-api/end-users/{userId}/address/{address}/delegation` | Revoke account-scoped delegation for end user (deprecated) |
| POST | `/v2/embedded-wallet-api/end-users/{userId}/address/{address}/delegation/revoke` | Revoke account-scoped delegation for end user |
| POST | `/v2/embedded-wallet-api/end-users/{userId}/evm/eip7702/delegation` | Create EIP-7702 delegation for end user EVM account |
| GET | `/v2/embedded-wallet-api/end-users/{userId}/evm/smart-accounts/{address}/user-operations/{userOpHash}` | Get a user operation for end user EVM Smart Account |
| POST | `/v2/embedded-wallet-api/end-users/{userId}/evm/smart-accounts/{address}/send` | Send user operation for end user Smart Account |
| GET | `/v2/embedded-wallet-api/end-users/{userId}/evm/smart-accounts/{address}/borrow-positions` | List borrow positions for an end user smart account |
| POST | `/v2/embedded-wallet-api/end-users/{userId}/evm/smart-accounts/{address}/borrow-positions` | Create a borrow position for an end user smart account |
| POST | `/v2/embedded-wallet-api/end-users/{userId}/evm/smart-accounts/{address}/borrow-positions/adjust` | Adjust a borrow position for an end user smart account |
| POST | `/v2/embedded-wallet-api/end-users/{userId}/evm/smart-accounts/{address}/borrow-positions/close` | Close a borrow position for an end user smart account |
| POST | `/v2/embedded-wallet-api/end-users/{userId}/solana/sign/message` | Sign Base64-encoded message |
| POST | `/v2/embedded-wallet-api/end-users/{userId}/solana/sign/transaction` | Sign transaction via end user Solana account |
| POST | `/v2/embedded-wallet-api/end-users/{userId}/solana/sign/x402-payment` | Sign x402 payment via end user Solana account |
| POST | `/v2/embedded-wallet-api/end-users/{userId}/solana/send/transaction` | Send transaction via end user Solana account |
| POST | `/v2/embedded-wallet-api/end-users/{userId}/solana/{address}/send/{asset}` | Send USDC on Solana |

## Machine-readable artifacts (21)

- **OpenAPI** — https://raw.githubusercontent.com/api-evangelist/coinbase/refs/heads/main/openapi/coinbase-end-user-accounts-api-openapi.yml
- **Documentation** — https://docs.cdp.coinbase.com/coinbase-app/advanced-trade-apis/rest-api
- **AsyncAPI** — https://raw.githubusercontent.com/api-evangelist/coinbase/refs/heads/main/asyncapi/coinbase-advanced-trade-asyncapi.yml
- **Documentation** — https://docs.cdp.coinbase.com/exchange/docs/welcome
- **AsyncAPI** — https://raw.githubusercontent.com/api-evangelist/coinbase/refs/heads/main/asyncapi/coinbase-exchange-asyncapi.yml
- **Documentation** — https://docs.cdp.coinbase.com/prime/docs/rest-requests
- **Documentation** — https://docs.cdp.coinbase.com/onramp/docs/welcome
- **Documentation** — https://commerce.coinbase.com/docs/api
- **AsyncAPI** — https://raw.githubusercontent.com/api-evangelist/coinbase/refs/heads/main/asyncapi/coinbase-commerce-webhooks-asyncapi.yml
- **JSONSchema** — https://raw.githubusercontent.com/api-evangelist/coinbase/refs/heads/main/json-schema/coinbase-conversion-schema.json
- **JSONSchema** — https://raw.githubusercontent.com/api-evangelist/coinbase/refs/heads/main/json-schema/coinbase-currency-schema.json
- **JSONSchema** — https://raw.githubusercontent.com/api-evangelist/coinbase/refs/heads/main/json-schema/coinbase-payment-method-schema.json
- **JSONSchema** — https://raw.githubusercontent.com/api-evangelist/coinbase/refs/heads/main/json-schema/coinbase-transfer-schema.json
- **JSONSchema** — https://raw.githubusercontent.com/api-evangelist/coinbase/refs/heads/main/json-schema/coinbase-transaction-summary-schema.json
- **JSONSchema** — https://raw.githubusercontent.com/api-evangelist/coinbase/refs/heads/main/json-schema/coinbase-price-book-schema.json
- **JSONSchema** — https://raw.githubusercontent.com/api-evangelist/coinbase/refs/heads/main/json-schema/coinbase-product-schema.json
- **JSONSchema** — https://raw.githubusercontent.com/api-evangelist/coinbase/refs/heads/main/json-schema/coinbase-candle-schema.json
- **JSONSchema** — https://raw.githubusercontent.com/api-evangelist/coinbase/refs/heads/main/json-schema/coinbase-trade-schema.json
- **JSONSchema** — https://raw.githubusercontent.com/api-evangelist/coinbase/refs/heads/main/json-schema/coinbase-order-book-schema.json
- **JSONSchema** — https://raw.githubusercontent.com/api-evangelist/coinbase/refs/heads/main/json-schema/coinbase-trade-2-schema.json
- **JSONSchema** — https://raw.githubusercontent.com/api-evangelist/coinbase/refs/heads/main/json-schema/coinbase-profile-schema.json

## Other Coinbase APIs (12)

- [Coinbase Wallet SDK](https://apis.io/apis/coinbase/wallet-sdk/)
- [Coinbase Data API](https://apis.io/apis/coinbase/data-api/)
- [Coinbase AgentKit](https://apis.io/apis/coinbase/agentkit/)
- [Coinbase Accounts API](https://apis.io/apis/coinbase/coinbase-accounts-api/)
- [Coinbase Activities API](https://apis.io/apis/coinbase/coinbase-activities-api/)
- [Coinbase Address Book API](https://apis.io/apis/coinbase/coinbase-address-book-api/)
- [Coinbase Allocations API](https://apis.io/apis/coinbase/coinbase-allocations-api/)
- [Coinbase Assets API](https://apis.io/apis/coinbase/coinbase-assets-api/)
- [Coinbase Balances API](https://apis.io/apis/coinbase/coinbase-balances-api/)
- [Coinbase Buy API](https://apis.io/apis/coinbase/coinbase-buy-api/)
- [Coinbase Charges API](https://apis.io/apis/coinbase/coinbase-charges-api/)
- [Coinbase Checkouts API](https://apis.io/apis/coinbase/coinbase-checkouts-api/)

## Tags

End User Accounts

---

Profiled by [API Evangelist](https://apievangelist.com) and published on [APIs.io](https://apis.io/apis/coinbase/coinbase-end-user-accounts-api/). The API's provider profile, Kin Score and agent-readiness rating are at https://apis.io/providers/coinbase/.
