---
updatedAt: 2026-02-12T12:01:23.000Z
---

# Get Inventory

# OpenAPI definition

```json
{
  "openapi": "3.0.3",
  "info": {
    "title": "FPL API",
    "description": "Fully Paid Lending APIs",
    "version": "1.0.0"
  },
  "security": [
    {
      "bearerAuth": []
    }
  ],
  "servers": [
    {
      "url": "apigateway.fpl-api.ivy.clst.co",
      "description": "FPL UAT Environment"
    },
    {
      "url": "api.clearstreet.io",
      "description": "FPL PROD Environment"
    }
  ],
  "paths": {
    "/fpl/v1/inventory": {
      "get": {
        "summary": "Get Inventory",
        "tags": [
          "Fully Paid Lending"
        ],
        "operationId": "getFplInventory",
        "parameters": [
          {
            "name": "accountId",
            "in": "query",
            "required": false,
            "description": "The account ID to filter by.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "isin",
            "in": "query",
            "required": false,
            "description": "The ISIN to filter by.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "cusip",
            "in": "query",
            "required": false,
            "description": "The security CUSIP to filter by.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "countryCode",
            "in": "query",
            "required": false,
            "description": "The country code to filter by.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "currencyCode",
            "in": "query",
            "required": false,
            "description": "The currency code to filter by.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/ListResponseEnvelope"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "data": {
                          "type": "array",
                          "items": {
                            "$ref": "#/components/schemas/FplInventoryDTO"
                          }
                        }
                      }
                    }
                  ]
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400Response"
          },
          "401": {
            "$ref": "#/components/responses/401Response"
          },
          "403": {
            "$ref": "#/components/responses/403Response"
          }
        }
      }
    }
  },
  "components": {
    "responses": {
      "400Response": {
        "description": "The request is invalid or malformed.",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/Error"
            }
          }
        }
      },
      "401Response": {
        "description": "The user is not authenticated.",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/Error"
            }
          }
        }
      },
      "403Response": {
        "description": "The user is authenticated but does not have the permissions required for this operation.",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/Error"
            }
          }
        }
      }
    },
    "schemas": {
      "Error": {
        "type": "object",
        "properties": {
          "message": {
            "type": "string",
            "description": "A message describing the error"
          },
          "details": {
            "type": "object",
            "description": "An object containing additional details about the error"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time",
            "description": "RFC3339 formatted timestamp for the error"
          }
        }
      },
      "ListResponseEnvelope": {
        "type": "object",
        "properties": {
          "count": {
            "type": "number",
            "format": "integer"
          }
        }
      },
      "FplInventoryDTO": {
        "type": "object",
        "properties": {
          "accountId": {
            "type": "string"
          },
          "cusip": {
            "type": "string"
          },
          "isin": {
            "type": "string"
          },
          "ticker": {
            "type": "string"
          },
          "countryCode": {
            "type": "string",
            "minLength": 3,
            "maxLength": 3
          },
          "currencyCode": {
            "type": "string",
            "minLength": 3,
            "maxLength": 3
          },
          "availableQuantity": {
            "type": "number"
          },
          "onLoanQuantity": {
            "type": "number"
          },
          "availableAt": {
            "type": "string",
            "format": "date-time",
            "description": "The timestamp of when this inventory balance was calculated.",
            "example": "2025-02-12 00:00:00.000000"
          }
        }
      }
    }
  },
  "x-readme": {
    "explorer-enabled": true,
    "proxy-enabled": true
  }
}
```