Protocols

Get protocol reserves

Blend is the only supported protocol for this surface. Live mode serves the latest reserves and point-in-time reads via `as_of_ledger`; fixture mode is latest-only and rejects `as_of_ledger` with 501. Recognised but unsupported protocols (aquarius, soroswap, fxdao) return 501 naming the protocol and surface; unknown protocol ids return 404.

GET
/v1/protocols/{id}/reserves

Blend is the only supported protocol for this surface. Live mode serves the latest reserves and point-in-time reads via as_of_ledger; fixture mode is latest-only and rejects as_of_ledger with 501. Recognised but unsupported protocols (aquarius, soroswap, fxdao) return 501 naming the protocol and surface; unknown protocol ids return 404.

Authorization

OrionApiKey
x-orion-token<token>

In: header

Path Parameters

id*string

Protocol id

Value in

  • "blend"
  • "aquarius"
  • "soroswap"
  • "fxdao"

Query Parameters

as_of_ledger?|

Return data as of this ledger sequence number. Omit for latest state.

Formatint64
Range0 <= value

Response Body

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/v1/protocols/blend/reserves"
{  "data": {    "backstops": [      {        "backstop_contract": "string",        "blnd_amount": "string",        "contract": "string",        "ledger": 0,        "lp_tokens": "string",        "metadata": null,        "q4w_pct": "string",        "q4w_shares": "string",        "shares": "string",        "usd_value": "string",        "usdc_amount": "string"      }    ],    "protocol_id": "string",    "reserves": [      {        "asset_id": "string",        "asset_symbol": "string",        "b_rate": "string",        "borrow_apr": "string",        "borrow_apy": "string",        "borrow_cap": "string",        "c_factor": "string",        "contract": "string",        "d_rate": "string",        "decimals": 0,        "l_factor": "string",        "ledger": 0,        "metadata": null,        "oracle_contract": "string",        "status": null,        "supply_apr": "string",        "supply_apy": "string",        "supply_cap": "string",        "total_borrowed": "string",        "total_supplied": "string",        "utilization": "string"      }    ]  },  "enrichment": {    "assets": {      "property1": {        "decimals": 0,        "price_source": null,        "price_usd": "string",        "symbol": "string",        "tags": [          "string"        ]      },      "property2": {        "decimals": 0,        "price_source": null,        "price_usd": "string",        "symbol": "string",        "tags": [          "string"        ]      }    },    "contracts": {      "property1": {        "name": "string",        "position_types": [          "collateral"        ],        "protocol": "string",        "status": "active",        "version": "string"      },      "property2": {        "name": "string",        "position_types": [          "collateral"        ],        "protocol": "string",        "status": "active",        "version": "string"      }    }  },  "meta": {    "as_of_ledger": 0,    "attribution_confidence": 0,    "data_staleness_seconds": 0,    "last_indexed_ledger": 0,    "ledger_lag_seconds": 0,    "oracle_staleness_seconds": 0,    "partial_result": true,    "requested_ledger": 0,    "response_time_ms": 0,    "sources": [      "soroban_rpc"    ]  }}