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

# Count redemptions by state

> Same filters as the list. A dismissed redemption counts as failed.



## OpenAPI

````yaml /api-reference/platform-api.json get /v2/redemptions/counts
openapi: 3.0.0
info:
  title: Range Platform API
  description: >-
    The Range Platform API for workspace management, counterparties, and
    operational tooling.
  version: 1.7.31
  contact: {}
servers:
  - url: https://api.range.org
    description: Range API Server
security:
  - Authorization: []
  - Authorization: []
tags:
  - name: Address Information
    description: Get information about a crypto address.
  - name: Transfer Enrichments
    description: Attach workspace-scoped notes and categories to transfers.
  - name: Counterparties
    description: Manage external entities, their addresses, bank accounts, and documents.
  - name: Parties
    description: >-
      The workspace entity register: the firm itself, its clients, and its
      counterparties.
paths:
  /v2/redemptions/counts:
    get:
      tags:
        - Redemptions
      summary: Count redemptions by state
      description: Same filters as the list. A dismissed redemption counts as failed.
      operationId: counts
      parameters:
        - name: redemption_token
          required: false
          in: query
          schema:
            type: string
        - name: state
          required: false
          in: query
          schema:
            type: string
            enum:
              - pending
              - done
              - done_late
              - failed
        - name: redeeming_address
          required: false
          in: query
          schema:
            type: string
        - name: start_time
          required: false
          in: query
          schema:
            type: string
        - name: end_time
          required: false
          in: query
          schema:
            type: string
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RedemptionCountsDto'
components:
  schemas:
    RedemptionCountsDto:
      type: object
      properties:
        pending:
          type: number
        done:
          type: number
        done_late:
          type: number
        failed:
          type: number
      required:
        - pending
        - done
        - done_late
        - failed
  securitySchemes:
    Authorization:
      type: apiKey
      in: header
      name: X-API-KEY
      description: Authorization method required to allow user to access the api endpoints.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.