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

# getConservativeOpportunities

Get conservative (low-risk) yield opportunities. Optionally filter by chain.

## Signature

```typescript theme={null}
getConservativeOpportunities(chainId?: number): Promise<OpportunitiesResponse>
```

## Parameters

| Parameter | Type     | Required | Description              |
| --------- | -------- | -------- | ------------------------ |
| `chainId` | `number` | ❌        | Optional chain ID filter |

## Returns

List of safe yield opportunities

## Return Type

```typescript theme={null}
interface OpportunitiesResponse {
  success: boolean;
  chainId?: number;
  strategyType: 'conservative' | 'aggressive';
  data: Opportunity[];
}
```

## Example

```typescript theme={null}
const opportunities = await sdk.getConservativeOpportunities(8453);
opportunities.data.forEach(o => {
  console.log(`${o.protocolName} - ${o.poolName}: ${o.apy}% APY`);
});
```
