> ## Documentation Index
> Fetch the complete documentation index at: https://v3.docs.derive.xyz/llms.txt
> Use this file to discover all available pages before exploring further.

# List wallets for a session key

> Public lookup that returns the wallet addresses a given session key is registered to, sorted by expiry, with expired keys omitted. An optional scope filter narrows results to keys holding that off-chain scope; returns an error if no matching, unexpired keys exist.



## OpenAPI

````yaml /openapi.json post /public/get_wallets_from_session_key
openapi: 3.1.0
info:
  title: Derive v3 API
  version: 0.2.0
  description: JSON-RPC 2.0 methods, served over WebSocket and HTTP POST.
servers:
  - url: https://api.derive.xyz/v3
    description: Production (HTTP POST base)
  - url: https://testnet.api.derive.xyz/v3
    description: Testnet (HTTP POST base)
security: []
tags:
  - name: Subaccounts
    description: >-
      List, inspect, and label subaccounts, portfolios, positions, and
      collateral.
  - name: Session Keys
    description: Register, edit, and list delegated signing keys.
  - name: Account
    description: Wallet-level account information and settings.
  - name: Orderbook
    description: Place, replace, cancel, and query orders, trigger orders, and algos.
  - name: RFQ
    description: 'Request-for-quote: send RFQs, quote, and execute block trades.'
  - name: Vault Shareholders
    description: >-
      Deposit into and withdraw from vaults, and track shares, requests, and
      performance.
  - name: Vault Curators
    description: >-
      Create and operate curated vaults: settle deposit and withdrawal requests,
      and manage vault metadata.
  - name: History
    description: >-
      Per-account historical records: orders, trades, transfers, and
      settlements.
  - name: Market Maker Protection
    description: Configure, read, and reset market-maker protection.
  - name: Transfers & Withdrawals
    description: Move collateral between subaccounts, to other wallets, and on-chain.
  - name: System
    description: Rate limits and transaction lookups.
  - name: Market Data
    description: Instruments, currencies, tickers, and market-wide feeds.
  - name: Referrals
    description: Referral codes and program performance.
  - name: Other
    description: Uncategorized.
paths:
  /public/get_wallets_from_session_key:
    post:
      tags:
        - Session Keys
      summary: List wallets for a session key
      description: >-
        Public lookup that returns the wallet addresses a given session key is
        registered to, sorted by expiry, with expired keys omitted. An optional
        scope filter narrows results to keys holding that off-chain scope;
        returns an error if no matching, unexpired keys exist.
      operationId: public_get_wallets_from_session_key
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/GetWalletsFromSessionKeyRequest'
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PublicGetWalletsFromSessionKeyResponse'
        default:
          description: JSON-RPC error (see Error Codes)
components:
  schemas:
    GetWalletsFromSessionKeyRequest:
      type: object
      required:
        - public_session_key
      properties:
        public_session_key:
          type: string
        scope:
          default: null
          anyOf:
            - $ref: '#/components/schemas/OffchainKeyScope'
            - type: 'null'
    PublicGetWalletsFromSessionKeyResponse:
      type: object
      required:
        - wallets
      properties:
        wallets:
          type: array
          items:
            type: string
    OffchainKeyScope:
      description: >-
        Additional permission scopes enforced off-chain (not part of the
        on-chain session-key scopes).
      oneOf:
        - type: string
          enum:
            - account_info
        - description: >-
            Permission to delete a session key. This is an off-chain-only
            permission, not part of the on-chain protocol scopes.
          type: string
          enum:
            - delete_session_key

````

## Related topics

- [List a wallet's session keys](/api-reference/session-keys/list-a-wallets-session-keys.md)
- [Session Keys](/authentication/session-keys.md)
- [Session Login](/authentication/session-login.md)
