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

# Get user profile

> Fetch user profile information and optionally trading metrics from Kalshi or Polymarket



## OpenAPI

````yaml openapi.json get /profile/info
openapi: 3.1.0
info:
  title: Polyrouter API
  version: 2.0.0
  description: >-
    Unified API for prediction market platforms (Polymarket, Kalshi, Limitless,
    Manifold)
  contact:
    name: Polyrouter
    url: https://polyrouter.io
servers:
  - url: https://api-v2.polyrouter.io
    description: Production
security:
  - apiKey: []
tags:
  - name: Health
    description: Health check and API info
  - name: Markets
    description: Prediction market operations
  - name: Events
    description: Event operations
  - name: Series
    description: Series operations
  - name: Platforms
    description: Platform information
  - name: Search
    description: Search across platforms
  - name: Trades
    description: Historical trades data
  - name: Orderbook
    description: Orderbook data (real-time and historical)
  - name: Sports
    description: Sports betting markets - games, awards, futures, and league info
  - name: Profile
    description: User profiles, trading metrics, and trade history
paths:
  /profile/info:
    get:
      tags:
        - Profile
      summary: Get user profile
      description: >-
        Fetch user profile information and optionally trading metrics from
        Kalshi or Polymarket
      operationId: getProfileInfo
      parameters:
        - schema:
            allOf:
              - $ref: '#/components/schemas/ProfilePlatform'
              - description: Platform to query (kalshi or polymarket)
          required: true
          name: platform
          in: query
        - schema:
            type: string
            minLength: 1
            maxLength: 100
            description: >-
              User identifier (nickname for Kalshi, wallet address for
              Polymarket)
            example: trader123
          required: true
          name: user
          in: query
        - schema:
            type: string
            enum:
              - 'true'
              - 'false'
            description: Include trading metrics in response (true/false)
            example: 'true'
          required: false
          name: include_metrics
          in: query
      responses:
        '200':
          description: User profile information
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProfileInfoResponse'
        '400':
          description: Bad request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: User not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      security:
        - apiKey: []
components:
  schemas:
    ProfilePlatform:
      type: string
      enum:
        - kalshi
        - polymarket
    ProfileInfoResponse:
      type: object
      properties:
        data:
          type: object
          properties:
            profile:
              $ref: '#/components/schemas/UserProfile'
            metrics:
              $ref: '#/components/schemas/TradingMetrics'
          required:
            - profile
        meta:
          $ref: '#/components/schemas/ProfileMeta'
      required:
        - data
        - meta
    Error:
      type: object
      properties:
        error:
          type: object
          properties:
            code:
              type: string
              example: NOT_FOUND
            message:
              type: string
              example: Resource not found
            timestamp:
              type: string
              format: date-time
              example: '2025-01-01T00:00:00.000Z'
          required:
            - code
            - message
            - timestamp
      required:
        - error
    UserProfile:
      type: object
      properties:
        platform:
          $ref: '#/components/schemas/ProfilePlatform'
        user_id:
          type: string
          example: trader123
        display_name:
          type: string
          example: Top Trader
        profile_image:
          type: string
          example: https://example.com/avatar.png
        description:
          type: string
          example: Prediction market enthusiast
        joined_at:
          type: string
          example: '2023-01-15T00:00:00Z'
        follower_count:
          type: number
          example: 150
        following_count:
          type: number
          example: 75
        profile_view_count:
          type: number
          example: 5000
        metadata:
          type: object
          additionalProperties:
            nullable: true
      required:
        - platform
        - user_id
        - metadata
    TradingMetrics:
      type: object
      properties:
        volume:
          type: number
          example: 50000
        pnl:
          type: number
          example: 2500
        roi:
          type: number
          example: 0.15
        num_markets_traded:
          type: number
          example: 42
        portfolio_value:
          type: number
          example: 10000
        open_interest:
          type: number
          example: 3500
        metadata:
          type: object
          additionalProperties:
            nullable: true
      required:
        - volume
        - pnl
        - num_markets_traded
        - metadata
    ProfileMeta:
      type: object
      properties:
        request_time:
          type: number
          example: 150
        platform:
          $ref: '#/components/schemas/ProfilePlatform'
        data_freshness:
          type: string
          example: '2024-11-01T12:30:00Z'
      required:
        - request_time
        - platform
        - data_freshness
  securitySchemes:
    apiKey:
      type: apiKey
      in: header
      name: X-API-Key
      description: API key for authentication

````