Get loan book
get_fabrica_loan_bookGet the lending history of the Fabrica protocol as a distribution: loan counts and principal by status and provider, loan-to-value bands against today's property estimates, exposure by state and acreage, APR and duration spread, repaid and liquidated counts, originations by month for the last 12 months, and the largest loans with their property pages. Covers DeFi lending pool loans and historical peer-to-peer loans. Counts come from the loan records; where the pool data source's counters differ, both are shown.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_fabrica_loan_book"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | No | Only loans with this status (default all). | |
| groupBy | No | Adds a groups table: loans, principal and outcome counts per state, provider, status, loan-to-value band or acre band. | |
| largest | No | How many of the largest loans to list (default 10, max 25). | |
| provider | No | pool: the DeFi lending pool. peer-to-peer: historical loans through the retired NFTfi integration. Default all. | |
| sinceDays | No | Only loans started in the last N days (default: the whole history). |