# Loopscale Docs > Learn about the core concepts of Loopscale, a modular, order book-based lending protocol on Solana. ## Docs - [Get Loop info](https://docs.loopscale.com/api-reference/data/loops/get-loop-info.md) - [Get best quote](https://docs.loopscale.com/api-reference/data/markets/get-best-quote.md): Returns the top quote for each specified collateral asset based on available liquidity. This endpoint is designed for minimizing rate slippage for a borrow with known inputs. - [Get quotes](https://docs.loopscale.com/api-reference/data/markets/get-quotes.md): Returns a list of current lend orders available for the specified principal token, collateral, and target duration. Results are sorted by APY and support pagination. - [Get loan info](https://docs.loopscale.com/api-reference/data/positions/get-loan-info.md): Returns a list of loans filtered by request. Results support pagination. - [Get strategies](https://docs.loopscale.com/api-reference/data/strategies/get-strategies.md): Returns a list of strategy data matching the filters. - [Get collateral holders](https://docs.loopscale.com/api-reference/data/user/get-collateral-holders.md): Fetches a list of users and total balances for one or more specified collateral mints. - [Get historical collateral holders](https://docs.loopscale.com/api-reference/data/user/get-historical-collateral-holders.md): Fetches a list of users and cumulative deposit seconds for a mint over a period of time. - [Get Vault depositors](https://docs.loopscale.com/api-reference/data/user/get-vault-depositors.md): Fetches a list of users and total balances grouped by Vault. - [Get Vaults](https://docs.loopscale.com/api-reference/data/vaults/get-vaults.md): Returns a list of raw Vault metadata and data that match filters. - [Calculate Vault & Loop Metrics](https://docs.loopscale.com/api-reference/guides/vault-and-loop-metrics.md) - [Loopscale API](https://docs.loopscale.com/api-reference/introduction/introduction.md) - [Borrow principal](https://docs.loopscale.com/api-reference/transactions/borrow/borrow-principal.md): Borrows additional principal against an existing loan and can optionally refinance the targeted ledger in the same transaction. - [Build loan](https://docs.loopscale.com/api-reference/transactions/borrow/build-loan.md): Builds or mutates a loan through a sequence of high-level actions. Supported step types currently include `repay`, `flashBorrow`, and `swapCollateral`. - [Close loan](https://docs.loopscale.com/api-reference/transactions/borrow/close-loan.md): In the event a loan is fully repaid and all collateral is withdrawn, but wasn't closed, this directly closes the loan account and refunds the user. - [Create loan](https://docs.loopscale.com/api-reference/transactions/borrow/create-loan.md): Creates a new loan with initial collateral and requested principal borrows, returning both the loan address and the serialized transaction needed to initialize it. - [Deposit collateral](https://docs.loopscale.com/api-reference/transactions/borrow/deposit-collateral.md): Adds more collateral to an existing loan position. - [Flash borrow](https://docs.loopscale.com/api-reference/transactions/borrow/flash-borrow.md): Atomically creates a new loan and executes optional CPIs before depositing collateral. Supports deferred collateralization. Returns a transaction message and resulting loan address. - [Refinance loan](https://docs.loopscale.com/api-reference/transactions/borrow/refinance-loan.md): Update the duration of the loan. - [Repay loan](https://docs.loopscale.com/api-reference/transactions/borrow/repay-loan.md): Partially or fully repay an active loan. Allows for the withdrawal of collateral for optional use in CPIs before repayment. - [Sell ledger](https://docs.loopscale.com/api-reference/transactions/borrow/sell-ledger.md): Sells a loan ledger from one strategy into another strategy, using the expected sale price guard provided in the request. - [Simple repay loan](https://docs.loopscale.com/api-reference/transactions/borrow/simple-repay-loan.md): A simplified repay endpoint that handles a single strategy at a time. Unlike the full repay endpoint, it does not support CPI instructions, collateral withdrawals, or setup instructions. If a ledger is fully repaid on a multi-ledger loan, weight matrix updates are automatically generated to redistri… - [Swap collateral](https://docs.loopscale.com/api-reference/transactions/borrow/swap-collateral.md): Enables safe rebalancing of collateral by withdrawing a selected asset, executing CPIs (e.g. swaps or liquidity provision), and depositing a new asset in its place. - [Withdraw collateral](https://docs.loopscale.com/api-reference/transactions/borrow/withdraw-collateral.md): Withdraws collateral from an existing loan. Full collateral removal may include internal weight-matrix and loan-lock handling before the transaction is returned. - [Claim Orca fees](https://docs.loopscale.com/api-reference/transactions/clmm/claim-orca-fees.md): Claim accrued fees for an Orca CLMM collateral position on a loan. - [Transfer Orca position](https://docs.loopscale.com/api-reference/transactions/clmm/transfer-orca-position.md): Reposition an Orca CLMM collateral position to a new tick range on an existing loan. - [Transfer Raydium position](https://docs.loopscale.com/api-reference/transactions/clmm/transfer-raydium-position.md): Reposition a Raydium CLMM collateral position to a new tick range on an existing loan. - [Update Orca liquidity](https://docs.loopscale.com/api-reference/transactions/clmm/update-orca-liquidity.md): Increase or decrease liquidity on an Orca CLMM collateral position while keeping the loan collateralized. - [Update Raydium liquidity](https://docs.loopscale.com/api-reference/transactions/clmm/update-raydium-liquidity.md): Increase or decrease liquidity on a Raydium CLMM collateral position while keeping the loan collateralized. - [Close strategy](https://docs.loopscale.com/api-reference/transactions/strategy/close-strategy.md): Closes an existing lending strategy and returns the serialized transaction required to do so. - [Create strategy](https://docs.loopscale.com/api-reference/transactions/strategy/create-strategy.md): Creates a new lending strategy, deposits the initial principal amount, and may return multiple transactions when lookup-table setup or external yield account initialization is required. - [Deposit into strategy](https://docs.loopscale.com/api-reference/transactions/strategy/deposit-strategy.md): Deposits additional principal into an existing lending strategy. - [Update strategy](https://docs.loopscale.com/api-reference/transactions/strategy/update-strategy.md): Updates strategy settings and collateral terms. Large collateral-term updates may be split across multiple returned transactions. - [Withdraw from strategy](https://docs.loopscale.com/api-reference/transactions/strategy/withdraw-strategy.md): Withdraws principal from an existing lending strategy, optionally closing out the full position. - [Cancel vault timelocks](https://docs.loopscale.com/api-reference/transactions/vault/cancel-timelocks.md): Cancel one or more pending timelock entries. - [Claim Vault rewards](https://docs.loopscale.com/api-reference/transactions/vault/claim-rewards.md): Claim rewards from a target lending Vault. This will harvest from all available rewards schedules and close empty accounts to refund SOL to requesting wallet. - [Create rewards schedule](https://docs.loopscale.com/api-reference/transactions/vault/create-rewards-schedule.md): Create a new vault rewards schedule and optionally deposit reward tokens into it. - [Create vault timelocks](https://docs.loopscale.com/api-reference/transactions/vault/create-timelocks.md): Create one or more timelock updates for vault collateral, rates, allocation, caps, and settings changes. - [Deposit to Vault](https://docs.loopscale.com/api-reference/transactions/vault/deposit.md): Deposit funds into a target lending Vault. On an additional deposit, the previous stake account and reward schedule is deleted and a new one is created. - [Edit vault deposits](https://docs.loopscale.com/api-reference/transactions/vault/edit-deposits.md): Enable or disable deposits for a lending vault. - [Edit rewards schedule](https://docs.loopscale.com/api-reference/transactions/vault/edit-rewards-schedule.md): Edit an existing vault rewards schedule and optionally extend its end time while depositing additional rewards. - [Withdraw from Vault](https://docs.loopscale.com/api-reference/transactions/vault/withdraw.md): Withdraw funds from a target lending Vault. If any deposits remain, the previous stake account and reward schedule is deleted and a new one is created. - [Loopscale Documentation](https://docs.loopscale.com/introduction/overview.md) - [Why Loopscale?](https://docs.loopscale.com/introduction/why-loopscale.md) - [Genesis Vaults Risk Framework](https://docs.loopscale.com/partners/archived/genesis-risk-framework.md) - [Loopscale Vault Curation](https://docs.loopscale.com/partners/curators/curation.md) - [Security at Loopscale](https://docs.loopscale.com/partners/curators/security.md) - [Loopscale Vault Architecture](https://docs.loopscale.com/partners/curators/vault-architecture.md) - [Vault Manager UI Guide](https://docs.loopscale.com/partners/curators/vault-manager-ui.md) - [Deposit to Loopscale Vaults](https://docs.loopscale.com/partners/guides/deposit.md) - [Manage Loopscale Vault Position](https://docs.loopscale.com/partners/guides/manage.md) - [Withdraw from Loopscale Vaults](https://docs.loopscale.com/partners/guides/withdraw.md) - [How Loopscale Works](https://docs.loopscale.com/partners/issuers/how-loopscale-works.md) - [Integration Types](https://docs.loopscale.com/partners/issuers/integrate.md) - [Real-World Assets](https://docs.loopscale.com/partners/issuers/rwa.md) - [Credit Order Book](https://docs.loopscale.com/protocol-concepts/credit-order-book.md) - [Loans & Orders](https://docs.loopscale.com/protocol-concepts/loans-and-orders.md) - [Loops](https://docs.loopscale.com/protocol-concepts/loops.md) - [Loopscale Vaults](https://docs.loopscale.com/protocol-concepts/loopscale-vaults.md) - [Overview](https://docs.loopscale.com/protocol-concepts/overview.md) - [Assets and Oracles](https://docs.loopscale.com/resources/asset-parameters.md): Last updated January 9, 2026 - [Audits & Bug Bounty](https://docs.loopscale.com/resources/audits.md) - [Brand Kit](https://docs.loopscale.com/resources/brand-kit.md) - [Disclaimer](https://docs.loopscale.com/resources/disclaimer.md): _Last updated: April 10, 2025_ - [FAQ](https://docs.loopscale.com/resources/faq.md) - [Privacy Policy](https://docs.loopscale.com/resources/privacy.md): _Updated: April 10, 2025_ - [Risks & Security](https://docs.loopscale.com/resources/risks-and-security.md) - [Terms of Use](https://docs.loopscale.com/resources/terms.md): _Last updated: April 10, 2025_ - [Advanced Lending](https://docs.loopscale.com/using-loopscale/advanced-lend.md) - [Health & Liquidations](https://docs.loopscale.com/using-loopscale/borrow/health-and-liquidations.md) - [LP Collateral Management](https://docs.loopscale.com/using-loopscale/borrow/lp-collateral-management.md) - [Borrow on Loopscale Markets](https://docs.loopscale.com/using-loopscale/borrow/overview.md) - [Refinancing](https://docs.loopscale.com/using-loopscale/borrow/refinances.md) - [Earn with Loopscale Vaults](https://docs.loopscale.com/using-loopscale/earn.md) - [Loop](https://docs.loopscale.com/using-loopscale/loop.md) - [Points on Loopscale](https://docs.loopscale.com/using-loopscale/points.md) ## OpenAPI Specs - [borrow](https://docs.loopscale.com/api-reference/transactions/borrow/borrow.json) - [markets](https://docs.loopscale.com/api-reference/data/markets/markets.json) - [strategy](https://docs.loopscale.com/api-reference/transactions/strategy/strategy.json) - [vault](https://docs.loopscale.com/api-reference/transactions/vault/vault.json) - [vaults](https://docs.loopscale.com/api-reference/data/vaults/vaults.json) - [user](https://docs.loopscale.com/api-reference/data/user/user.json) - [strategies](https://docs.loopscale.com/api-reference/data/strategies/strategies.json) - [loops](https://docs.loopscale.com/api-reference/data/loops/loops.json) - [clmm](https://docs.loopscale.com/api-reference/transactions/clmm/clmm.json) - [positions](https://docs.loopscale.com/api-reference/data/positions/positions.json)