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

# Morpho Get Vault APY

Get the current APY for a specific Morpho vault by its contract address. Returns gross APY, net APY (after fees), TVL, and underlying asset info. Unlike 'Morpho Get Best APY' which discovers the highest-yielding vault for a token, this action looks up a known vault directly — use it when you already know which vault to check (e.g., after a deposit or withdrawal). Supports Ethereum (1), Optimism (10), Polygon (137), Robinhood Chain (4663), Base (8453), Arbitrum (42161). Ideal for: post-deposit APY reporting, vault monitoring, Slack/Telegram notifications with accurate yield data.

![Morpho Get Vault APY logo](https://cdn.b3.fun/b3os-icons/morpho.svg)
Catalog action Blockchain Data

Get the current APY for a specific Morpho vault by its contract address. Returns gross APY, net APY (after fees), TVL, and underlying asset info. Unlike 'Morpho Get Best APY' which discovers the highest-yielding vault for a token, this action looks up a known vault directly — use it when you already know which vault to check (e.g., after a deposit or withdrawal). Supports Ethereum (1), Optimism (10), Polygon (137), Robinhood Chain (4663), Base (8453), Arbitrum (42161). Ideal for: post-deposit APY reporting, vault monitoring, Slack/Telegram notifications with accurate yield data.


## At a Glance

| Field | Value |
| --- | --- |
| Action ID | `morpho-get-vault-apy` |
| Category | Blockchain Data |
| Connector | Not required |
| Requires gas | No |
| Funds movement | None declared |
| Tags | `morpho`, `defi`, `yield`, `vault`, `erc4626`, `lending`, `read` |

## Payload Schema

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `vaultAddress` | `string` | Yes | The MetaMorpho vault contract address to look up. |
| `chainId` | `number` | Yes | Chain ID. Supported: Ethereum \(1\), Optimism \(10\), Polygon \(137\), Robinhood Chain \(4663\), Base \(8453\), Arbitrum \(42161\) |

## Result Schema

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `vaultAddress` | `string` | Yes | The queried vault contract address |
| `vaultName` | `string` | Yes | Vault display name \(e.g., 'Steakhouse USDC'\) |
| `chainId` | `number` | Yes | Chain ID the vault is deployed on |
| `chainName` | `string` | Yes | Human-readable chain name \(e.g., 'base', 'ethereum'\) |
| `apy` | `number` | Yes | Gross APY as decimal \(0.05 = 5%\) |
| `netApy` | `number` | Yes | Net APY after fees as decimal \(0.045 = 4.5%\) |
| `apyPercent` | `number` | Yes | Gross APY as percentage \(e.g., 5.0\) |
| `netApyPercent` | `number` | Yes | Net APY after fees as percentage \(e.g., 4.5\) |
| `totalAssets` | `string` | Yes | Total assets deposited in the vault \(raw, smallest unit\) |
| `totalAssetsUsd` | `number \| null` | Yes | Total assets in USD \(computed from totalAssets and token price\). Null when price data is unavailable. |
| `assetAddress` | `string` | Yes | Underlying asset token address |
| `assetSymbol` | `string` | Yes | Underlying asset token symbol \(e.g., 'USDC'\) |
| `assetDecimals` | `number` | Yes | Underlying asset token decimals |

## Examples

**Workflow node**

```json
{
  "type": "morpho-get-vault-apy",
  "payload": {
    "vaultAddress": "0x0000000000000000000000000000000000000000",
    "chainId": 1
  },
  "children": []
}
```
  **Test with API**

```bash
curl -X POST "https://api.b3os.org/v1/actions/morpho-get-vault-apy/test" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "inputs": {
    "vaultAddress": "0x0000000000000000000000000000000000000000",
    "chainId": 1
  }
}'
```

**Use expressions for dynamic values**

Payload fields can use workflow expressions such as `{{$trigger.body.amount}}`, `{{$nodes.fetch.result.price}}`, and `{{$props.asset}}` when the value should come from a trigger, prior node, or reusable workflow prop.