---
title: "Look up end users by identity"
method: GET
path: "/v2/end-users/lookup"
tags: ["End User Account Management"]
---

# Look up end users by identity

`GET /v2/end-users/lookup`

## Request

- Base URL: `https://api.cdp.coinbase.com/platform`
- URL: `https://api.cdp.coinbase.com/platform/v2/end-users/lookup`
- Auth: HTTP bearer

Looks up end users. Exactly one lookup type must be provided per request:

- **email**: searches across all email-based authentication methods
  (email, Google, Apple, GitHub). May return multiple end users if the
  same email address appears across different auth methods.

- **oauthProvider + oauthSubject**: looks up a user by their OAuth
  provider and subject (the `sub` claim from the provider's ID token).
  Both params must be provided together.

- **phoneNumber**: looks up a user by their SMS-verified phone number.
- **siweAddress**: looks up a user by the Ethereum address they authenticated
  with via Sign In With Ethereum (EIP-4361).


Returns all matching end users. If no end users match, an empty array is returned.

This API is intended to be used by the developer's own backend, and is authenticated using the developer's CDP API key.

## Query parameters

- `email` string, email: An email address. Maximum length 254 characters per [RFC 5321](https://www.rfc-editor.org/rfc/rfc5321).
- `oauthProvider` 'google' | 'apple' | 'x' | 'telegram' | 'github': The type of OAuth2 provider.
- `oauthSubject` string
- `phoneNumber` string: A phone number in [E.164](https://en.wikipedia.org/wiki/E.164) format.
- `siweAddress` string: A blockchain address. Format varies by network (e.g., 0x-prefixed for EVM, base58 for Solana).

## Response `200`

Successfully looked up end users.

- object
  - `endUsers` EndUser[], required: The list of end users matching the lookup.
    - `userId` string, required: A stable, unique identifier for the end user. The `userId` must be unique across all end users in the developer's CDP Project. It must be between 1 and 100 characters long and can only contain alphanumeric characters and hyphens.
    - `authenticationMethods` AuthenticationMethod[], required: The list of valid authentication methods linked to the end user.
      - union: Information about how the end user is authenticated.
        - EmailAuthentication: Information about an end user who authenticates using a one-time password sent to their email address.
          - `type` 'email', required: The type of authentication information.
          - `email` string, email, required: The email address of the end user.
        - SmsAuthentication: Information about an end user who authenticates using a one-time password sent to their phone number via SMS.
          - `type` 'sms', required: The type of authentication information.
          - `phoneNumber` string, required: Phone number in [E.164](https://en.wikipedia.org/wiki/E.164) format.
        - DeveloperJWTAuthentication: Information about an end user who authenticates using a JWT issued by the developer.
          - `type` 'jwt', required: The type of authentication information.
          - `kid` string, required: The key ID of the JWK used to sign the JWT.
          - `sub` string, required: The unique identifier for the end user that is captured in the `sub` claim of the JWT.
        - OAuth2Authentication: Information about an end user who authenticates using a third-party provider.
          - `type` 'google' | 'apple' | 'x' | 'telegram' | 'github', required: The type of OAuth2 provider.
          - `sub` string, required: The unique identifier for the end user that is captured in the `sub` claim of the JWT.
          - `email` string: The email address of the end user contained within the user's ID token, if available from third-party OAuth2 provider's token exchange.
          - `name` string: The full name of the end user if available from third-party OAuth2 provider's token exchange.
          - `username` string: The username of the end user if available from third-party OAuth2 provider's token exchange.
        - TelegramAuthentication: Information about an end user who authenticates using Telegram.
          - `type` 'google' | 'apple' | 'x' | 'telegram' | 'github', required: The type of OAuth2 provider.
          - `id` integer, required: The Telegram ID for the end user.
          - `firstName` string: The Telegram user's first name.
          - `lastName` string: The Telegram user's last name.
          - `photoUrl` string: The Telegram user's profile picture.
          - `authDate` integer, required: The Telegram user's last login as a Unix timestamp.
          - `username` string: The Telegram user's username.
        - SiweAuthentication: Information about an end user who authenticates using Sign In With Ethereum (EIP-4361).
          - `type` 'siwe', required: The type of authentication information.
          - `address` string, required: The ERC-55 checksummed Ethereum address of the end user.
    - `mfaMethods` MFAMethods: Information about the end user's MFA enrollments.
      - `enrollmentPromptedAt` string, date-time: The date and time when the end user was prompted for MFA enrollment, in ISO 8601 format. If the this field exists, and the user has no other enrolled MFA methods, then the user skipped MFA enrollment.
      - `totp` object: An object containing information about the end user's TOTP enrollment.
        - `enrolledAt` string, date-time, required: The date and time when the method was enrolled, in ISO 8601 format.
      - `sms` object: An object containing information about the end user's SMS MFA enrollment.
        - `enrolledAt` string, date-time, required: The date and time when the method was enrolled, in ISO 8601 format.
    - `evmAccounts` string[], required: **DEPRECATED**: Use `evmAccountObjects` instead for richer account information. The list of EVM account addresses associated with the end user. End users can have up to 10 EVM accounts.
    - `evmAccountObjects` EndUserEvmAccount[], required: The list of EVM accounts associated with the end user. End users can have up to 10 EVM accounts.
      - `address` string, required: The address of the EVM account.
      - `createdAt` string, date-time, required: The date and time when the account was created, in ISO 8601 format.
      - `exportedAt` string, date-time, nullable: The date and time when the account's private key was first exported, in ISO 8601 format. This is set on the first export and preserved on subsequent exports; it is not updated on re-export.
      - `ejectedAt` string, date-time, nullable: The date and time when the account's key was ejected (marked for deletion), in ISO 8601 format. Populated when the account has been ejected. The account record remains queryable after this timestamp is set; it reflects when ejection was requested, not when the key material is purged.
    - `evmSmartAccounts` string[], required: **DEPRECATED**: Use `evmSmartAccountObjects` instead for richer account information including owner relationships. The list of EVM smart account addresses associated with the end user. Each EVM EOA can own one smart account.
    - `evmSmartAccountObjects` EndUserEvmSmartAccount[], required: The list of EVM smart accounts associated with the end user. Each EVM EOA can own one smart account.
      - `address` string, required: The address of the EVM smart account.
      - `ownerAddresses` string[], required: The addresses of the EVM EOA accounts that own this smart account. Smart accounts can have multiple owners, such as when spend permissions are enabled.
      - `createdAt` string, date-time, required: The date and time when the account was created, in ISO 8601 format.
    - `solanaAccounts` string[], required: **DEPRECATED**: Use `solanaAccountObjects` instead for richer account information. The list of Solana account addresses associated with the end user. End users can have up to 10 Solana accounts.
    - `solanaAccountObjects` EndUserSolanaAccount[], required: The list of Solana accounts associated with the end user. End users can have up to 10 Solana accounts.
      - `address` string, required: The base58 encoded address of the Solana account.
      - `createdAt` string, date-time, required: The date and time when the account was created, in ISO 8601 format.
      - `exportedAt` string, date-time, nullable: The date and time when the account's private key was first exported, in ISO 8601 format. This is set on the first export and preserved on subsequent exports; it is not updated on re-export.
      - `ejectedAt` string, date-time, nullable: The date and time when the account's key was ejected (marked for deletion), in ISO 8601 format. Populated when the account has been ejected. The account record remains queryable after this timestamp is set; it reflects when ejection was requested, not when the key material is purged.
    - `createdAt` string, date-time, required: The date and time when the end user was created, in ISO 8601 format.

## Other responses

- `400`: Invalid request.
- `401`: Unauthorized.
- `500`: Internal server error.

## Changes

- **2026-12-01** `06cb41a4fb57`: 3 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 `500`
- **2026-10-16** `ff3c1fdef902`: 3 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 `500`
- **2026-10-06** `156440e9f8df`: 30 warning
  - added the new `incompatible_event_types` enum value to the `errorType` response property for the response status `400`
  - added the new `incompatible_event_types` enum value to the `errorType` response property for the response status `401`
  - added the new `incompatible_event_types` enum value to the `errorType` response property for the response status `500`
  - added the new `invalid_webhook_headers` enum value to the `errorType` response property for the response status `400`
  - …26 more
- …earlier changes not shown

[Operation history](https://skmtc.dev/coinbase/apis/coinbase-developer-platform-apis/changes/v2/end-users/lookup/get.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)
