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

# Get Trading Allowance

> Check USDC allowance for CLOB or NegRisk trading contracts



## OpenAPI

````yaml GET /portfolio/trading/allowance
openapi: 3.0.0
info:
  title: Limitless Exchange API
  description: >-
    Production-ready REST API for prediction market trading, portfolio
    management, and market data on Limitless Exchange (Base L2).
  version: '1.0'
  contact:
    name: API Support
    url: https://limitless.exchange
    email: help@limitless.network
servers:
  - url: https://api.limitless.exchange
    description: Production API
security: []
tags:
  - name: Authentication
    description: User authentication and session management
  - name: Markets
    description: Browse, search, and analyze prediction markets
  - name: Market Navigation
    description: Navigation tree, market pages, and property filters
  - name: Trading
    description: Create, manage, and cancel orders
  - name: Portfolio
    description: Position tracking, trade history, and performance
  - name: API Tokens
    description: Scoped API token management for partner integrations
  - name: Partner Accounts
    description: Sub-account creation and allowance recovery for partner integrations
  - name: System
    description: Public API state and availability information
paths:
  /portfolio/trading/allowance:
    get:
      tags:
        - Portfolio
      summary: Get User Trading Allowance
      description: Check USDC allowance for CLOB or NegRisk trading contracts
      operationId: TradingPortfolioController_getAllowance
      parameters:
        - name: type
          required: true
          in: query
          description: 'Trading type: CLOB or NegRisk'
          schema:
            enum:
              - clob
              - negrisk
            type: string
        - name: spender
          required: false
          in: query
          description: Optional spender address override (e.g., venue exchange address)
          schema:
            type: string
      responses:
        '200':
          description: User allowance information
          content:
            application/json:
              schema:
                type: object
                properties:
                  allowance:
                    type: string
                    example: '1000000000000'
                  hasMinimumAllowance:
                    type: boolean
                    example: true
                  type:
                    type: string
                    enum:
                      - clob
                      - negrisk
                    example: clob
                  spender:
                    type: string
                    example: 0x...
                  checkedAddress:
                    type: string
                    example: 0x...
        '400':
          description: Invalid type parameter
        '401':
          description: Unauthorized
        '404':
          description: Profile not found
      security:
        - HmacAuth: []
components:
  securitySchemes:
    HmacAuth:
      type: apiKey
      in: header
      name: lmts-api-key
      description: >-
        Scoped API token with HMAC-SHA256 signing. Requires three headers:
        lmts-api-key (token ID), lmts-timestamp (ISO-8601), lmts-signature
        (Base64-encoded HMAC). See Authentication docs for details.

````