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

> ## Agent Instructions
> For the current source of truth, read https://docs.base.org/llms.txt and connect the Base docs MCP server at https://docs.base.org/mcp.

# Base Earn API: Get Vault

> Return one Base Earn vault by ID, with live onchain state, APY metrics, and share price. Morpho vaults also return total assets and total supply.

Returns one vault from the catalog by its `vaultId`, with the same fields as a [List Vaults](https://docs.base.org/sdks/base-earn/api-reference/list-vaults.md) row plus the vault's current share price. Morpho and Upshift both return `sharePrice`. For Morpho, the response also includes `totalAssets` and `totalSupply`. Upshift responses include `redemptionLagSeconds`, `depositsPaused` and `withdrawalsPaused`.

A missing field means the value is unavailable, never zero. Morpho `metrics` currently include APY but not TVL.

## Path Parameters

**vaultId** `string` *required*

The vault identifier from [discovery](https://docs.base.org/sdks/base-earn/api-reference/list-vaults.md). An unknown ID returns `404`.

```bash cURL wrap theme={null}
curl "https://api.base.org/earn/v1/lend/vaults/01a23de5-1ff9-7bbd-af0d-f534e0ea628b"
```

```typescript TypeScript wrap theme={null}
const { vault } = await earn("GET", `/lend/vaults/${encodeURIComponent(vaultId)}`);
```

```python Python wrap theme={null}
vault = earn("GET", f"/lend/vaults/{vault_id}")["vault"]
```

```json 200 (Morpho) lines expandable wrap theme={null}
{
  "vault": {
    "vaultId": "01a23de5-1ff9-7bbd-af0d-f534e0ea628b",
    "network": "base",
    "name": "steakUSDC",
    "provider": "morpho",
    "asset": { "address": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913", "symbol": "USDC", "decimals": 6 },
    "share": { "address": "0x0C7Bca9e3DD98396fFFF130E5E03097e3701e815", "symbol": "steakUSDC", "decimals": 18 },
    "vaultAddress": "0x0C7Bca9e3DD98396fFFF130E5E03097e3701e815",
    "withdrawalMode": "synchronous",
    "metrics": {
      "apy": {
        "oneHour":   { "totalBps": 325, "baseBps": 325, "rewardBps": 0 },
        "oneDay":    { "totalBps": 308, "baseBps": 308, "rewardBps": 0 },
        "sevenDay":  { "totalBps": 324, "baseBps": 324, "rewardBps": 0 },
        "thirtyDay": { "totalBps": 361, "baseBps": 361, "rewardBps": 0 },
        "updatedAt": "2026-12-04T17:00:00Z"
      }
    },
    "sharePrice": "1000060",
    "totalAssets": "1000061",
    "totalSupply": "1000000000000000000"
  }
}
```

```json 200 (Upshift) lines expandable wrap theme={null}
{
  "vault": {
    "vaultId": "8d068ba8-072e-421c-b553-6cf989cefeec",
    "network": "base",
    "name": "Clearstar cbXRP Yield Vault",
    "provider": "upshift",
    "asset": { "address": "0xcb585250f852C6c6bf90434AB21A00f02833a4af", "symbol": "cbXRP", "decimals": 6 },
    "share": { "address": "0xf7CF01e5d58b3F1Ba228920978c47B5B79b67bF4", "symbol": "upXRP", "decimals": 6 },
    "vaultAddress": "0x2c4198361F5aF870EC2bE0fffe243610cDe7F84b",
    "depositsPaused": false,
    "withdrawalsPaused": false,
    "redemptionLagSeconds": "259200",
    "withdrawalMode": "queued",
    "incentives": { "available": true, "stale": false, "campaigns": [] },
    "metrics": {
      "apy": {
        "oneHour":   { "totalBps": 0,   "baseBps": 0,   "rewardBps": 0 },
        "oneDay":    { "totalBps": 0,   "baseBps": 0,   "rewardBps": 0 },
        "sevenDay":  { "totalBps": 31,  "baseBps": 31,  "rewardBps": 0 },
        "thirtyDay": { "totalBps": 131, "baseBps": 128, "rewardBps": 3 },
        "updatedAt": "2026-12-04T17:00:00Z"
      },
      "tvlUsd": "868765",
      "tvlUnderlying": "1079321877970",
      "tvlUpdatedAt": "2026-12-04T17:00:00Z"
    },
    "sharePrice": "1003551"
  }
}
```

The TypeScript and Python examples use the `earn()` helper from [Call the API](https://docs.base.org/sdks/base-earn/call-the-api.md). Response examples use illustrative values.

## Response Fields

The response wraps one vault in `vault`. It has every field described in [List Vaults](https://docs.base.org/sdks/base-earn/api-reference/list-vaults.md#response-fields), plus:

**sharePrice** `string`

The value of one whole share (`10 ** share.decimals` atomic units) in the asset's atomic units. Returned for Morpho and Upshift. For steakUSDC, `"1000060"` means one share is worth 1.00006 USDC.

**totalAssets** `string`

Morpho only. Total assets held by the vault, in the asset's atomic units.

**totalSupply** `string`

Morpho only. Total shares outstanding, in the share token's atomic units.

**redemptionLagSeconds, depositsPaused, withdrawalsPaused** `Upshift only`

The queued-withdrawal waiting period and pause flags, as described in [List Vaults](https://docs.base.org/sdks/base-earn/api-reference/list-vaults.md#response-fields).
