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

> Use this endpoint to retrieve all tokens and investment routes supported by our platform. Use this data to manage and create operations for a given user. It is recommended to cache this information with a TTL of up to 10 hours.

# Get available routes

```shellscript theme={null}
GET /yield/strategies
```

<Steps>
  <Step title="Getting available strategies">
    Retrieving available strategies for investment operations

    ```shellscript theme={null}
    curl --request GET \
      --url https://api.starkfi.io/yield/strategies \
      --header 'Content-Type: application/json' \
      --header 'x-api-key: <api_key>' \
    ```

    ```json expandable theme={null}
    {
        "statusCode": 200,
        "success": true,
        "status": "get_yield_strategies_ok",
        "message": "Yield strategies retrieved successfully",
        "data": {
            "strategies": [
                {
                    "strategy_id": "jupiter_lend:EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v:9BEcn9aPEmhSPbPQeFGjidRiEKki46fVQDyPpSQXPA2D",
                    "provider": "jupiter_lend",
                    "protocol_display_name": "Jupiter Lend",
                    "product_type": "lending",
                    "enabled": true,
                    "token": {
                        "symbol": "USDC",
                        "mint": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
                        "decimals": 6
                    },
                    "apy": {
                        "supply": {
                            "percent": 3.06,
                            "annualized": 0.030600000000000002
                        },
                        "total_with_rewards": {
                            "percent": 4.16,
                            "annualized": 0.0416
                        },
                        "rewards_only": {
                            "percent": 1.1,
                            "annualized": 0.011000000000000001
                        },
                        "borrow": null
                    },
                    "risk": {
                        "max_ltv": null,
                        "max_ltv_percent": null
                    },
                    "liquidity": {
                        "tvl_usd": 424426041.26,
                        "total_supply_usd": 424426041.26,
                        "total_borrow_usd": null
                    },
                    "addresses": {
                        "market_or_vault": "9BEcn9aPEmhSPbPQeFGjidRiEKki46fVQDyPpSQXPA2D",
                        "reserve": null,
                        "share_mint": "jlUSDC"
                    }
                },
                {
                    "strategy_id": "jupiter_lend:So11111111111111111111111111111111111111112:2uQsyo1fXXQkDtcpXnLofWy88PxcvnfH2L8FPSE62FVU",
                    "provider": "jupiter_lend",
                    "protocol_display_name": "Jupiter Lend",
                    "product_type": "lending",
                    "enabled": true,
                    "token": {
                        "symbol": "SOL",
                        "mint": "So11111111111111111111111111111111111111112",
                        "decimals": 9
                    },
                    "apy": {
                        "supply": {
                            "percent": 3.99,
                            "annualized": 0.039900000000000005
                        },
                        "total_with_rewards": {
                            "percent": 3.99,
                            "annualized": 0.039900000000000005
                        },
                        "rewards_only": {
                            "percent": 0,
                            "annualized": 0
                        },
                        "borrow": null
                    },
                    "risk": {
                        "max_ltv": null,
                        "max_ltv_percent": null
                    },
                    "liquidity": {
                        "tvl_usd": 33569813.73,
                        "total_supply_usd": 33569813.73,
                        "total_borrow_usd": null
                    },
                    "addresses": {
                        "market_or_vault": "2uQsyo1fXXQkDtcpXnLofWy88PxcvnfH2L8FPSE62FVU",
                        "reserve": null,
                        "share_mint": "jlWSOL"
                    }
                },
                {
                    "strategy_id": "jupiter_lend:HzwqbKZw8HxMN6bF2yFZNrht3c2iXXzpKcFu7uBEDKtr:GcV9tEj62VncGithz4o4N9x6HWXARxuRgEAYk9zahNA8",
                    "provider": "jupiter_lend",
                    "protocol_display_name": "Jupiter Lend",
                    "product_type": "lending",
                    "enabled": true,
                    "token": {
                        "symbol": "EURC",
                        "mint": "HzwqbKZw8HxMN6bF2yFZNrht3c2iXXzpKcFu7uBEDKtr",
                        "decimals": 6
                    },
                    "apy": {
                        "supply": {
                            "percent": 2.37,
                            "annualized": 0.023700000000000002
                        },
                        "total_with_rewards": {
                            "percent": 2.37,
                            "annualized": 0.023700000000000002
                        },
                        "rewards_only": {
                            "percent": 0,
                            "annualized": 0
                        },
                        "borrow": null
                    },
                    "risk": {
                        "max_ltv": null,
                        "max_ltv_percent": null
                    },
                    "liquidity": {
                        "tvl_usd": 5262105.24,
                        "total_supply_usd": 5262105.24,
                        "total_borrow_usd": null
                    },
                    "addresses": {
                        "market_or_vault": "GcV9tEj62VncGithz4o4N9x6HWXARxuRgEAYk9zahNA8",
                        "reserve": null,
                        "share_mint": "jlEURC"
                    }
                },
                {
                    "strategy_id": "kamino:EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v:D6q6wuQSrifJKZYpR1M8R4YawnLDtDsMmWM1NbBmgJ59",
                    "provider": "kamino",
                    "protocol_display_name": "Kamino",
                    "product_type": "lending",
                    "enabled": true,
                    "token": {
                        "symbol": "USDC",
                        "mint": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
                        "decimals": null
                    },
                    "apy": {
                        "supply": {
                            "percent": 3.3895,
                            "annualized": 0.03389487040298489
                        },
                        "total_with_rewards": null,
                        "rewards_only": null,
                        "borrow": {
                            "percent": 4.6422,
                            "annualized": 0.04642208138395909
                        }
                    },
                    "risk": {
                        "max_ltv": 0.8,
                        "max_ltv_percent": 80
                    },
                    "liquidity": {
                        "tvl_usd": 166387743.28,
                        "total_supply_usd": 166387743.28,
                        "total_borrow_usd": 157754399.06
                    },
                    "addresses": {
                        "market_or_vault": "7u3HeHxYDLhnCoErrtycNokbQYbWGzLs6JSDqGAv5PfF",
                        "reserve": "D6q6wuQSrifJKZYpR1M8R4YawnLDtDsMmWM1NbBmgJ59",
                        "share_mint": null
                    }
                },
                {
                    "strategy_id": "kamino:So11111111111111111111111111111111111111112:d4A2prbA2whesmvHaL88BH6Ewn5N4bTSU2Ze8P6Bc4Q",
                    "provider": "kamino",
                    "protocol_display_name": "Kamino",
                    "product_type": "lending",
                    "enabled": true,
                    "token": {
                        "symbol": "SOL",
                        "mint": "So11111111111111111111111111111111111111112",
                        "decimals": null
                    },
                    "apy": {
                        "supply": {
                            "percent": 5.1948,
                            "annualized": 0.0519480615176211
                        },
                        "total_with_rewards": null,
                        "rewards_only": null,
                        "borrow": {
                            "percent": 6.8261,
                            "annualized": 0.06826132320995648
                        }
                    },
                    "risk": {
                        "max_ltv": 0.74,
                        "max_ltv_percent": 74
                    },
                    "liquidity": {
                        "tvl_usd": 253286758.56,
                        "total_supply_usd": 253286758.56,
                        "total_borrow_usd": 228540038.34
                    },
                    "addresses": {
                        "market_or_vault": "7u3HeHxYDLhnCoErrtycNokbQYbWGzLs6JSDqGAv5PfF",
                        "reserve": "d4A2prbA2whesmvHaL88BH6Ewn5N4bTSU2Ze8P6Bc4Q",
                        "share_mint": null
                    }
                },
                {
                    "strategy_id": "kamino:J1toso1uCk3RLmjorhTtrVwY9HJ7X8V9yYac6Y7kGCPn:EVbyPKrHG6WBfm4dLxLMJpUDY43cCAcHSpV3KYjKsktW",
                    "provider": "kamino",
                    "protocol_display_name": "Kamino",
                    "product_type": "lending",
                    "enabled": true,
                    "token": {
                        "symbol": "JITOSOL",
                        "mint": "J1toso1uCk3RLmjorhTtrVwY9HJ7X8V9yYac6Y7kGCPn",
                        "decimals": null
                    },
                    "apy": {
                        "supply": {
                            "percent": 0.0004,
                            "annualized": 0.0000035152103061708573
                        },
                        "total_with_rewards": null,
                        "rewards_only": null,
                        "borrow": {
                            "percent": 1.333,
                            "annualized": 0.01333030281886205
                        }
                    },
                    "risk": {
                        "max_ltv": 0.59,
                        "max_ltv_percent": 59
                    },
                    "liquidity": {
                        "tvl_usd": 94109646.73,
                        "total_supply_usd": 94109646.73,
                        "total_borrow_usd": 671422.43
                    },
                    "addresses": {
                        "market_or_vault": "7u3HeHxYDLhnCoErrtycNokbQYbWGzLs6JSDqGAv5PfF",
                        "reserve": "EVbyPKrHG6WBfm4dLxLMJpUDY43cCAcHSpV3KYjKsktW",
                        "share_mint": null
                    }
                }
            ],
            "sources": {
                "jupiter_lend": {
                    "ok": true,
                    "message": "get_lending_markets_ok",
                    "count": 3
                },
                "kamino": {
                    "ok": true,
                    "message": "vaults_retrieved_successfully",
                    "count": 3
                }
            }
        }
    }
    ```
  </Step>

  <Step title="What do these data mean?">
    This endpoint returns all available investment (yield) strategies on the platform, aggregated from multiple providers (e.g., Jupiter, Kamino).

    <AccordionGroup>
      <Accordion title="📦 Response Structure">
        * `statusCode`: HTTP response status code
        * `success`: Indicates whether the request was successful
        * `status`: Internal operation status code
        * `message`: Descriptive message about the result
        * `data`: Contains the returned data:
          * `strategies`: List of available strategies
          * `sources`: Status of integrations with external providers
      </Accordion>

      <Accordion title="🧠 Strategies">
        Each item represents an investment opportunity.

        * `strategy_id`: Unique identifier of the strategy (composed of provider + token + contract)
        * `provider`: Provider name (e.g., `kamino`, `jupiter_lend`)
        * `protocol_display_name`: Human-readable protocol name
        * `product_type`: Product type (e.g., `lending`, `staking`)
        * `enabled`: Indicates whether the strategy is available for use
      </Accordion>

      <Accordion title="🪙 Token">
        * `symbol`: Token symbol (e.g., USDC, SOL)
        * `mint`: Token address on the blockchain
        * `decimals`: Token decimal precision
      </Accordion>

      <Accordion title="📈 APY (Yield)">
        * `supply`: Yield for supplying liquidity
          * `percent`: APY as a percentage (e.g., 3.06%)
          * `annualized`: Decimal format (e.g., 0.0306)
        * `total_with_rewards`: Total APY including incentives
        * `rewards_only`: Rewards only (excluding base yield)
        * `borrow`: APY for borrowing ⚠️ Some fields may be `null` depending on the strategy
      </Accordion>

      <Accordion title="⚠️ Risk">
        * `max_ltv`: Maximum Loan-to-Value ratio (e.g., 0.8 = 80%)
        * `max_ltv_percent`: Same value expressed as a percentage
      </Accordion>

      <Accordion title="💧 Liquidity">
        * `tvl_usd`: Total Value Locked in USD
        * `total_supply_usd`: Total supplied liquidity
        * `total_borrow_usd`: Total borrowed amount
      </Accordion>

      <Accordion title="📍 Addresses">
        * `market_or_vault`: Main market or vault address
        * `reserve`: Reserve address (if applicable)
        * `share_mint`: Token representing the position (e.g., receipt token)
      </Accordion>

      <Accordion title="🧩 Important Notes">
        * Not all strategies include complete data (e.g., `borrow` may be `null`)
        * APY values may change frequently
        * It is recommended to cache this response (e.g., 10 hours)
        * `strategy_id` should be used when creating operations
      </Accordion>
    </AccordionGroup>
  </Step>

  <Step title="Get available route using a filter">
    You can use a specific token symbol to filter the response. For example, by using **USDC**, you will retrieve all available strategies for that token.

    ```shellscript theme={null}
    curl --request GET \
      --url https://api.starkfi.io/yield/strategies/:asset_symbol \
      --header 'Content-Type: application/json' \
      --header 'x-api-key: <api_key>' \
    ```

    ```json expandable theme={null}
    {
        "statusCode": 200,
        "success": true,
        "status": "get_yield_strategies_ok",
        "message": "Yield strategies retrieved successfully",
        "data": {
            "strategies": [
                {
                    "strategy_id": "jupiter_lend:EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v:9BEcn9aPEmhSPbPQeFGjidRiEKki46fVQDyPpSQXPA2D",
                    "provider": "jupiter_lend",
                    "protocol_display_name": "Jupiter Lend",
                    "product_type": "lending",
                    "enabled": true,
                    "token": {
                        "symbol": "USDC",
                        "mint": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
                        "decimals": 6
                    },
                    "apy": {
                        "supply": {
                            "percent": 3.06,
                            "annualized": 0.030600000000000002
                        },
                        "total_with_rewards": {
                            "percent": 4.16,
                            "annualized": 0.0416
                        },
                        "rewards_only": {
                            "percent": 1.1,
                            "annualized": 0.011000000000000001
                        },
                        "borrow": null
                    },
                    "risk": {
                        "max_ltv": null,
                        "max_ltv_percent": null
                    },
                    "liquidity": {
                        "tvl_usd": 424426041.26,
                        "total_supply_usd": 424426041.26,
                        "total_borrow_usd": null
                    },
                    "addresses": {
                        "market_or_vault": "9BEcn9aPEmhSPbPQeFGjidRiEKki46fVQDyPpSQXPA2D",
                        "reserve": null,
                        "share_mint": "jlUSDC"
                    }
                },
                {
                    "strategy_id": "kamino:EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v:D6q6wuQSrifJKZYpR1M8R4YawnLDtDsMmWM1NbBmgJ59",
                    "provider": "kamino",
                    "protocol_display_name": "Kamino",
                    "product_type": "lending",
                    "enabled": true,
                    "token": {
                        "symbol": "USDC",
                        "mint": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
                        "decimals": null
                    },
                    "apy": {
                        "supply": {
                            "percent": 3.3895,
                            "annualized": 0.03389494280042804
                        },
                        "total_with_rewards": null,
                        "rewards_only": null,
                        "borrow": {
                            "percent": 4.6422,
                            "annualized": 0.04642212534874757
                        }
                    },
                    "risk": {
                        "max_ltv": 0.8,
                        "max_ltv_percent": 80
                    },
                    "liquidity": {
                        "tvl_usd": 166389339.94,
                        "total_supply_usd": 166389339.94,
                        "total_borrow_usd": 157756070.62
                    },
                    "addresses": {
                        "market_or_vault": "7u3HeHxYDLhnCoErrtycNokbQYbWGzLs6JSDqGAv5PfF",
                        "reserve": "D6q6wuQSrifJKZYpR1M8R4YawnLDtDsMmWM1NbBmgJ59",
                        "share_mint": null
                    }
                }
            ],
            "sources": {
                "jupiter_lend": {
                    "ok": true,
                    "message": "get_lending_markets_ok",
                    "count": 3
                },
                "kamino": {
                    "ok": true,
                    "message": "vaults_retrieved_successfully",
                    "count": 3
                }
            }
        }
    }
    ```
  </Step>
</Steps>
