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

# Get all spending limits for an account

> Retrieve all spending limits for a smart account with optional filtering



## OpenAPI

````yaml https://grid.squads.xyz/api-docs/openapi.json get /api/grid/v1/accounts/{address}/spending-limits
openapi: 3.1.0
info:
  title: Grid v1 API
  description: Grid v1 REST API for Solana-based smart account system
  contact:
    name: Grid API Support
    url: https://squads.so
    email: support@squads.so
  license:
    name: MIT
  version: 1.0.0
servers:
  - url: https://grid.squads.xyz
    description: Production server
security:
  - bearer_auth: []
tags:
  - name: accounts
    description: Smart account management operations
  - name: spending-limits
    description: Spending limit management
  - name: standing-orders
    description: Standing order operations
  - name: transactions
    description: Transaction management
  - name: trade
    description: Trade operations and management
  - name: payments
    description: Payment intent operations
  - name: passkeys
    description: Passkey management
  - name: kyc
    description: Know Your Customer operations
  - name: external-accounts
    description: External bank account management
  - name: virtual-accounts
    description: Virtual account management
  - name: auth
    description: Authentication operations
  - name: proposals
    description: Proposal management for multi-sig operations
  - name: compliance
    description: Compliance entity management and KYB/KYC operations
paths:
  /api/grid/v1/accounts/{address}/spending-limits:
    get:
      tags:
        - spending-limits
      summary: Get all spending limits for an account
      description: Retrieve all spending limits for a smart account with optional filtering
      operationId: handler
      parameters:
        - name: address
          in: path
          description: Smart account address
          required: true
          schema:
            type: string
        - name: currency
          in: query
          description: Filter by currency
          required: false
          schema:
            type: string
        - name: creation_date
          in: query
          description: Filter by creation date (ISO format)
          required: false
          schema:
            type: string
        - name: limit
          in: query
          description: Limit the number of results
          required: false
          schema:
            type: integer
            format: int32
            minimum: 0
        - name: cursor
          in: query
          description: Pagination cursor
          required: false
          schema:
            type: string
      responses:
        '200':
          description: Spending limits retrieved successfully
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/SpendingLimit'
        '404':
          description: Smart account not found
        '500':
          description: Internal server error
      security:
        - bearer_auth: []
components:
  schemas:
    SpendingLimit:
      type: object
      required:
        - address
        - settings_address
        - main_account_address
        - environment
        - mint
        - amount
        - period
        - remaining_amount
        - status
        - last_reset
        - signers
        - destinations
        - expiration
        - slot
        - block_time
        - last_modified_signature
      properties:
        address:
          type: string
        amount:
          type: integer
          format: int64
        block_time:
          type: string
          format: date-time
        destinations:
          type: array
          items:
            type: string
        environment:
          type: string
        expiration:
          type: integer
          format: int64
        last_modified_signature:
          type: string
        last_reset:
          type: integer
          format: int64
        main_account_address:
          type: string
        mint:
          type: string
        period:
          type: integer
          format: int32
        remaining_amount:
          type: integer
          format: int64
        settings_address:
          type: string
        signers:
          type: array
          items:
            type: string
        slot:
          type: integer
          format: int32
        status:
          type: string
  securitySchemes:
    bearer_auth:
      type: http
      scheme: bearer
      description: Your Grid API key from the Grid Dashboard

````