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

# Get Top Volume Options for Stocks

> Retrieves stock options sorted by trading volume in descending order.



## OpenAPI

````yaml https://spec.speakeasy.com/aries/aries/aries-trading-platform-api-with-code-samples get /v1/options/stocks/top-volume
openapi: 3.0.3
info:
  title: Aries Trading Platform API
  description: >-
    Complete API documentation for the Aries trading platform including user
    management, authentication, account management, order management, market
    data, and analytics
  contact:
    name: Aries Financial
    email: dev@aries.com
  version: 1.0.0
servers:
  - url: https://api.tradearies.dev
    description: Production server
security: []
tags:
  - name: Accounts
    description: Account management endpoints for positions, orders, and balances
  - name: Analytics
    description: >-
      Analytics endpoints for market data analysis including top gainers,
      losers, volume leaders, sector analysis, analyst ratings, market breadth,
      and net inflow
  - name: Authentication
    description: User authentication endpoints
  - name: Calendars
    description: Calendar endpoints for economic events and historical data
  - name: Market Data
    description: >-
      Market data endpoints for symbol search, real-time data access, and equity
      details
  - name: Orders
    description: >-
      Order management endpoints for placing, updating, canceling, and
      previewing orders
  - name: Users
    description: User management endpoints
  - name: Health
    description: Service health endpoints
paths:
  /v1/options/stocks/top-volume:
    get:
      tags:
        - Analytics
      summary: Get Top Volume Options for Stocks
      description: Retrieves stock options sorted by trading volume in descending order.
      operationId: getOptionsStocksTopVolume
      parameters:
        - name: size
          in: query
          description: Number of results to return
          required: false
          schema:
            type: integer
            maximum: 99
            minimum: 1
            default: 10
      responses:
        '200':
          description: Top volume options for stocks retrieved successfully
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/SymbolDetails'
        '400':
          description: Bad request - invalid parameters
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Unauthorized - invalid authentication
        '500':
          description: Internal server error
      security:
        - BearerAuth: []
      x-codeSamples:
        - lang: python
          label: Python (SDK)
          source: |-
            from finance_dev import FinanceDev, models
            import os


            with FinanceDev(
                security=models.Security(
                    client_id=os.getenv("FINANCEDEV_CLIENT_ID", ""),
                    client_secret=os.getenv("FINANCEDEV_CLIENT_SECRET", ""),
                ),
            ) as fd_client:

                res = fd_client.analytics.get_options_stocks_top_volume(size=10)

                # Handle response
                print(res)
        - lang: java
          label: Java (SDK)
          source: >-
            package hello.world;


            import java.lang.Exception;

            import org.openapis.openapi.AriesJava;

            import org.openapis.openapi.models.errors.ErrorResponse;

            import
            org.openapis.openapi.models.operations.GetOptionsStocksTopVolumeResponse;


            public class Application {

                public static void main(String[] args) throws ErrorResponse, Exception {

                    AriesJava sdk = AriesJava.builder()
                            .bearerAuth(System.getenv().getOrDefault("BEARER_AUTH", ""))
                        .build();

                    GetOptionsStocksTopVolumeResponse res = sdk.analytics().getStocksTopVolume()
                            .size(10L)
                            .call();

                    if (res.symbolDetails().isPresent()) {
                        // handle response
                    }
                }
            }
components:
  schemas:
    SymbolDetails:
      type: object
      properties:
        symbol:
          type: string
          description: The trading symbol
        type:
          type: string
          description: The symbol type
        sicCode:
          type: string
          description: Standard Industrial Classification code
        isETF:
          type: boolean
          description: Whether the symbol is an ETF
        sector:
          type: string
          description: The sector of the asset
        logoUrl:
          type: string
          description: URL to the company logo
        change:
          type: number
          description: Price change from previous close
        changePercent:
          type: number
          description: Percentage change from previous close
        lastPrice:
          type: number
          description: Most recent trading price
        previousClose:
          type: number
          description: Previous closing price
        timestamp:
          type: number
          description: Timestamp of the last update
        volume:
          type: number
          description: Trading volume
        description:
          type: string
          description: Company or security description
        tag:
          type: string
          description: Category tag for the symbol
      required:
        - symbol
        - type
        - change
        - changePercent
        - lastPrice
        - previousClose
        - timestamp
        - volume
    ErrorResponse:
      type: object
      properties:
        error:
          type: string
          description: Error message
        codes:
          type: array
          items:
            type: object
            properties:
              code:
                type: string
                description: Error code
              description:
                type: string
                description: Error description
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT

````