Coinbase End User Accounts API

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.

GitHub OpenAPI
Business capability
Crypto Wallets AE-240.10

Operations 26

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /v2/embedded-wallet-api/evm/borrow-products List EVM borrow products · List borrow products #
Ask an LLM
“Which EVM lending protocols and borrowable markets are available?”
“Can I list borrow products for just one network?”
Tell an agent
List EVM borrow products on {network}.
Show borrow products from {protocol}.
GET /v2/embedded-wallet-api/evm/borrow-products/{borrowProductId} Get an EVM borrow product · Get a borrow product #
Ask an LLM
“What collateral and debt capabilities does a specific borrow product have?”
“Can I look up a borrow product by its ID?”
Tell an agent
Get EVM borrow product {borrowProductId}.
Show the details of borrow product {borrowProductId}.
POST /v2/embedded-wallet-api/end-users/{userId}/evm/sign/transaction Sign an EVM transaction for an end user · Sign transaction via end user EVM account #
Ask an LLM
“How do I sign a raw EIP-1559 transaction for an end user's wallet?”
“Can I sign a transaction without sending it?”
Tell an agent
Sign EVM transaction {transaction} for end user {userId} at {address}.
Sign the raw transaction {transaction} on {address} for user {userId} with wallet secret {walletSecretId}.
POST /v2/embedded-wallet-api/end-users/{userId}/evm/send/transaction Send an EVM transaction for an end user · Send transaction via end user EVM account #
Ask an LLM
“How do I send a transaction from an end user's wallet with gas and nonce handled?”
“Can I send a transaction to a specific network for an end user?”
Tell an agent
Send EVM transaction {transaction} from {address} for end user {userId} on {network}.
Send {transaction} from user {userId}'s {address} on {network} using wallet secret {walletSecretId}.
POST /v2/embedded-wallet-api/end-users/{userId}/evm/{address}/send/{asset} Send USDC from an end user's EVM account · Send USDC on EVM #
Ask an LLM
“How do I send USDC from an end user's EVM account to a recipient?”
“Can I send USDC through a smart account with gas sponsorship?”
Tell an agent
Send {amount} {asset} from {address} on {network} for end user {userId} to {to}.
Send {amount} {asset} from {address} on {network} for user {userId} to {to} using paymaster {paymasterUrl}.
POST /v2/embedded-wallet-api/end-users/{userId}/evm/sign/message Sign an EIP-191 message for an end user · Sign EIP-191 message via end user EVM account #
Ask an LLM
“How do I get an end user to sign a message for EIP-191 verification?”
“Can I sign a plain text message with an end user's wallet?”
Tell an agent
Sign message {message} for end user {userId} at {address}.
Sign {message} on {address} for user {userId} with wallet secret {walletSecretId}.
POST /v2/embedded-wallet-api/end-users/{userId}/evm/sign/typed-data Sign EIP-712 typed data for an end user · Sign EIP-712 typed data via end user EVM account #
Ask an LLM
“How do I get an end user to sign structured EIP-712 typed data?”
“Can I sign a typed data object with an end user's wallet?”
Tell an agent
Sign EIP-712 typed data {typedData} for end user {userId} at {address}.
Sign typed data {typedData} on {address} for user {userId} with wallet secret {walletSecretId}.
GET /v2/embedded-wallet-api/end-users/{userId}/delegation Get an end user's active delegation · Get delegation for end user #
Ask an LLM
“Is there an active delegation for this end user?”
“Can I check a user's delegation status before revoking it?”
Tell an agent
Get the active delegation for end user {userId}.
Show user {userId}'s delegation status.
DELETE /v2/embedded-wallet-api/end-users/{userId}/delegation Revoke an end user's delegation (deprecated) · Revoke delegation for end user (deprecated) #
Ask an LLM
“Is there an older deprecated way to revoke a user's delegation?”
“Can I still use the deprecated DELETE call to revoke a user's delegation?”
Tell an agent destructive · confirm first
Revoke the deprecated delegation for end user {userId}.
Use the deprecated DELETE call to revoke user {userId}'s delegation.
POST /v2/embedded-wallet-api/end-users/{userId}/delegation/revoke Revoke an end user's delegation · Revoke delegation for end user #
Ask an LLM
“How do I revoke all active delegations for an end user?”
“Can I revoke a user's delegation with a wallet secret?”
Tell an agent destructive · confirm first
Revoke all delegations for end user {userId}.
Revoke user {userId}'s delegation with wallet secret {walletSecretId}.
POST /v2/embedded-wallet-api/end-users/{userId}/address/{address}/delegation Create an account-scoped delegation · Create account-scoped delegation for end user #
Ask an LLM
“How do I let a developer sign on behalf of one of my end users' accounts?”
“Can I create an account-scoped delegation that expires at a set time?”
Tell an agent
Create an account-scoped delegation for end user {userId} at {address} expiring at {expiresAt}.
Create a delegation for {address} of user {userId} until {expiresAt} with wallet secret {walletSecretId}.
GET /v2/embedded-wallet-api/end-users/{userId}/address/{address}/delegation Get an account-scoped delegation · Get account-scoped delegation for end user #
Ask an LLM
“Is there an account-scoped delegation for a specific end user account?”
“Can I check the delegation status of one account for a user?”
Tell an agent
Get the account-scoped delegation for end user {userId} at {address}.
Show delegation status of {address} for user {userId}.
DELETE /v2/embedded-wallet-api/end-users/{userId}/address/{address}/delegation Revoke delegated access to an end user (legacy) · Revoke account-scoped delegation for end user (deprecated) #
Ask an LLM
“Is there an older DELETE endpoint for revoking an end user's delegation?”
“Can I still revoke a single delegated address on the deprecated path?”
Tell an agent destructive · confirm first
Revoke the delegation for address {address} on end user {userId} using the deprecated DELETE method.
Use the legacy delegated-path deletion to revoke end user {userId}'s address {address}.
POST /v2/embedded-wallet-api/end-users/{userId}/address/{address}/delegation/revoke Revoke an end user's delegated access · Revoke account-scoped delegation for end user #
Ask an LLM
“How do I revoke an end user's delegation so they can't spend from that address?”
“Does revoking a delegation affect other delegations on the same end user?”
Tell an agent destructive · confirm first
Revoke the delegation for address {address} on end user {userId}.
Disable the delegated spending for end user {userId}'s address {address}.
POST /v2/embedded-wallet-api/end-users/{userId}/evm/eip7702/delegation Upgrade an EVM account to a smart account · Create EIP-7702 delegation for end user EVM account #
Ask an LLM
“How do I upgrade an end user's EVM account to a smart account with EIP-7702?”
“Can I enable spend permissions when upgrading an account to a smart account?”
Tell an agent
Upgrade end user {userId}'s EVM account {address} to a smart account on {network}.
Upgrade {address} for user {userId} on {network} with spend permissions {enableSpendPermissions} and wallet secret {walletSecretId}.
GET /v2/embedded-wallet-api/end-users/{userId}/evm/smart-accounts/{address}/user-operations/{userOpHash} Get a user operation for a smart account · Get a user operation for end user EVM Smart Account #
Ask an LLM
“Has a user operation for my smart account been executed yet?”
“Can I fetch a user operation by its hash for a smart account?”
Tell an agent
Get user operation {userOpHash} for smart account {address} of end user {userId}.
Check the status of user operation {userOpHash} on smart account {address} for user {userId}.
POST /v2/embedded-wallet-api/end-users/{userId}/evm/smart-accounts/{address}/send Send a user operation for a smart account · Send user operation for end user Smart Account #
Ask an LLM
“How do I send a batch of calls from a smart account with gas sponsorship?”
“Can I send a user operation through a paymaster for a smart account?”
Tell an agent
Send user operations {calls} from smart account {address} of end user {userId} on {network} with paymaster {useCdpPaymaster}.
Send {calls} from smart account {address} for user {userId} on {network} using paymaster {paymasterUrl} and wallet secret {walletSecretId}.
GET /v2/embedded-wallet-api/end-users/{userId}/evm/smart-accounts/{address}/borrow-positions List a smart account's borrow positions · List borrow positions for an end user smart account #
Ask an LLM
“What borrow positions does my smart account hold?”
“Can I see the health factor and balances of each borrow position?”
Tell an agent
List borrow positions for smart account {address} of end user {userId}.
Show the health status of smart account {address} for user {userId}.
POST /v2/embedded-wallet-api/end-users/{userId}/evm/smart-accounts/{address}/borrow-positions Open a borrow position on a smart account · Create a borrow position for an end user smart account #
Ask an LLM
“How do I post collateral and borrow against it on an end user's smart account?”
“Can I open only one borrow position per smart account for a given product?”
Tell an agent
Open a borrow position on smart account {address} for end user {userId} against borrow product {borrowProductId}.
Post {collateralAmount} collateral and borrow {loanAmount} against product {borrowProductId} on {address} for {userId}.
POST /v2/embedded-wallet-api/end-users/{userId}/evm/smart-accounts/{address}/borrow-positions/adjust Adjust an existing borrow position · Adjust a borrow position for an end user smart account #
Ask an LLM
“Can I add collateral to a smart account's existing borrow position?”
“Is it possible to repay debt on a smart account position without closing it?”
Tell an agent
Add {addCollateralAmount} collateral to the borrow position on smart account {address} for end user {userId}.
Repay {repayLoanAmount} of the debt on smart account {address} for {userId} against product {borrowProductId}.
POST /v2/embedded-wallet-api/end-users/{userId}/evm/smart-accounts/{address}/borrow-positions/close Close a smart account's borrow position · Close a borrow position for an end user smart account #
Ask an LLM
“How do I repay the full debt and withdraw collateral from a smart account position?”
“Does closing a smart account borrow position repay everything and withdraw the rest?”
Tell an agent destructive · confirm first
Close the borrow position on smart account {address} for end user {userId}.
Fully repay and withdraw collateral from smart account {address} for {userId} against product {borrowProductId}.
POST /v2/embedded-wallet-api/end-users/{userId}/solana/sign/message Sign a message with a Solana account · Sign Base64-encoded message #
Ask an LLM
“Can I have an end user sign a message with their Solana account?”
“What should I warn a user about before signing a Solana message?”
Tell an agent
Sign message {message} with Solana account {address} for end user {userId}.
Have end user {userId} sign the message {message} on Solana account {address}.
POST /v2/embedded-wallet-api/end-users/{userId}/solana/sign/transaction Sign a Solana transaction · Sign transaction via end user Solana account #
Ask an LLM
“Can I get an end user to sign a Solana transaction before it's sent?”
“Does the transaction signing accept both legacy and versioned Solana transactions?”
Tell an agent
Sign transaction {transaction} with Solana account {address} for end user {userId}.
Have end user {userId} sign Solana transaction {transaction} on {address} for network {network}.
POST /v2/embedded-wallet-api/end-users/{userId}/solana/sign/x402-payment Sign an x402 payment on Solana · Sign x402 payment via end user Solana account #
Ask an LLM
“Can an end user sign an x402 payment for a resource server?”
“Which payment option does the x402 payment signing pick?”
Tell an agent
Sign x402 payment {paymentRequired} with Solana account {address} for end user {userId}.
Have end user {userId} sign accept {acceptsIndex} of {paymentRequired} on {address}.
POST /v2/embedded-wallet-api/end-users/{userId}/solana/send/transaction Send a signed Solana transaction · Send transaction via end user Solana account #
Ask an LLM
“Can I send a signed Solana transaction through an end user's account?”
“Does the transaction sending handle blockhashes and fee estimation automatically?”
Tell an agent
Send transaction {transaction} from Solana account {address} for end user {userId} on {network}.
Broadcast the signed Solana transaction {transaction} on {network} for {userId} from {address}.
POST /v2/embedded-wallet-api/end-users/{userId}/solana/{address}/send/{asset} Send USDC from an end user's Solana account · Send USDC on Solana #
Ask an LLM
“How do I transfer USDC from an end user's Solana account to another Solana wallet?”
“Can I have the sender cover creating the recipient's token account when it doesn't exist yet?”
Tell an agent
Send {amount} USDC from Solana address {address} of end user {userId} to {to} on {network}.
Transfer {amount} of {asset} on Solana from {address} for end user {userId} to {to} on {network}, creating the recipient token account: {createRecipientAta}.

Documentation

Specifications

Schemas & Data

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/coinbase:coinbase-end-user-accounts-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

coinbase-end-user-accounts-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Coinbase Developer Platform End User Accounts API
  description: The Coinbase Developer Platform APIs - leading the world's transition onchain.
  license:
    name: MIT
    url: https://opensource.org/licenses/MIT
  version: 2.0.0
  contact:
    name: Coinbase Developer Platform
    email: cdp@coinbase.com
    url: https://cdp.coinbase.com
servers:
- url: https://api.cdp.coinbase.com/platform
  description: The production server of the CDP APIs.
security:
- apiKeyAuth: []
tags:


# --- truncated at 32 KB (288 KB total) ---
# Full source: https://artifacts.apis.io/coinbase/openapi/coinbase-end-user-accounts-api-openapi.yml