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

# Discover traders

> Search and filter traders on the platform. Use this to find traders worth following based on performance metrics.



## OpenAPI

````yaml /api-reference/openapi.json get /api/v1/traders
openapi: 3.1.0
info:
  title: Carbon Copy API
  version: 2.0.0
  description: >-
    Programmatic access to Carbon Copy's Polymarket copy-trading platform.
    Follow traders, manage your portfolio, and automate your prediction market
    strategy.
  contact:
    name: Carbon Copy Support
    email: support@carboncopy.inc
    url: https://carboncopy.inc
servers:
  - url: https://carboncopy.inc
    description: Production
security: []
tags:
  - name: Health
    description: Service health and status.
  - name: Portfolio
    description: Portfolio summary, positions, trade history, and P&L.
  - name: Follow Management
    description: >-
      Follow, configure, and manage the traders you copy. All routes live under
      `/portfolio/traders`.
  - name: Trader Discovery
    description: Search and filter traders on the platform. Routes under `/traders`.
  - name: Orders
    description: Inspect orders placed by your copy-trading bot.
  - name: Markets
    description: Market data — prices and token info.
  - name: Account
    description: Your Carbon Copy account information.
paths:
  /api/v1/traders:
    get:
      tags:
        - Trader Discovery
      summary: Discover traders
      description: >-
        Search and filter traders on the platform. Use this to find traders
        worth following based on performance metrics.
      operationId: discoverTraders
      parameters:
        - name: q
          in: query
          description: Username/profile search query.
          schema:
            type: string
        - name: sortBy
          in: query
          description: Sort results by metric.
          schema:
            type: string
            enum:
              - profit
              - volume
              - followers
              - copyability
              - roi
            default: profit
        - name: minVolume
          in: query
          description: Minimum total trading volume (USDC).
          schema:
            type: number
        - name: minRoi
          in: query
          description: Minimum ROI (e.g. `0.1` = 10%).
          schema:
            type: number
        - name: minWinRate
          in: query
          description: Minimum win rate (0–1).
          schema:
            type: number
            minimum: 0
            maximum: 1
        - name: limit
          in: query
          schema:
            type: integer
            minimum: 1
            maximum: 200
            default: 50
      responses:
        '200':
          description: Matching traders.
          content:
            application/json:
              schema:
                type: object
                properties:
                  traders:
                    type: array
                    items:
                      $ref: '#/components/schemas/DiscoveredTrader'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '429':
          $ref: '#/components/responses/RateLimited'
      security:
        - ApiKeyAuth: []
components:
  schemas:
    DiscoveredTrader:
      type: object
      properties:
        walletAddress:
          type: string
          example: 0xAbCd1234...
        username:
          type:
            - string
            - 'null'
          example: sharptrader
        totalProfit:
          type: number
          description: Lifetime realized profit in USDC.
          example: 4200
        totalVolume:
          type: number
          description: Lifetime trading volume in USDC.
          example: 32000
        roi:
          type: number
          description: Return on investment (decimal, e.g. 0.131 = 13.1%).
          example: 0.131
        winRate:
          type: number
          description: Fraction of resolved positions that were profitable (0–1).
          example: 0.71
        followers:
          type: integer
          description: Number of Carbon Copy users currently copying this trader.
          example: 48
    Error:
      type: object
      required:
        - error
      properties:
        error:
          type: object
          required:
            - code
            - message
          properties:
            code:
              type: string
              enum:
                - bad_request
                - unauthorized
                - forbidden
                - not_found
                - method_not_allowed
                - conflict
                - quota_exceeded
                - rate_limited
                - internal_error
            message:
              type: string
              description: Human-readable description of the error.
  responses:
    Unauthorized:
      description: Missing or invalid authentication credentials.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            error:
              code: unauthorized
              message: Invalid or missing API key.
    Forbidden:
      description: Authenticated but insufficient permissions (wrong scope).
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            error:
              code: forbidden
              message: This key does not have the required scope.
    RateLimited:
      description: Too many requests. Back off and retry.
      headers:
        Retry-After:
          description: Seconds to wait before retrying.
          schema:
            type: integer
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            error:
              code: rate_limited
              message: Rate limit exceeded. Retry after 30 seconds.
  securitySchemes:
    ApiKeyAuth:
      type: http
      scheme: bearer
      description: >-
        API key in the format `cc_<64 hex characters>`. Obtain from the
        Dashboard under Settings → API Keys.

````