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

# /solscan/accounts/search

> List top Solana accounts ranked by SOL, token, stake or total value

**Price:** 1 credit

**💡 AI Hint:** Discover the top Solana accounts ranked by SOL balance value, token holdings value, staked value or total value. Returns each account's address, the SOL/token/stake/total USD values, and known tags (e.g. whale, exchange). Choose the ranking metric and order.



## OpenAPI

````yaml /openapi-filtered.json post /api/solscan/accounts/search
openapi: 3.1.0
info:
  title: Any Site API
  description: >+
    Any Site API provides programmatic access to data from LinkedIn, Instagram,
    Twitter, and other platforms.


    ## Authentication


    All API endpoints require an `access-token` header with a valid API token.
    Tokens can be created in the [dashboard](https://app.anysite.io/).


    ## Pricing


    Each endpoint has a credit cost listed in its description. Credits are
    deducted from your token balance per request.

  version: 0.0.1
servers: []
security:
  - AccessToken: []
paths:
  /api/solscan/accounts/search:
    post:
      tags:
        - /solscan
      summary: /solscan/accounts/search
      description: >-
        List top Solana accounts ranked by SOL, token, stake or total value


        **Price:** 1 credit


        **💡 AI Hint:** Discover the top Solana accounts ranked by SOL balance
        value, token holdings value, staked value or total value. Returns each
        account's address, the SOL/token/stake/total USD values, and known tags
        (e.g. whale, exchange). Choose the ranking metric and order.
      operationId: __api_solscan_accounts_search_post
      parameters:
        - name: access-token
          in: header
          required: true
          schema:
            anyOf:
              - type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SolscanAccountsSearchPayload'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/SolscanLeaderboardAccount'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    SolscanAccountsSearchPayload:
      properties:
        timeout:
          type: integer
          maximum: 1500
          minimum: 20
          description: Max scrapping execution timeout (in seconds)
          default: 300
        count:
          type: integer
          minimum: 1
          description: Max number of accounts to return
        rank_by:
          $ref: '#/components/schemas/SolscanAccountRankBy'
          description: Metric to rank accounts by
          default: total_values
        sort_order:
          $ref: '#/components/schemas/SolscanSortOrder'
          description: Ranking order
          default: desc
      type: object
      required:
        - count
    SolscanLeaderboardAccount:
      properties:
        '@type':
          type: string
          default: SolscanLeaderboardAccount
        address:
          type: string
        sol_value:
          anyOf:
            - type: number
            - type: 'null'
        token_value:
          anyOf:
            - type: number
            - type: 'null'
        stake_value:
          anyOf:
            - type: number
            - type: 'null'
        total_value:
          anyOf:
            - type: number
            - type: 'null'
        tags:
          items:
            type: string
          type: array
          default: []
      type: object
      required:
        - address
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
      type: object
    SolscanAccountRankBy:
      type: string
      enum:
        - total_values
        - sol_values
        - token_values
        - stake_values
    SolscanSortOrder:
      type: string
      enum:
        - desc
        - asc
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
        msg:
          type: string
        type:
          type: string
        input: {}
        ctx:
          type: object
      type: object
      required:
        - loc
        - msg
        - type
  securitySchemes:
    AccessToken:
      type: apiKey
      in: header
      name: access-token
      description: API token from the dashboard

````