List All Instruments
GET/instruments
Retrieve a list of all available DeFi instruments with optional filtering and sorting.
Request
Query Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
chainId | number | No | Filter by chain ID (e.g., 8453 for Base) |
protocol | string | No | Filter by protocol name (Aave, Compound, Morpho, Euler, Fluid) |
isActive | boolean | No | Filter by active status (defaults to true) |
isStablecoin | boolean | No | Filter by stablecoin instruments only |
assetCategory | string | No | Filter by asset category: USD, EUR, ETH, BTC |
sortBy | string | No | Sort field: apy, tvl, createdAt |
sortOrder | string | No | Sort direction: asc, desc |
limit | number | No | Items per page (default: 20, max: 100) |
offset | number | No | Number of items to skip (default: 0) |
Response
List Instruments by Chain
GET/instruments/by-chain/:chainId
Retrieve all instruments for a specific blockchain.
Request
Path Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
chainId | number | Yes | The chain ID (e.g., 8453 for Base) |
Query Parameters
Same as List All Instruments (exceptchainId which is in the path).
Response
Same structure as List All Instruments.Get Single Instrument
GET/instruments/:instrumentId
Retrieve detailed information about a specific instrument.
Request
Path Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
instrumentId | string | Yes | The unique instrument identifier (bytes32 hex) |
Response
TypeScript Example
Next Steps
Chains API
Get supported chains and contracts
Positions API
Query user positions
Quotes API
Get swap quotes
Metrics API
Historical APY and TVL data