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

# Get Wallet Funding

> Discover which addresses funded a Solana wallet with its initial SOL deposit.

Each request costs **100 credits**.

Requires a paid plan. Free-plan requests return `403 Forbidden`.

## Request Parameters

<ParamField body="wallet" type="string" required>
  Solana wallet address (base58 encoded)
</ParamField>


## OpenAPI

````yaml openapi/wallet-api/openapi.yaml GET /v1/wallet/{wallet}/funded-by
openapi: 3.0.3
info:
  title: Wallet API
  description: >
    A high-performance REST API for querying Solana wallet data including
    balances, transaction history, transfers, and identity information.


    ## Authentication


    All requests require an API key passed either as:

    - Query parameter: `?api-key=YOUR_API_KEY`

    - Header: `X-Api-Key: YOUR_API_KEY`
  version: 1.0.0
  contact:
    name: API Support
    url: https://helius.dev
servers:
  - url: https://api.helius.xyz
    description: Production server
security:
  - ApiKeyQuery: []
  - ApiKeyHeader: []
tags:
  - name: Identity
    description: Lookup wallet identities and known addresses
  - name: Balances
    description: Query token and NFT balances
  - name: History
    description: Transaction history and balance changes
  - name: Transfers
    description: Token transfer activity
  - name: Funding
    description: Wallet funding information
paths:
  /v1/wallet/{wallet}/funded-by:
    get:
      tags:
        - Funding
      summary: Get wallet funding source
      description: >
        Discover the original funding source of a wallet by analyzing its first
        incoming SOL transfer.

        Useful for identifying if a wallet was funded by an exchange, another
        wallet, etc.
      operationId: getWalletFundingSource
      parameters:
        - $ref: '#/components/parameters/WalletAddress'
      responses:
        '200':
          description: Funding source identified
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/FundingSource'
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          description: No funding transaction found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          $ref: '#/components/responses/RateLimited'
        '500':
          $ref: '#/components/responses/InternalError'
components:
  parameters:
    WalletAddress:
      name: wallet
      in: path
      required: true
      description: Solana wallet address (base58 encoded)
      schema:
        type: string
        pattern: ^[1-9A-HJ-NP-Za-km-z]{32,44}$
      example: GQUtvPx89ZNCwmvQqFmH59bJcU8fW8siETpaxod7Aydz
  schemas:
    FundingSource:
      type: object
      properties:
        funder:
          type: string
          description: Address that originally funded this wallet
          example: 2ojv9BAiHUrvsm9gxDe7fJSzbNZSJcxZvf8dqmWGHG8S
        funderName:
          type: string
          nullable: true
          description: Name of the funder if it's a known entity
          example: Coinbase 2
        funderType:
          type: string
          nullable: true
          description: Type of the funder entity
          example: exchange
        mint:
          type: string
          description: >-
            Token mint address (So11111111111111111111111111111111111111112 for
            SOL)
          example: So11111111111111111111111111111111111111112
        symbol:
          type: string
          description: Token symbol
          example: SOL
        amount:
          type: number
          description: Initial funding amount (human-readable, in SOL)
          example: 0.05
        amountRaw:
          type: string
          description: Raw funding amount in smallest unit (lamports for SOL)
          example: '50000000'
        decimals:
          type: integer
          description: Token decimals
          example: 9
        signature:
          type: string
          description: Transaction signature of the funding transfer
          example: 5wHu1qwD7Jsj3xqWjdSEJmYr3Q5f5RjXqjqQJ7jqEj7jqEj7jqEj7jqEj7jqEj7jqE
        timestamp:
          type: integer
          description: Unix timestamp in seconds
          example: 1704067200
        date:
          type: string
          format: date-time
          description: Human-readable UTC date in ISO 8601 format
          example: '2024-01-01T00:00:00.000Z'
        slot:
          type: integer
          description: Slot number
          example: 250000000
        explorerUrl:
          type: string
          description: Solana Explorer URL for the transaction
          example: >-
            https://orbmarkets.io/tx/5wHu1qwD7Jsj3xqWjdSEJmYr3Q5f5RjXqjqQJ7jqEj7jqEj7jqEj7jqEj7jqEj7jqE
      required:
        - funder
        - mint
        - symbol
        - amount
        - amountRaw
        - decimals
        - signature
        - timestamp
        - date
        - slot
        - explorerUrl
    Error:
      type: object
      properties:
        error:
          type: string
          description: Error message
          example: Invalid wallet address
        code:
          type: integer
          description: HTTP status code
          example: 400
        details:
          type: string
          description: Additional error details
          example: '''invalid-address'' is not a valid Solana address'
      required:
        - error
        - code
  responses:
    BadRequest:
      description: Invalid request parameters
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            error: Invalid wallet address
            code: 400
            details: '''invalid-address'' is not a valid Solana address'
    Unauthorized:
      description: Missing or invalid API key
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            error: API key required. Pass via ?api-key=xxx or X-Api-Key header
            code: 401
    RateLimited:
      description: Rate limit exceeded.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            error: RATE_LIMIT_EXCEEDED
            code: 429
            details: Too many requests. Retry after 2 seconds.
    InternalError:
      description: Transient server error. Retryable with exponential backoff.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            error: INTERNAL_ERROR
            code: 500
            details: An unexpected error occurred. Please retry.
  securitySchemes:
    ApiKeyQuery:
      type: apiKey
      in: query
      name: api-key
      description: API key passed as query parameter
    ApiKeyHeader:
      type: apiKey
      in: header
      name: X-Api-Key
      description: API key passed in request header

````