GONDI is an MCP server published by xyz.gondi, hosted at api.gondi.xyz. When last checked on 2026-11-23 it was working: it answers and lists its tools. It declares 21 tools, including search_gondi, get_collection_market, get_nft_market, list_cheapest_for_sale, list_recent_sales.
GONDI NFT marketplace: live prices, bids, listings, sales, lending and borrowing data for AI agents.
Nothing else in the archive shares these values.
Squares are this server's values; dots are other servers sharing them. A shared address or publisher is a lead, not proof of a common operator.
Inferred from the host name and headers: what a server runs on, not who runs it.
Find collections, artists, NFTs and users on GONDI by name. Call it first whenever you have a name rather than a slug: never guess a slug, take it from the result. Each match carries its slug or address, its chain where it has one, and gondi_url, its GONDI page to hand the user.
| Parameter | Type | Description |
|---|---|---|
| limit | integer | Results to answer per kind, 1 to 15. |
| query * | string | A name or part of one, a slug, a token id, an ENS name or a contract or wallet address. |
{
"name": "search_gondi",
"title": "Search GONDI",
"description": "Find collections, artists, NFTs and users on GONDI by name. Call it\nfirst whenever you have a name rather than a slug: never guess a slug,\ntake it from the result. Each match carries its slug or address, its\nchain where it has one, and gondi_url, its GONDI page to hand the\nuser.",
"inputSchema": {
"type": "object",
"title": "search_gondiArguments",
"required": [
"query"
],
"properties": {
"limit": {
"type": "integer",
"title": "Limit",
"default": 5,
"maximum": 15,
"minimum": 1,
"description": "Results to answer per kind, 1 to 15."
},
"query": {
"type": "string",
"title": "Query",
"maxLength": 100,
"minLength": 1,
"description": "A name or part of one, a slug, a token id, an ENS name or a contract or wallet address."
}
}
},
"outputSchema": {
"type": "object",
"$defs": {
"NftSearchResult": {
"type": "object",
"title": "NftSearchResult",
"required": [
"name",
"token_id",
"collection_slug",
"collection_name",
"chain",
"contract_address",
"gondi_url"
],
"properties": {
"kind": {
"type": "string",
"const": "nft",
"title": "Kind",
"default": "nft"
},
"name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Name"
},
"chain": {
"type": "string",
"title": "Chain"
},
"token_id": {
"type": "string",
"title": "Token Id"
},
"gondi_url": {
"type": "string",
"title": "Gondi Url",
"description": "Its page on https://www.gondi.xyz."
},
"collection_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Collection Name"
},
"collection_slug": {
"type": "string",
"title": "Collection Slug"
},
"contract_address": {
"type": "string",
"title": "Contract Address"
}
}
},
"UserSearchResult": {
"type": "object",
"title": "UserSearchResult",
"required": [
"name",
"wallet_address",
"gondi_url"
],
"properties": {
"kind": {
"type": "string",
"const": "user",
"title": "Kind",
"default": "user"
},
"name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Name",
"description": "The GONDI username, else the ENS or OpenSea name; null for a wallet with none."
},
"gondi_url": {
"type": "string",
"title": "Gondi Url",
"description": "Its page on https://www.gondi.xyz."
},
"wallet_address": {
"type": "string",
"title": "Wallet Address"
}
}
},
"ArtistSearchResult": {
"type": "object",
"title": "ArtistSearchResult",
"required": [
"name",
"slug",
"gondi_url"
],
"properties": {
"kind": {
"type": "string",
"const": "artist",
"title": "Kind",
"default": "artist"
},
"name": {
"type": "string",
"title": "Name"
},
"slug": {
"type": "string",
"title": "Slug"
},
"gondi_url": {
"type": "string",
"title": "Gondi Url",
"description": "Its page on https://www.gondi.xyz."
}
}
},
"CollectionSearchResult": {
"type": "object",
"title": "CollectionSearchResult",
"required": [
"name",
"slug",
"chain",
"contract_address",
"gondi_url"
],
"properties": {
"kind": {
"type": "string",
"const": "collection",
"title": "Kind",
"default": "collection"
},
"name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Name"
},
"slug": {
"type": "string",
"title": "Slug",
"description": "What the tools taking a collection slug expect."
},
"chain": {
"type": "string",
"title": "Chain"
},
"gondi_url": {
"type": "string",
"title": "Gondi Url",
"description": "Its page on https://www.gondi.xyz."
},
"contract_address": {
"type": "string",
"title": "Contract Address"
}
}
}
},
"title": "SearchResults",
"required": [
"collections",
"artists",
"nfts",
"users"
],
"properties": {
"nfts": {
"type": "array",
"items": {
"$ref": "#/$defs/NftSearchResult"
},
"title": "Nfts"
},
"users": {
"type": "array",
"items": {
"$ref": "#/$defs/UserSearchResult"
},
"title": "Users"
},
"artists": {
"type": "array",
"items": {
"$ref": "#/$defs/ArtistSearchResult"
},
"title": "Artists"
},
"collections": {
"type": "array",
"items": {
"$ref": "#/$defs/CollectionSearchResult"
},
"title": "Collections"
}
},
"description": "Each list is ranked best match first and empty when nothing matched."
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false
}
}A collection's prices on GONDI: its floor price and its top collection bid, each in its currency and in USD, and what selling and buying its NFTs costs in fees on GONDI against OpenSea. Answers "what is the floor of X", "what's the top bid on X collection" and "where do I pay the lowest fees to sell X". It takes a slug: when you have a name, call search_gondi first and take the slug from its result.
| Parameter | Type | Description |
|---|---|---|
| slug * | string | The collection's GONDI slug. |
{
"name": "get_collection_market",
"title": "Collection market",
"description": "A collection's prices on GONDI: its floor price and its top\ncollection bid, each in its currency and in USD, and what selling and\nbuying its NFTs costs in fees on GONDI against OpenSea. Answers \"what\nis the floor of X\", \"what's the top bid on X collection\" and \"where do\nI pay the lowest fees to sell X\". It takes a slug:\nwhen you have a name, call search_gondi first and take the slug from\nits result.",
"inputSchema": {
"type": "object",
"title": "get_collection_marketArguments",
"required": [
"slug"
],
"properties": {
"slug": {
"type": "string",
"title": "Slug",
"description": "The collection's GONDI slug."
}
}
},
"outputSchema": {
"type": "object",
"$defs": {
"Price": {
"type": "object",
"title": "Price",
"required": [
"amount",
"currency_symbol",
"amount_usd"
],
"properties": {
"amount": {
"type": "number",
"title": "Amount"
},
"amount_usd": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"title": "Amount Usd",
"description": "At the current rate; null when the rate is unavailable."
},
"currency_symbol": {
"type": "string",
"title": "Currency Symbol"
}
}
},
"MarketOrder": {
"type": "object",
"title": "MarketOrder",
"required": [
"amount",
"currency_symbol",
"amount_usd",
"order_type",
"marketplace",
"gondi_fee_percent",
"buyer_fee_percent",
"buyer_pays",
"maker_address",
"expires_at"
],
"properties": {
"amount": {
"type": "number",
"title": "Amount"
},
"amount_usd": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"title": "Amount Usd",
"description": "At the current rate; null when the rate is unavailable."
},
"buyer_pays": {
"type": "number",
"title": "Buyer Pays",
"description": "What the listing's buyer or the bid's bidder pays in total, in currency_symbol: the listed price for a listing, the bid for a bid. GONDI's seller fee comes out of the seller's proceeds, not on top of this. Buying with a loan adds its own fee (get_buy_with_loan_quote)."
},
"expires_at": {
"type": "string",
"title": "Expires At",
"format": "date-time"
},
"order_type": {
"enum": [
"SingleNFTOrder",
"CollectionOrder",
"TraitOrder",
"MultipleTraitOrder",
"SetBidOrder",
"SellAndRepayOrder",
"BuyNowPayLaterOrder"
],
"type": "string",
"title": "Order Type",
"description": "What the order is placed on: one NFT (SingleNFTOrder, and the SellAndRepayOrder and BuyNowPayLaterOrder listings), every NFT of the collection (CollectionOrder), those with one or several traits (TraitOrder, MultipleTraitOrder) or a chosen set of them (SetBidOrder)."
},
"marketplace": {
"type": "string",
"title": "Marketplace",
"description": "Where the order or sale lives; GONDI for GONDI's own."
},
"maker_address": {
"type": "string",
"title": "Maker Address",
"description": "The seller of a listing, the bidder of a bid."
},
"currency_symbol": {
"type": "string",
"title": "Currency Symbol"
},
"buyer_fee_percent": {
"type": "number",
"title": "Buyer Fee Percent",
"description": "The GONDI fee the listing's buyer or the bid's bidder pays, as a percent of the price its maker set; already inside buyer_pays, never on top of it. 0 on every listing and every regular bid; only a stealth bid's publication fee (STEALTH_BID_PUBLICATION) and a BuyNowPayLaterOrder's fee fall on the bidder."
},
"gondi_fee_percent": {
"type": "number",
"title": "Gondi Fee Percent",
"description": "The SELLER's GONDI fee when the order executes, as a percent of its price, at GONDI's current rates. It comes out of the seller's proceeds and never adds to what the buyer or bidder pays (buyer_pays). It is the sale fee (SALE), a stealth order's (STEALTH_ASK, STEALTH_BID_EXECUTION) or a sell-and-repay listing's (SELL_AND_REPAY), and 0 on CryptoPunks. It is 0 for another marketplace's order: GONDI adds nothing, and that marketplace's own fee, such as OpenSea's, is inside the price and comes off the seller's proceeds. Creator royalties are not included; the order does not say which of its fees they are."
}
},
"description": "A listing or a bid: an order someone signed and that is still open.\nIts amount is its price, which is what the buyer or bidder pays."
},
"MarketplaceFees": {
"type": "object",
"title": "MarketplaceFees",
"required": [
"gondi_sale_fee_percent",
"gondi_buy_with_loan_fee_percent",
"gondi_sell_and_repay_fee_percent",
"opensea_sale_fee_percent"
],
"properties": {
"gondi_sale_fee_percent": {
"type": "number",
"title": "Gondi Sale Fee Percent",
"description": "Paid by the seller when a GONDI listing is bought or a GONDI bid is accepted; the buyer and the bidder pay no GONDI fee. 0 on CryptoPunks."
},
"opensea_sale_fee_percent": {
"type": "number",
"title": "Opensea Sale Fee Percent",
"description": "OpenSea's fee on a sale, paid by the seller, as of 2026-11; a collection can charge more on OpenSea."
},
"gondi_buy_with_loan_fee_percent": {
"type": "number",
"title": "Gondi Buy With Loan Fee Percent",
"description": "Added to the price, paid by the buyer, when a listing on GONDI or OpenSea is bought with a loan (buy now, pay later)."
},
"gondi_sell_and_repay_fee_percent": {
"type": "number",
"title": "Gondi Sell And Repay Fee Percent",
"description": "Paid by the seller of an NFT that is collateral in a loan and sold to repay it."
}
},
"description": "What selling or buying an NFT of the collection costs, as a percent of\nthe price, at GONDI's current rates."
}
},
"title": "CollectionMarket",
"required": [
"collection_slug",
"collection_name",
"chain",
"contract_address",
"gondi_url",
"floor_price",
"top_collection_bid",
"fees"
],
"properties": {
"fees": {
"$ref": "#/$defs/MarketplaceFees"
},
"chain": {
"type": "string",
"title": "Chain"
},
"gondi_url": {
"type": "string",
"title": "Gondi Url",
"description": "Its page on https://www.gondi.xyz."
},
"floor_price": {
"anyOf": [
{
"$ref": "#/$defs/Price"
},
{
"type": "null"
}
],
"description": "The lowest price an NFT of the collection is listed for; null when none is."
},
"collection_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Collection Name"
},
"collection_slug": {
"type": "string",
"title": "Collection Slug"
},
"contract_address": {
"type": "string",
"title": "Contract Address"
},
"top_collection_bid": {
"anyOf": [
{
"$ref": "#/$defs/MarketOrder"
},
{
"type": "null"
}
],
"description": "The highest open bid placed on the whole collection, which any of its NFTs can be sold into; null when there is none. A bid on one NFT or on a trait can be higher: get_nft_market answers the top bid on one NFT."
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false
}
}One NFT's prices on GONDI: what it is listed for, the top bid on it, its last sale, its estimated value and whether it is collateral in an open loan, and what the seller nets selling at the listing's price or into the top bid on GONDI against OpenSea. Answers "what's this NFT listed for", "what's the top bid on Y" and "what do I keep if I accept it". It takes a collection slug and a token id: when you have a name, call search_gondi first and take both from its result.
| Parameter | Type | Description |
|---|---|---|
| token_id * | string | The NFT's token id, as a decimal string. |
| collection_slug * | string | The GONDI slug of the NFT's collection. |
{
"name": "get_nft_market",
"title": "NFT market",
"description": "One NFT's prices on GONDI: what it is listed for, the top bid on\nit, its last sale, its estimated value and whether it is collateral in\nan open loan, and what the seller nets selling at the listing's price\nor into the top bid on GONDI against OpenSea. Answers \"what's this NFT\nlisted for\", \"what's the top bid on Y\" and \"what do I keep if I accept\nit\". It takes a collection slug and a token id: when you have a\nname, call search_gondi first and take both from its result.",
"inputSchema": {
"type": "object",
"title": "get_nft_marketArguments",
"required": [
"collection_slug",
"token_id"
],
"properties": {
"token_id": {
"type": "string",
"title": "Token Id",
"pattern": "^[0-9]+$",
"description": "The NFT's token id, as a decimal string."
},
"collection_slug": {
"type": "string",
"title": "Collection Slug",
"description": "The GONDI slug of the NFT's collection."
}
}
},
"outputSchema": {
"type": "object",
"$defs": {
"LastSale": {
"type": "object",
"title": "LastSale",
"required": [
"amount",
"currency_symbol",
"amount_usd",
"marketplace",
"sold_at",
"transaction_hash"
],
"properties": {
"amount": {
"type": "number",
"title": "Amount"
},
"sold_at": {
"type": "string",
"title": "Sold At",
"format": "date-time"
},
"amount_usd": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"title": "Amount Usd",
"description": "At the rate of the sale's time; null when none was recorded."
},
"marketplace": {
"type": "string",
"title": "Marketplace",
"description": "Where the order or sale lives; GONDI for GONDI's own."
},
"currency_symbol": {
"type": "string",
"title": "Currency Symbol"
},
"transaction_hash": {
"type": "string",
"title": "Transaction Hash"
}
}
},
"SellerNet": {
"type": "object",
"title": "SellerNet",
"required": [
"price",
"currency_symbol",
"net_on_gondi",
"net_on_opensea"
],
"properties": {
"price": {
"type": "number",
"title": "Price",
"description": "What the sale pays, in whole tokens."
},
"net_on_gondi": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"title": "Net On Gondi"
},
"net_on_opensea": {
"type": "number",
"title": "Net On Opensea"
},
"currency_symbol": {
"type": "string",
"title": "Currency Symbol"
}
},
"description": "What the seller receives from a sale at `price`, after the marketplace's\nfee and before any creator royalty, which comes off either way."
},
"ActiveLoan": {
"type": "object",
"title": "ActiveLoan",
"required": [
"status",
"borrower_address",
"principal_amount",
"currency_symbol",
"apr_percent",
"due_at"
],
"properties": {
"due_at": {
"type": "string",
"title": "Due At",
"format": "date-time"
},
"status": {
"type": "string",
"title": "Status",
"description": "loan_initiated while the loan runs; loan_sent_to_auction or loan_defaulted once it was not repaid in time."
},
"apr_percent": {
"type": "number",
"title": "Apr Percent"
},
"currency_symbol": {
"type": "string",
"title": "Currency Symbol"
},
"borrower_address": {
"type": "string",
"title": "Borrower Address"
},
"principal_amount": {
"type": "number",
"title": "Principal Amount"
}
}
},
"MarketOrder": {
"type": "object",
"title": "MarketOrder",
"required": [
"amount",
"currency_symbol",
"amount_usd",
"order_type",
"marketplace",
"gondi_fee_percent",
"buyer_fee_percent",
"buyer_pays",
"maker_address",
"expires_at"
],
"properties": {
"amount": {
"type": "number",
"title": "Amount"
},
"amount_usd": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"title": "Amount Usd",
"description": "At the current rate; null when the rate is unavailable."
},
"buyer_pays": {
"type": "number",
"title": "Buyer Pays",
"description": "What the listing's buyer or the bid's bidder pays in total, in currency_symbol: the listed price for a listing, the bid for a bid. GONDI's seller fee comes out of the seller's proceeds, not on top of this. Buying with a loan adds its own fee (get_buy_with_loan_quote)."
},
"expires_at": {
"type": "string",
"title": "Expires At",
"format": "date-time"
},
"order_type": {
"enum": [
"SingleNFTOrder",
"CollectionOrder",
"TraitOrder",
"MultipleTraitOrder",
"SetBidOrder",
"SellAndRepayOrder",
"BuyNowPayLaterOrder"
],
"type": "string",
"title": "Order Type",
"description": "What the order is placed on: one NFT (SingleNFTOrder, and the SellAndRepayOrder and BuyNowPayLaterOrder listings), every NFT of the collection (CollectionOrder), those with one or several traits (TraitOrder, MultipleTraitOrder) or a chosen set of them (SetBidOrder)."
},
"marketplace": {
"type": "string",
"title": "Marketplace",
"description": "Where the order or sale lives; GONDI for GONDI's own."
},
"maker_address": {
"type": "string",
"title": "Maker Address",
"description": "The seller of a listing, the bidder of a bid."
},
"currency_symbol": {
"type": "string",
"title": "Currency Symbol"
},
"buyer_fee_percent": {
"type": "number",
"title": "Buyer Fee Percent",
"description": "The GONDI fee the listing's buyer or the bid's bidder pays, as a percent of the price its maker set; already inside buyer_pays, never on top of it. 0 on every listing and every regular bid; only a stealth bid's publication fee (STEALTH_BID_PUBLICATION) and a BuyNowPayLaterOrder's fee fall on the bidder."
},
"gondi_fee_percent": {
"type": "number",
"title": "Gondi Fee Percent",
"description": "The SELLER's GONDI fee when the order executes, as a percent of its price, at GONDI's current rates. It comes out of the seller's proceeds and never adds to what the buyer or bidder pays (buyer_pays). It is the sale fee (SALE), a stealth order's (STEALTH_ASK, STEALTH_BID_EXECUTION) or a sell-and-repay listing's (SELL_AND_REPAY), and 0 on CryptoPunks. It is 0 for another marketplace's order: GONDI adds nothing, and that marketplace's own fee, such as OpenSea's, is inside the price and comes off the seller's proceeds. Creator royalties are not included; the order does not say which of its fees they are."
}
},
"description": "A listing or a bid: an order someone signed and that is still open.\nIts amount is its price, which is what the buyer or bidder pays."
},
"EstimatedValue": {
"type": "object",
"title": "EstimatedValue",
"required": [
"amount",
"currency_symbol",
"basis",
"confidence"
],
"properties": {
"basis": {
"type": "string",
"title": "Basis",
"description": "The market evidence the estimate rests on, such as FLOOR_BID_BLEND, TRAIT_FLOOR, SALE_HISTORY, ITEM_BID or LAST_SALE."
},
"amount": {
"type": "number",
"title": "Amount"
},
"confidence": {
"type": "number",
"title": "Confidence",
"description": "0 to 1; how much market evidence backs the estimate."
},
"currency_symbol": {
"type": "string",
"title": "Currency Symbol"
}
},
"description": "GONDI's estimate of what the NFT is worth, always in ETH."
}
},
"title": "NftMarket",
"required": [
"collection_slug",
"collection_name",
"chain",
"contract_address",
"name",
"token_id",
"gondi_url",
"listing",
"top_bid",
"last_sale",
"estimated_value",
"active_loan",
"listing_seller_net",
"top_bid_seller_net"
],
"properties": {
"name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Name"
},
"chain": {
"type": "string",
"title": "Chain"
},
"listing": {
"anyOf": [
{
"$ref": "#/$defs/MarketOrder"
},
{
"type": "null"
}
],
"description": "What the NFT is listed for: its cheapest open public listing; null when it is not for sale."
},
"top_bid": {
"anyOf": [
{
"$ref": "#/$defs/MarketOrder"
},
{
"type": "null"
}
],
"description": "The highest open bid the NFT can be sold into, whether placed on it or on its collection, its traits or a set it belongs to; null when there is none."
},
"token_id": {
"type": "string",
"title": "Token Id"
},
"gondi_url": {
"type": "string",
"title": "Gondi Url",
"description": "Its page on https://www.gondi.xyz."
},
"last_sale": {
"anyOf": [
{
"$ref": "#/$defs/LastSale"
},
{
"type": "null"
}
],
"description": "Null when it never sold."
},
"active_loan": {
"anyOf": [
{
"$ref": "#/$defs/ActiveLoan"
},
{
"type": "null"
}
],
"description": "The open loan the NFT is collateral in; null when it is not locked in one."
},
"collection_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Collection Name"
},
"collection_slug": {
"type": "string",
"title": "Collection Slug"
},
"estimated_value": {
"anyOf": [
{
"$ref": "#/$defs/EstimatedValue"
},
{
"type": "null"
}
],
"description": "Null when nothing in the market prices the NFT."
},
"contract_address": {
"type": "string",
"title": "Contract Address"
},
"listing_seller_net": {
"anyOf": [
{
"$ref": "#/$defs/SellerNet"
},
{
"type": "null"
}
],
"description": "What the seller nets selling at the listing's price as a GONDI listing, after the fee its seller pays (gondi_fee_percent, such as a sell-and-repay listing's), against as an OpenSea listing; null when it is not for sale."
},
"top_bid_seller_net": {
"anyOf": [
{
"$ref": "#/$defs/SellerNet"
},
{
"type": "null"
}
],
"description": "What the seller nets accepting the top bid through GONDI, against a bid of the same amount on OpenSea. net_on_gondi takes off GONDI's fee from a GONDI bid and OpenSea's from an OpenSea bid, and is null for another marketplace's bid, whose fee is unknown here; null when there is no bid."
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false
}
}The cheapest NFTs for sale on GONDI from one collection or by one artist, cheapest first: each with its listing price in its currency and in USD, the marketplace it is listed on and gondi_url, the page where the user buys it. Answers "what's the cheapest NFT from this collection" and "what's the cheapest NFT from this artist". Pass exactly one of collection_slug and artist_slug: when you have a name, call search_gondi first and take the slug from its result. A collection's list counts its wrapped versions and the vaults holding its NFTs, as its GONDI page does; each row names the collection it is in.
| Parameter | Type | Description |
|---|---|---|
| limit | integer | NFTs to answer, 1 to 25. |
| artist_slug | any | The GONDI slug of the artist to list. |
| collection_slug | any | The GONDI slug of the collection to list. |
{
"name": "list_cheapest_for_sale",
"title": "Cheapest NFTs for sale",
"description": "The cheapest NFTs for sale on GONDI from one collection or by one\nartist, cheapest first: each with its listing price in its currency\nand in USD, the marketplace it is listed on and gondi_url, the page\nwhere the user buys it. Answers \"what's the cheapest NFT from this\ncollection\" and \"what's the cheapest NFT from this artist\". Pass\nexactly one of collection_slug and artist_slug: when you have a name,\ncall search_gondi first and take the slug from its result. A\ncollection's list counts its wrapped versions and the vaults holding\nits NFTs, as its GONDI page does; each row names the collection it is\nin.",
"inputSchema": {
"type": "object",
"title": "list_cheapest_for_saleArguments",
"properties": {
"limit": {
"type": "integer",
"title": "Limit",
"default": 10,
"maximum": 25,
"minimum": 1,
"description": "NFTs to answer, 1 to 25."
},
"artist_slug": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Artist Slug",
"default": null,
"description": "The GONDI slug of the artist to list."
},
"collection_slug": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Collection Slug",
"default": null,
"description": "The GONDI slug of the collection to list."
}
}
},
"outputSchema": {
"type": "object",
"$defs": {
"NftForSale": {
"type": "object",
"title": "NftForSale",
"required": [
"collection_slug",
"collection_name",
"chain",
"contract_address",
"name",
"token_id",
"gondi_url",
"listing"
],
"properties": {
"name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Name"
},
"chain": {
"type": "string",
"title": "Chain"
},
"listing": {
"$ref": "#/$defs/MarketOrder",
"description": "Its cheapest open public listing."
},
"token_id": {
"type": "string",
"title": "Token Id"
},
"gondi_url": {
"type": "string",
"title": "Gondi Url",
"description": "Its page on https://www.gondi.xyz."
},
"collection_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Collection Name"
},
"collection_slug": {
"type": "string",
"title": "Collection Slug"
},
"contract_address": {
"type": "string",
"title": "Contract Address"
}
}
},
"MarketOrder": {
"type": "object",
"title": "MarketOrder",
"required": [
"amount",
"currency_symbol",
"amount_usd",
"order_type",
"marketplace",
"gondi_fee_percent",
"buyer_fee_percent",
"buyer_pays",
"maker_address",
"expires_at"
],
"properties": {
"amount": {
"type": "number",
"title": "Amount"
},
"amount_usd": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"title": "Amount Usd",
"description": "At the current rate; null when the rate is unavailable."
},
"buyer_pays": {
"type": "number",
"title": "Buyer Pays",
"description": "What the listing's buyer or the bid's bidder pays in total, in currency_symbol: the listed price for a listing, the bid for a bid. GONDI's seller fee comes out of the seller's proceeds, not on top of this. Buying with a loan adds its own fee (get_buy_with_loan_quote)."
},
"expires_at": {
"type": "string",
"title": "Expires At",
"format": "date-time"
},
"order_type": {
"enum": [
"SingleNFTOrder",
"CollectionOrder",
"TraitOrder",
"MultipleTraitOrder",
"SetBidOrder",
"SellAndRepayOrder",
"BuyNowPayLaterOrder"
],
"type": "string",
"title": "Order Type",
"description": "What the order is placed on: one NFT (SingleNFTOrder, and the SellAndRepayOrder and BuyNowPayLaterOrder listings), every NFT of the collection (CollectionOrder), those with one or several traits (TraitOrder, MultipleTraitOrder) or a chosen set of them (SetBidOrder)."
},
"marketplace": {
"type": "string",
"title": "Marketplace",
"description": "Where the order or sale lives; GONDI for GONDI's own."
},
"maker_address": {
"type": "string",
"title": "Maker Address",
"description": "The seller of a listing, the bidder of a bid."
},
"currency_symbol": {
"type": "string",
"title": "Currency Symbol"
},
"buyer_fee_percent": {
"type": "number",
"title": "Buyer Fee Percent",
"description": "The GONDI fee the listing's buyer or the bid's bidder pays, as a percent of the price its maker set; already inside buyer_pays, never on top of it. 0 on every listing and every regular bid; only a stealth bid's publication fee (STEALTH_BID_PUBLICATION) and a BuyNowPayLaterOrder's fee fall on the bidder."
},
"gondi_fee_percent": {
"type": "number",
"title": "Gondi Fee Percent",
"description": "The SELLER's GONDI fee when the order executes, as a percent of its price, at GONDI's current rates. It comes out of the seller's proceeds and never adds to what the buyer or bidder pays (buyer_pays). It is the sale fee (SALE), a stealth order's (STEALTH_ASK, STEALTH_BID_EXECUTION) or a sell-and-repay listing's (SELL_AND_REPAY), and 0 on CryptoPunks. It is 0 for another marketplace's order: GONDI adds nothing, and that marketplace's own fee, such as OpenSea's, is inside the price and comes off the seller's proceeds. Creator royalties are not included; the order does not say which of its fees they are."
}
},
"description": "A listing or a bid: an order someone signed and that is still open.\nIts amount is its price, which is what the buyer or bidder pays."
}
},
"title": "CheapestForSale",
"required": [
"nfts"
],
"properties": {
"nfts": {
"type": "array",
"items": {
"$ref": "#/$defs/NftForSale"
},
"title": "Nfts",
"description": "Cheapest first, by what each price is worth in ETH; empty when nothing is for sale."
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false
}
}The latest sales of a collection, or of one NFT when token_id is set, newest first: each with its price in its currency and in USD at the time of the sale, the marketplace, when it sold, the NFT, the seller and buyer, the transaction hash and gondi_url, the NFT's page. A summary counts the sales of the period and gives the min, median and max USD price of those listed. Answers "what did X sell for recently?" and "what did this NFT last sell for?". A collection's sales include its wrapped versions', as its GONDI page does. It takes a collection slug and a token id: when you have a name, call search_gondi first and take them from its result.
| Parameter | Type | Description |
|---|---|---|
| limit | integer | Sales to answer, 1 to 20. |
| period | any | Only the sales of this last stretch; every sale if unset. |
| token_id | any | Only this NFT's sales: its token id, as a decimal string. |
| collection_slug * | string | The GONDI slug of the collection. |
{
"name": "list_recent_sales",
"title": "Recent sales",
"description": "The latest sales of a collection, or of one NFT when token_id is\nset, newest first: each with its price in its currency and in USD at\nthe time of the sale, the marketplace, when it sold, the NFT, the\nseller and buyer, the transaction hash and gondi_url, the NFT's page.\nA summary counts the sales of the period and gives the min, median and\nmax USD price of those listed. Answers \"what did X sell for recently?\"\nand \"what did this NFT last sell for?\". A collection's sales include\nits wrapped versions', as its GONDI page does. It takes a collection\nslug and a token id: when you have a name, call search_gondi first and\ntake them from its result.",
"inputSchema": {
"type": "object",
"title": "list_recent_salesArguments",
"required": [
"collection_slug"
],
"properties": {
"limit": {
"type": "integer",
"title": "Limit",
"default": 10,
"maximum": 20,
"minimum": 1,
"description": "Sales to answer, 1 to 20."
},
"period": {
"anyOf": [
{
"enum": [
"HOURS_24",
"DAYS_7",
"DAYS_30",
"DAYS_90",
"DAYS_365"
],
"type": "string"
},
{
"type": "null"
}
],
"title": "Period",
"default": null,
"description": "Only the sales of this last stretch; every sale if unset."
},
"token_id": {
"anyOf": [
{
"type": "string",
"pattern": "^[0-9]+$"
},
{
"type": "null"
}
],
"title": "Token Id",
"default": null,
"description": "Only this NFT's sales: its token id, as a decimal string."
},
"collection_slug": {
"type": "string",
"title": "Collection Slug",
"description": "The GONDI slug of the collection."
}
}
},
"outputSchema": {
"type": "object",
"$defs": {
"RecentSale": {
"type": "object",
"title": "RecentSale",
"required": [
"amount",
"currency_symbol",
"amount_usd",
"marketplace",
"sold_at",
"transaction_hash",
"name",
"token_id",
"collection_slug",
"seller_address",
"buyer_address",
"gondi_url"
],
"properties": {
"name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Name",
"description": "The NFT's name."
},
"amount": {
"type": "number",
"title": "Amount"
},
"sold_at": {
"type": "string",
"title": "Sold At",
"format": "date-time"
},
"token_id": {
"type": "string",
"title": "Token Id"
},
"gondi_url": {
"type": "string",
"title": "Gondi Url",
"description": "Its page on https://www.gondi.xyz."
},
"amount_usd": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"title": "Amount Usd",
"description": "At the rate of the sale's time; null when none was recorded."
},
"marketplace": {
"type": "string",
"title": "Marketplace",
"description": "Where the order or sale lives; GONDI for GONDI's own."
},
"buyer_address": {
"type": "string",
"title": "Buyer Address"
},
"seller_address": {
"type": "string",
"title": "Seller Address"
},
"collection_slug": {
"type": "string",
"title": "Collection Slug",
"description": "The collection the NFT is in, which can be a wrapper of the one asked for."
},
"currency_symbol": {
"type": "string",
"title": "Currency Symbol"
},
"transaction_hash": {
"type": "string",
"title": "Transaction Hash"
}
}
},
"SalesSummary": {
"type": "object",
"title": "SalesSummary",
"required": [
"sale_count",
"listed_sale_count",
"min_usd",
"median_usd",
"max_usd"
],
"properties": {
"max_usd": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"title": "Max Usd"
},
"min_usd": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"title": "Min Usd",
"description": "Null when no listed sale has one."
},
"median_usd": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"title": "Median Usd"
},
"sale_count": {
"type": "integer",
"title": "Sale Count"
},
"listed_sale_count": {
"type": "integer",
"title": "Listed Sale Count"
}
},
"description": "The count covers every sale of the period; the prices only the sales\nlisted, which are all of them when `sale_count` equals\n`listed_sale_count`, else the latest."
}
},
"title": "RecentSales",
"required": [
"sales",
"summary"
],
"properties": {
"sales": {
"type": "array",
"items": {
"$ref": "#/$defs/RecentSale"
},
"title": "Sales",
"description": "Newest first; empty when nothing sold in the period."
},
"summary": {
"$ref": "#/$defs/SalesSummary"
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false
}
}A collection's floor price over time in ETH, one point a day (at most 31, evenly spaced over a long period), with the floor at the start and now and the change between them in percent. Answers "how has the floor of X moved?". It takes a slug: when you have a name, call search_gondi first and take the slug from its result.
| Parameter | Type | Description |
|---|---|---|
| period | string | one of ["DAYS_7","DAYS_30","DAYS_90","DAYS_180","DAYS_365"] |
| collection_slug * | string | The GONDI slug of the collection. |
{
"name": "get_floor_price_history",
"title": "Floor price history",
"description": "A collection's floor price over time in ETH, one point a day (at\nmost 31, evenly spaced over a long period), with the floor at the\nstart and now and the change between them in percent. Answers \"how\nhas the floor of X moved?\". It takes a slug: when you have a name,\ncall search_gondi first and take the slug from its result.",
"inputSchema": {
"type": "object",
"title": "get_floor_price_historyArguments",
"required": [
"collection_slug"
],
"properties": {
"period": {
"enum": [
"DAYS_7",
"DAYS_30",
"DAYS_90",
"DAYS_180",
"DAYS_365"
],
"type": "string",
"title": "Period",
"default": "DAYS_30"
},
"collection_slug": {
"type": "string",
"title": "Collection Slug",
"description": "The GONDI slug of the collection."
}
}
},
"outputSchema": {
"type": "object",
"$defs": {
"FloorPricePoint": {
"type": "object",
"title": "FloorPricePoint",
"required": [
"day",
"floor_price"
],
"properties": {
"day": {
"type": "string",
"title": "Day",
"format": "date-time",
"description": "The UTC day the floor was last seen on."
},
"floor_price": {
"type": "number",
"title": "Floor Price"
}
}
}
},
"title": "FloorPriceHistory",
"required": [
"collection_slug",
"collection_name",
"chain",
"contract_address",
"gondi_url",
"currency_symbol",
"period",
"start_floor_price",
"end_floor_price",
"change_percent",
"points"
],
"properties": {
"chain": {
"type": "string",
"title": "Chain"
},
"period": {
"enum": [
"DAYS_7",
"DAYS_30",
"DAYS_90",
"DAYS_180",
"DAYS_365"
],
"type": "string",
"title": "Period"
},
"points": {
"type": "array",
"items": {
"$ref": "#/$defs/FloorPricePoint"
},
"title": "Points",
"description": "Oldest first, one per day, thinned to at most 31 evenly spaced days that keep the latest."
},
"gondi_url": {
"type": "string",
"title": "Gondi Url",
"description": "Its page on https://www.gondi.xyz."
},
"change_percent": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"title": "Change Percent",
"description": "From the start floor to the end one; null without both."
},
"collection_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Collection Name"
},
"collection_slug": {
"type": "string",
"title": "Collection Slug"
},
"currency_symbol": {
"type": "string",
"title": "Currency Symbol"
},
"end_floor_price": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"title": "End Floor Price",
"description": "The floor now."
},
"contract_address": {
"type": "string",
"title": "Contract Address"
},
"start_floor_price": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"title": "Start Floor Price",
"description": "The floor when the period began; null when none was seen."
}
},
"description": "Floors in ETH at each sample's own rate, the lowest across the\ncollection and its wrappers."
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false
}
}The top and trending NFT collections on GONDI right now, ranked as GONDI's collections table ranks them: each with its floor price in its currency and in USD, the floor's change, the volume traded and the number of sales over the period, and gondi_url, its page. Answers "what are the top NFT collections", "what's trending" and "which collections sold the most this week". A collection and its wrappers (CryptoPunks and its wrapped forms) are one row, under the collection they wrap; user vaults, hidden collections and shared contracts that mint many artists' works (SuperRare, Foundation) are left out.
| Parameter | Type | Description |
|---|---|---|
| chain | any | Only this chain; every chain if unset. |
| limit | integer | Collections to answer, 1 to 25. |
| period | string | The window volume, sales and floor change cover. |
| sort_by | string | VOLUME and SALES rank by the period's traded volume and sale count. TRENDING, GONDI's Trending, ranks by how far the last day's volume runs above the week's daily average, whatever the period. MARKET_CAP, GONDI's Top, ranks by floor times supply. FLOOR_CHANGE ranks by the period's floor change. High… |
{
"name": "list_top_collections",
"title": "Top collections",
"description": "The top and trending NFT collections on GONDI right now, ranked as\nGONDI's collections table ranks them: each with its floor price in its\ncurrency and in USD, the floor's change, the volume traded and the\nnumber of sales over the period, and gondi_url, its page. Answers \"what\nare the top NFT collections\", \"what's trending\" and \"which collections\nsold the most this week\". A collection and its wrappers (CryptoPunks and\nits wrapped forms) are one row, under the collection they wrap; user\nvaults, hidden collections and shared contracts that mint many artists'\nworks (SuperRare, Foundation) are left out.",
"inputSchema": {
"type": "object",
"$defs": {
"BlockchainEnum": {
"enum": [
"ethereum",
"hyperliquid",
"robinhood"
],
"type": "string",
"title": "BlockchainEnum"
}
},
"title": "list_top_collectionsArguments",
"properties": {
"chain": {
"anyOf": [
{
"$ref": "#/$defs/BlockchainEnum"
},
{
"type": "null"
}
],
"default": null,
"description": "Only this chain; every chain if unset."
},
"limit": {
"type": "integer",
"title": "Limit",
"default": 10,
"maximum": 25,
"minimum": 1,
"description": "Collections to answer, 1 to 25."
},
"period": {
"enum": [
"1D",
"7D",
"30D"
],
"type": "string",
"title": "Period",
"default": "7D",
"description": "The window volume, sales and floor change cover."
},
"sort_by": {
"enum": [
"VOLUME",
"SALES",
"TRENDING",
"MARKET_CAP",
"FLOOR_CHANGE"
],
"type": "string",
"title": "Sort By",
"default": "VOLUME",
"description": "VOLUME and SALES rank by the period's traded volume and sale count. TRENDING, GONDI's Trending, ranks by how far the last day's volume runs above the week's daily average, whatever the period. MARKET_CAP, GONDI's Top, ranks by floor times supply. FLOOR_CHANGE ranks by the period's floor change. Highest first."
}
}
},
"outputSchema": {
"type": "object",
"$defs": {
"Price": {
"type": "object",
"title": "Price",
"required": [
"amount",
"currency_symbol",
"amount_usd"
],
"properties": {
"amount": {
"type": "number",
"title": "Amount"
},
"amount_usd": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"title": "Amount Usd",
"description": "At the current rate; null when the rate is unavailable."
},
"currency_symbol": {
"type": "string",
"title": "Currency Symbol"
}
}
},
"TopCollection": {
"type": "object",
"title": "TopCollection",
"required": [
"collection_slug",
"collection_name",
"chain",
"contract_address",
"gondi_url",
"floor_price",
"floor_change_percent",
"volume",
"sales"
],
"properties": {
"chain": {
"type": "string",
"title": "Chain"
},
"sales": {
"type": "integer",
"title": "Sales",
"description": "How many of its NFTs sold over the period."
},
"volume": {
"$ref": "#/$defs/Price",
"description": "What its NFTs sold for over the period, in the chain's native currency."
},
"gondi_url": {
"type": "string",
"title": "Gondi Url",
"description": "Its page on https://www.gondi.xyz."
},
"floor_price": {
"anyOf": [
{
"$ref": "#/$defs/Price"
},
{
"type": "null"
}
],
"description": "The lowest price an NFT of the collection is listed for; null when none is."
},
"collection_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Collection Name"
},
"collection_slug": {
"type": "string",
"title": "Collection Slug"
},
"contract_address": {
"type": "string",
"title": "Contract Address"
},
"floor_change_percent": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"title": "Floor Change Percent",
"description": "How far the floor moved over the period, in ETH terms; null without a floor now or at the period's start."
}
}
}
},
"title": "TopCollections",
"required": [
"collections"
],
"properties": {
"collections": {
"type": "array",
"items": {
"$ref": "#/$defs/TopCollection"
},
"title": "Collections"
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false
}
}Snapshot of the whole GONDI lending market in USD: open principal, interest paid to and accruing for lenders, and per rolling window the principal originated and the effective APR quartiles of new loans.
No parameters.
{
"name": "get_lending_market_overview",
"title": "Lending market overview",
"description": "Snapshot of the whole GONDI lending market in USD: open principal,\ninterest paid to and accruing for lenders, and per rolling window the\nprincipal originated and the effective APR quartiles of new loans.",
"inputSchema": {
"type": "object",
"title": "get_lending_market_overviewArguments",
"properties": {}
},
"outputSchema": {
"type": "object",
"$defs": {
"MarketPeriodActivity": {
"type": "object",
"title": "MarketPeriodActivity",
"required": [
"period",
"originated_usd",
"originated_loan_count",
"lender_interest_accrued_usd",
"median_effective_apr_percent",
"effective_apr_p25_percent",
"effective_apr_p75_percent"
],
"properties": {
"period": {
"enum": [
"HOURS_24",
"DAYS_7",
"DAYS_30"
],
"type": "string",
"title": "Period"
},
"originated_usd": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"title": "Originated Usd"
},
"originated_loan_count": {
"type": "integer",
"title": "Originated Loan Count"
},
"effective_apr_p25_percent": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"title": "Effective Apr P25 Percent"
},
"effective_apr_p75_percent": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"title": "Effective Apr P75 Percent"
},
"lender_interest_accrued_usd": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"title": "Lender Interest Accrued Usd"
},
"median_effective_apr_percent": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"title": "Median Effective Apr Percent",
"description": "Effective APR counts the origination fee as interest."
}
}
}
},
"title": "LendingMarketOverview",
"required": [
"as_of",
"outstanding_principal_usd",
"interest_paid_30d_usd",
"interest_accrual_per_day_usd",
"new_loans_24h",
"periods"
],
"properties": {
"as_of": {
"type": "string",
"title": "As Of",
"format": "date-time"
},
"periods": {
"type": "array",
"items": {
"$ref": "#/$defs/MarketPeriodActivity"
},
"title": "Periods"
},
"new_loans_24h": {
"type": "integer",
"title": "New Loans 24H"
},
"interest_paid_30d_usd": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"title": "Interest Paid 30D Usd"
},
"outstanding_principal_usd": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"title": "Outstanding Principal Usd"
},
"interest_accrual_per_day_usd": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"title": "Interest Accrual Per Day Usd",
"description": "A projection at current terms, not realised interest."
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false
}
}Where and how GONDI lends: per chain the MultiSourceLoan contract to approve and the principal currencies with their decimals, plus the loan offer duration rule (any whole multiple of 30 days up to a maximum, or one of a few short durations) and the protocol fee on interest.
No parameters.
{
"name": "get_supported_markets",
"title": "Supported markets",
"description": "Where and how GONDI lends: per chain the MultiSourceLoan contract to\napprove and the principal currencies with their decimals, plus the\nloan offer duration rule (any whole multiple of 30 days up to a maximum,\nor one of a few short durations) and the protocol fee on interest.",
"inputSchema": {
"type": "object",
"title": "get_supported_marketsArguments",
"properties": {}
},
"outputSchema": {
"type": "object",
"$defs": {
"OfferDurations": {
"type": "object",
"title": "OfferDurations",
"required": [
"multiple_of_days",
"short_days",
"max_days",
"rule"
],
"properties": {
"rule": {
"type": "string",
"title": "Rule"
},
"max_days": {
"type": "integer",
"title": "Max Days",
"description": "No offer may last longer."
},
"short_days": {
"type": "array",
"items": {
"type": "integer"
},
"title": "Short Days",
"description": "The only durations accepted that are not such a multiple."
},
"multiple_of_days": {
"type": "integer",
"title": "Multiple Of Days",
"description": "Any whole multiple of this many days is accepted."
}
}
},
"SupportedMarket": {
"type": "object",
"title": "SupportedMarket",
"required": [
"chain",
"chain_id",
"loan_contract_address",
"loan_contract_version",
"principal_currencies"
],
"properties": {
"chain": {
"type": "string",
"title": "Chain"
},
"chain_id": {
"type": "integer",
"title": "Chain Id"
},
"principal_currencies": {
"type": "array",
"items": {
"$ref": "#/$defs/PrincipalCurrency"
},
"title": "Principal Currencies"
},
"loan_contract_address": {
"type": "string",
"title": "Loan Contract Address",
"description": "The MultiSourceLoan contract new offers are signed for, which a lender approves to spend the principal currency."
},
"loan_contract_version": {
"type": "string",
"title": "Loan Contract Version"
}
}
},
"PrincipalCurrency": {
"type": "object",
"title": "PrincipalCurrency",
"required": [
"symbol",
"address",
"decimals"
],
"properties": {
"symbol": {
"type": "string",
"title": "Symbol"
},
"address": {
"type": "string",
"title": "Address"
},
"decimals": {
"type": "integer",
"title": "Decimals"
}
}
}
},
"title": "SupportedMarkets",
"required": [
"markets",
"offer_durations",
"protocol_fee_percent_of_interest"
],
"properties": {
"markets": {
"type": "array",
"items": {
"$ref": "#/$defs/SupportedMarket"
},
"title": "Markets"
},
"offer_durations": {
"$ref": "#/$defs/OfferDurations",
"description": "The durations, in days, the API accepts for a loan offer."
},
"protocol_fee_percent_of_interest": {
"type": "number",
"title": "Protocol Fee Percent Of Interest",
"description": "As the API assumes it; the contract's getProtocolFee() is authoritative."
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false
}
}How lending on GONDI works, step by step, with its risks and the units these tools answer in. Read it before advising a lender.
No parameters.
{
"name": "get_lending_guide",
"title": "Lending guide",
"description": "How lending on GONDI works, step by step, with its risks and the\nunits these tools answer in. Read it before advising a lender.",
"inputSchema": {
"type": "object",
"title": "get_lending_guideArguments",
"properties": {}
},
"outputSchema": {
"type": "object",
"title": "get_lending_guideOutput",
"required": [
"result"
],
"properties": {
"result": {
"type": "string",
"title": "Result"
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false
}
}Collections borrowers take loans against, ranked: open loans and principal, repayment rate, floor price and how many offers lenders already hold, and gondi_url, its collection page. A collection and its wrappers (CryptoPunks and its wrapped forms) are one row, under the collection they wrap. Start here to find where to lend.
| Parameter | Type | Description |
|---|---|---|
| chain | any | Only this chain; every chain if unset. |
| limit | integer | Rows to answer, 1 to 25. |
| sort_by | string | Ranks collections, highest first. |
| currency | any | Count offers in this principal currency only; implies its chain. Ranking and outstanding principal cover every currency. |
{
"name": "list_lending_opportunities",
"title": "Lending opportunities",
"description": "Collections borrowers take loans against, ranked: open loans and\nprincipal, repayment rate, floor price and how many offers lenders\nalready hold, and gondi_url, its collection page. A collection and its\nwrappers (CryptoPunks and its wrapped forms) are one row, under the\ncollection they wrap. Start here to find where to lend.",
"inputSchema": {
"type": "object",
"$defs": {
"BlockchainEnum": {
"enum": [
"ethereum",
"hyperliquid",
"robinhood"
],
"type": "string",
"title": "BlockchainEnum"
}
},
"title": "list_lending_opportunitiesArguments",
"properties": {
"chain": {
"anyOf": [
{
"$ref": "#/$defs/BlockchainEnum"
},
{
"type": "null"
}
],
"default": null,
"description": "Only this chain; every chain if unset."
},
"limit": {
"type": "integer",
"title": "Limit",
"default": 10,
"maximum": 25,
"minimum": 1,
"description": "Rows to answer, 1 to 25."
},
"sort_by": {
"enum": [
"TOTAL_OUTSTANDING_PRINCIPAL",
"LOAN_COUNT",
"OFFER_COUNT",
"TOTAL_LOAN_VOLUME"
],
"type": "string",
"title": "Sort By",
"default": "TOTAL_OUTSTANDING_PRINCIPAL",
"description": "Ranks collections, highest first."
},
"currency": {
"anyOf": [
{
"enum": [
"WETH",
"USDC",
"WHYPE",
"HUSDC",
"RWETH",
"USDG"
],
"type": "string"
},
{
"type": "null"
}
],
"title": "Currency",
"default": null,
"description": "Count offers in this principal currency only; implies its chain. Ranking and outstanding principal cover every currency."
}
}
},
"outputSchema": {
"type": "object",
"$defs": {
"TokenAmount": {
"type": "object",
"title": "TokenAmount",
"required": [
"amount",
"currency_symbol"
],
"properties": {
"amount": {
"type": "number",
"title": "Amount"
},
"currency_symbol": {
"type": "string",
"title": "Currency Symbol"
}
}
},
"LendingOpportunity": {
"type": "object",
"title": "LendingOpportunity",
"required": [
"collection_slug",
"collection_name",
"chain",
"contract_address",
"floor_price",
"outstanding_loan_count",
"outstanding_principal_usd",
"repayment_rate_percent",
"gondi_url",
"offer_count"
],
"properties": {
"chain": {
"type": "string",
"title": "Chain"
},
"gondi_url": {
"type": "string",
"title": "Gondi Url",
"description": "Its page on https://www.gondi.xyz."
},
"floor_price": {
"anyOf": [
{
"$ref": "#/$defs/TokenAmount"
},
{
"type": "null"
}
]
},
"offer_count": {
"type": "integer",
"title": "Offer Count",
"description": "Loan offers held on the collection or its NFTs in the requested principal currencies."
},
"collection_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Collection Name"
},
"collection_slug": {
"type": "string",
"title": "Collection Slug"
},
"contract_address": {
"type": "string",
"title": "Contract Address"
},
"outstanding_loan_count": {
"type": "integer",
"title": "Outstanding Loan Count"
},
"repayment_rate_percent": {
"type": "number",
"title": "Repayment Rate Percent",
"description": "Share of closed loans that were repaid; also 0 while no loan on the collection has closed yet."
},
"outstanding_principal_usd": {
"type": "number",
"title": "Outstanding Principal Usd",
"description": "Principal of the open loans in every currency, valued in USD; a currency without a USD rate adds nothing."
}
}
}
},
"title": "LendingOpportunities",
"required": [
"opportunities"
],
"properties": {
"opportunities": {
"type": "array",
"items": {
"$ref": "#/$defs/LendingOpportunity"
},
"title": "Opportunities"
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false
}
}One collection's lending picture: floor price, open loans, repayment rate, how much is lent against it (outstanding principal in one currency and in USD across all, and principal lent all time and over 30 days), and the principal, APR and remaining-time ranges of its open loans in that currency. It counts the collection's wrap family together: the naked collection and the collections that wrap its NFTs one for one (cryptopunks with wrapped-cryptopunks and cryptopunks-721), whichever of them the slug names. Any other collection is not included, even one with a similar name: CryptoPunks V1 (wrapped), official-v1-punks, has its own stats under its own slug. Use it to answer how much has been lent against a collection, or to price an offer on it.
| Parameter | Type | Description |
|---|---|---|
| slug * | string | The collection's GONDI slug. |
| currency | any | The chain's wrapped native token if unset. |
{
"name": "get_collection_lending_stats",
"title": "Collection lending stats",
"description": "One collection's lending picture: floor price, open loans, repayment\nrate, how much is lent against it (outstanding principal in one currency\nand in USD across all, and principal lent all time and over 30 days),\nand the principal, APR and remaining-time ranges of its open loans in\nthat currency. It counts the collection's wrap family together: the\nnaked collection and the collections that wrap its NFTs one for one\n(cryptopunks with wrapped-cryptopunks and cryptopunks-721), whichever\nof them the slug names. Any other collection is not included, even one\nwith a similar name: CryptoPunks V1 (wrapped), official-v1-punks, has\nits own stats under its own slug. Use it to answer how much has been\nlent against a collection, or to price an offer on it.",
"inputSchema": {
"type": "object",
"title": "get_collection_lending_statsArguments",
"required": [
"slug"
],
"properties": {
"slug": {
"type": "string",
"title": "Slug",
"description": "The collection's GONDI slug."
},
"currency": {
"anyOf": [
{
"enum": [
"WETH",
"USDC",
"WHYPE",
"HUSDC",
"RWETH",
"USDG"
],
"type": "string"
},
{
"type": "null"
}
],
"title": "Currency",
"default": null,
"description": "The chain's wrapped native token if unset."
}
}
},
"outputSchema": {
"type": "object",
"$defs": {
"TokenAmount": {
"type": "object",
"title": "TokenAmount",
"required": [
"amount",
"currency_symbol"
],
"properties": {
"amount": {
"type": "number",
"title": "Amount"
},
"currency_symbol": {
"type": "string",
"title": "Currency Symbol"
}
}
}
},
"title": "CollectionLendingStats",
"required": [
"collection_slug",
"collection_name",
"chain",
"contract_address",
"floor_price",
"outstanding_loan_count",
"outstanding_principal_usd",
"repayment_rate_percent",
"gondi_url",
"currency_symbol",
"outstanding_principal",
"principal_lent_all_time",
"principal_lent_30d",
"min_principal",
"max_principal",
"min_apr_percent",
"max_apr_percent",
"min_remaining_days",
"max_remaining_days"
],
"properties": {
"chain": {
"type": "string",
"title": "Chain"
},
"gondi_url": {
"type": "string",
"title": "Gondi Url",
"description": "Its page on https://www.gondi.xyz."
},
"floor_price": {
"anyOf": [
{
"$ref": "#/$defs/TokenAmount"
},
{
"type": "null"
}
]
},
"max_principal": {
"type": "number",
"title": "Max Principal"
},
"min_principal": {
"type": "number",
"title": "Min Principal"
},
"collection_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Collection Name"
},
"collection_slug": {
"type": "string",
"title": "Collection Slug"
},
"currency_symbol": {
"type": "string",
"title": "Currency Symbol"
},
"max_apr_percent": {
"type": "number",
"title": "Max Apr Percent"
},
"min_apr_percent": {
"type": "number",
"title": "Min Apr Percent"
},
"contract_address": {
"type": "string",
"title": "Contract Address"
},
"max_remaining_days": {
"type": "number",
"title": "Max Remaining Days"
},
"min_remaining_days": {
"type": "number",
"title": "Min Remaining Days"
},
"principal_lent_30d": {
"type": "number",
"title": "Principal Lent 30D",
"description": "Principal lent against the collection in the last 30 days: every new loan and every refinance adds its principal, so a refinanced loan counts again."
},
"outstanding_principal": {
"type": "number",
"title": "Outstanding Principal",
"description": "Principal of the open loans: what lenders have lent against the collection and not been repaid yet."
},
"outstanding_loan_count": {
"type": "integer",
"title": "Outstanding Loan Count"
},
"repayment_rate_percent": {
"type": "number",
"title": "Repayment Rate Percent",
"description": "Share of closed loans that were repaid; also 0 while no loan on the collection has closed yet."
},
"principal_lent_all_time": {
"type": "number",
"title": "Principal Lent All Time",
"description": "Principal lent against the collection since GONDI began: every new loan and every refinance adds its principal, so a refinanced loan counts again."
},
"outstanding_principal_usd": {
"type": "number",
"title": "Outstanding Principal Usd",
"description": "Principal of the open loans in every currency, valued in USD; a currency without a USD rate adds nothing."
}
},
"description": "The principal and ranges cover the collection's loans in `currency_symbol`,\n0 when it has none; the loan count, repayment rate and USD principal cover\nevery currency."
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false
}
}Active, public loan offers lenders have signed: what they lend, at which APR and for how long, against which collection or NFT, with gondi_url, the page where a borrower takes it (the NFT's lending section for a single-NFT offer, else the collection's Loan Offers tab). These are the terms a new offer competes with. Every kind of offer ranks together, so a row with a token_id is a loan only that NFT can take: say which NFT it is on. For a borrower, offer_type CollectionOffer with sort_by APR_BPS and order ASC answers the cheapest loan any NFT of a collection can take.
| Parameter | Type | Description |
|---|---|---|
| chain | any | Only this chain; every chain if unset. |
| limit | integer | Rows to answer, 1 to 25. |
| order | string | DESC ranks highest or newest first, ASC lowest or oldest first. |
| sort_by | string | The term `order` ranks offers by. |
| currency | any | Only this principal currency; implies its chain. |
| offer_type | any | Only this kind of offer: CollectionOffer, which any NFT of the collection can take, or SingleNFTOffer, which only the NFT in token_id can. Every kind if unset. |
| collection_slug | any | Only offers on this collection: its collection, trait and set offers and the offers on each of its NFTs. |
| min_apr_percent | any |
The leading GONDI lenders over a rolling period, with their open principal, earnings, net effective APR and default rate, and gondi_url, the lender's profile on its Lent tab: a benchmark for what lending here returns.
| Parameter | Type | Description |
|---|---|---|
| limit | integer | Rows to answer, 1 to 25. |
| metric * | ref | LOWEST_DEFAULT_RATE ranks lowest first, the rest highest first. |
| period | string | one of ["LAST_30_DAYS","LAST_90_DAYS","LAST_180_DAYS"] |
| currency | any | Rank in this currency; every currency in USD if unset. |
{
"name": "get_top_lenders",
"title": "Top lenders",
"description": "The leading GONDI lenders over a rolling period, with their open\nprincipal, earnings, net effective APR and default rate, and gondi_url,\nthe lender's profile on its Lent tab: a benchmark for what lending here\nreturns.",
"inputSchema": {
"type": "object",
"$defs": {
"LenderRankingMetric": {
"enum": [
"OUTSTANDING_PRINCIPAL",
"EARNINGS",
"LOWEST_DEFAULT_RATE",
"NET_EAPR"
],
"type": "string",
"title": "LenderRankingMetric"
}
},
"title": "get_top_lendersArguments",
"required": [
"metric"
],
"properties": {
"limit": {
"type": "integer",
"title": "Limit",
"default": 10,
"maximum": 25,
"minimum": 1,
"description": "Rows to answer, 1 to 25."
},
"metric": {
"$ref": "#/$defs/LenderRankingMetric",
"description": "LOWEST_DEFAULT_RATE ranks lowest first, the rest highest first."
},
"period": {
"enum": [
"LAST_30_DAYS",
"LAST_90_DAYS",
"LAST_180_DAYS"
],
"type": "string",
"title": "Period",
"default": "LAST_90_DAYS"
},
"currency": {
"anyOf": [
{
"enum": [
"WETH",
"USDC",
"WHYPE",
"HUSDC",
"RWETH",
"USDG"
],
"type": "string"
},
{
"type": "null"
}
],
"title": "Currency",
"default": null,
"description": "Rank in this currency; every currency in USD if unset."
}
}
},
"outputSchema": {
"type": "object",
"$defs": {
"TopLender": {
"type": "object",
"title": "TopLender",
"required": [
"rank",
"wallet_address",
"outstanding_principal",
"earnings",
"outstanding_principal_usd",
"earnings_usd",
"net_effective_apr_percent",
"default_rate_percent",
"originated_loan_count",
"settled_loan_count",
"defaulted_loan_count",
"gondi_url"
],
"properties": {
"rank": {
"type": "integer",
"title": "Rank"
},
"earnings": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"title": "Earnings"
},
"gondi_url": {
"type": "string",
"title": "Gondi Url",
"description": "The wallet's GONDI profile on its Lent tab, its loans as lender."
},
"earnings_usd": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"title": "Earnings Usd"
},
"wallet_address": {
"type": "string",
"title": "Wallet Address"
},
"settled_loan_count": {
"type": "integer",
"title": "Settled Loan Count"
},
"default_rate_percent": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"title": "Default Rate Percent"
},
"defaulted_loan_count": {
"type": "integer",
"title": "Defaulted Loan Count"
},
"originated_loan_count": {
"type": "integer",
"title": "Originated Loan Count"
},
"outstanding_principal": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"title": "Outstanding Principal"
},
"net_effective_apr_percent": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"title": "Net Effective Apr Percent"
},
"outstanding_principal_usd": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"title": "Outstanding Principal Usd"
}
}
}
},
"title": "TopLenders",
"required": [
"as_of",
"currency_symbol",
"lenders"
],
"properties": {
"as_of": {
"type": "string",
"title": "As Of",
"format": "date-time"
},
"lenders": {
"type": "array",
"items": {
"$ref": "#/$defs/TopLender"
},
"title": "Lenders"
},
"currency_symbol": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Currency Symbol"
}
},
"description": "Ranked in `currency_symbol`, a lender's amounts are whole tokens and its\n`_usd` fields null; ranked across every currency, the other way round.\nEarnings are the interest and fees of the period. The effective APR is net\nof the protocol fee; it and the default rate are null below 10 positions."
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false
}
}One wallet's lending record, found by address, GONDI username or ENS name: per currency the principal lent, realised net profit, weighted net APR, the principal of its defaulted positions, and its open positions with the interest they are still due to earn, and gondi_url, the wallet's profile on its Lent tab, which lists those positions. Leave `currency` unset to get every currency the wallet lent in from one call; no need to resolve the name or to try the currencies one by one. For the positions one by one, call list_lender_loans.
| Parameter | Type | Description |
|---|---|---|
| wallet | any | The lender: a 0x address, a GONDI username or an ENS name (vitalik.eth). |
| currency | any | Only this principal currency; every currency the wallet ever lent in if unset. |
| wallet_address | any | Deprecated: the former name of `wallet`. |
{
"name": "get_lender_returns",
"title": "Lender returns",
"description": "One wallet's lending record, found by address, GONDI username or ENS\nname: per currency the principal lent, realised net profit, weighted net\nAPR, the principal of its defaulted positions, and its open positions\nwith the interest they are still due to earn, and gondi_url, the\nwallet's profile on its Lent tab, which lists those positions. Leave\n`currency` unset to get every currency the wallet lent in from one call;\nno need to resolve the name or to try the currencies one by one. For\nthe positions one by one, call list_lender_loans.",
"inputSchema": {
"type": "object",
"title": "get_lender_returnsArguments",
"properties": {
"wallet": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Wallet",
"default": null,
"description": "The lender: a 0x address, a GONDI username or an ENS name (vitalik.eth)."
},
"currency": {
"anyOf": [
{
"enum": [
"WETH",
"USDC",
"WHYPE",
"HUSDC",
"RWETH",
"USDG"
],
"type": "string"
},
{
"type": "null"
}
],
"title": "Currency",
"default": null,
"description": "Only this principal currency; every currency the wallet ever lent in if unset."
},
"wallet_address": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Wallet Address",
"default": null,
"description": "Deprecated: the former name of `wallet`."
}
}
},
"outputSchema": {
"type": "object",
"$defs": {
"LenderReturns": {
"type": "object",
"title": "LenderReturns",
"required": [
"wallet_address",
"currency_symbol",
"position_count",
"principal_lent",
"net_profit",
"weighted_net_apr_percent",
"weighted_net_effective_apr_percent",
"defaulted_position_count",
"defaulted_principal",
"open_position_count",
"outstanding_principal",
"open_net_earned_interest",
"net_expected_interest_left",
"net_interest_accrual_per_year"
],
"properties": {
"net_profit": {
"type": "number",
"title": "Net Profit"
},
"position_count": {
"type": "integer",
"title": "Position Count"
},
"principal_lent": {
"type": "number",
"title": "Principal Lent"
},
"wallet_address": {
"type": "string",
"title": "Wallet Address"
},
"currency_symbol": {
"type": "string",
"title": "Currency Symbol"
},
"defaulted_principal": {
"type": "number",
"title": "Defaulted Principal"
},
"open_position_count": {
"type": "integer",
"title": "Open Position Count"
},
"outstanding_principal": {
"type": "number",
"title": "Outstanding Principal"
},
"defaulted_position_count": {
"type": "integer",
"title": "Defaulted Position Count"
},
"open_net_earned_interest": {
"type": "number",
"title": "Open Net Earned Interest"
},
"weighted_net_apr_percent": {
"type": "number",
"title": "Weighted Net Apr Percent"
},
"net_expected_interest_left": {
"type": "number",
"title": "Net Expected Interest Left"
},
"net_interest_accrual_per_year": {
"type": "number",
"title": "Net Interest Accrual Per Year"
},
"weighted_net_effective_apr_percent": {
"type": "number",
"title": "Weighted Net Effective Apr Percent"
}
},
"description": "The fields up to `weighted_net_effective_apr_percent` cover every position\nthe wallet funded in the currency, the `defaulted_` ones its defaulted\npositions, and the rest only its open ones. Net means after the protocol\nfee, the APRs are weighted by principal and time, and the effective one\ncounts origination fees. `net_profit` is interest and origination fees from\npositions repaid or refinanced out; a defaulted position adds nothing to it,\nneither the principal lost nor the NFT received, which is what\n`defaulted_principal` is for."
}
},
"title": "WalletLenderReturns",
"required": [
"wallet_address",
"wallet_name",
"wallet_name_kind",
"gondi_url",
"returns"
],
"properties": {
"returns": {
"type": "array",
"items": {
"$ref": "#/$defs/LenderReturns"
},
"title": "Returns"
},
"gondi_url": {
"type": "string",
"title": "Gondi Url",
"description": "The wallet's GONDI profile on its Lent tab, its loans as lender."
},
"wallet_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Wallet Name",
"description": "The name the address was resolved from; null when the call passed an address."
},
"wallet_address": {
"type": "string",
"title": "Wallet Address",
"description": "The wallet the returns belong to."
},
"wallet_name_kind": {
"anyOf": [
{
"enum": [
"GONDI_USERNAME",
"ENS_NAME"
],
"type": "string"
},
{
"type": "null"
}
],
"title": "Wallet Name Kind",
"description": "Which kind of name `wallet_name` is."
}
},
"description": "One wallet's lending record, a `LenderReturns` per currency. Asked without\na currency, `returns` holds only the currencies the wallet ever funded a\nposition in, so an empty list means it never lent on GONDI."
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false
}
}A lender's loans on GONDI one by one, found by address, GONDI username or ENS name; pass the name or address the user gives as `wallet`, no need to resolve it first. Per loan: the NFT, the borrower, what the wallet lent and the loan's whole principal in its currency and in USD, APR gross and net of the protocol fee, start and expiry, days left, interest earned and still due, and for an open or defaulted loan the collection's floor and top collection bid today with the loan's principal over the floor, to judge its risk. Answers "what loans do I have out?", "which come due soonest?", "which are underwater?" (loan_to_floor_percent above 100) and, with status CLOSED, "how did my past loans end?". `summary` counts and totals every matching position, not only the rows returned: per status, overdue, and principal, interest and profit per currency. For per-currency returns over all time, call get_lender_returns. To list more loans call again with offset=next_offset; never send the user to the site for the loans a page left out. Send the user to a loan's gondi_url, its NFT's page on GONDI, to claim or follow it.
| Parameter | Type | Description |
|---|---|---|
| limit | integer | Rows to answer, 1 to 25. |
| offset | integer | Skip this many positions: pass the previous answer's next_offset for the next page. |
| status | string | OPEN: the running loans, due soonest first. DEFAULTED: the ones past due unpaid, whose NFT the lender can claim or that are at auction. CLOSED: the finished ones, repaid, refinanced or renegotiated away, claimed or auctioned, ended latest first. |
| wallet * | string | The lender: a 0x address, a GONDI username or an ENS name (vitalik.eth). |
A borrower's open loans on GONDI, found by address, GONDI username or ENS name; pass the name or address the user gives as `wallet`, no need to resolve it first. Per loan: the NFT, principal in its currency and in USD, APR, start and due date, days left, the repayment due at expiry, whether it is in its end lockup, the pending renegotiation offers on it and GONDI's best market loan offer on its NFT, each with its net principal and its APR against the loan's. Answers "what are my expiring loans?" (expiring_within_days, soonest due first; matching_loan_count is how many are due in the window, whatever `limit`) and "what should I renegotiate?" (sort_by REFINANCE_SAVING: the loans a cheaper offer waits for first). open_loan_count is every open loan of the wallet. `summary` counts and totals every matching loan, not only the rows returned: principal and repayment per currency, overdue and end-lockup counts, and loans and repayment per due day. Answer "how many, how much, which days" from it, and to list more loans call again with offset=next_offset; never send the user to the site for the loans a page left out. To repay, accept a renegotiation or refinance, send the user to the loan's gondi_url, its NFT's page on GONDI.
| Parameter | Type | Description |
|---|---|---|
| limit | integer | Rows to answer, 1 to 25. |
| offset | integer | Skip this many loans of the sort: pass the previous answer's next_offset for the next page. |
| wallet * | string | The borrower: a 0x address, a GONDI username or an ENS name (vitalik.eth). |
| sort_by | string | DUE_DATE: soonest due first. REFINANCE_SAVING: the largest APR cut on offer first, ranked over every matching loan up to the 300 soonest due (ranked_loan_count says how many). |
| expiring_within_days | any |
What a wallet can borrow against on GONDI right now: the NFTs it holds in its wallet, stash or vaults and not already in a loan, with the largest loan offer each can take today (net principal, APR, duration, origination fee, loan-to-floor and expiry), the one GONDI's Borrow page shows. NFTs sharing that offer, such as a collection offer on several of them, come as one opportunity listing them with their gondi_url (the page where the user borrows) and fundable_count, how many of them the offer can still fund, one loan each: say "19 Miladies; one offer can fund 3 of them". limit counts offers, not NFTs. Answers "what can I borrow against my NFTs?". For the cheapest loan on one collection, call list_loan_offers with offer_type CollectionOffer, sort_by APR_BPS and order ASC.
| Parameter | Type | Description |
|---|---|---|
| limit | integer | Rows to answer, 1 to 25. |
| wallet * | string | The borrower: a 0x address, a GONDI username or an ENS name (vitalik.eth). |
| sort_by | string | PRINCIPAL ranks the most you can borrow first, in USD; APR the cheapest offer first. |
| currency | any | Only offers in this principal currency; any if unset. |
{
"name": "list_borrowing_opportunities",
"title": "Borrowing opportunities",
"description": "What a wallet can borrow against on GONDI right now: the NFTs it\nholds in its wallet, stash or vaults and not already in a loan, with\nthe largest loan offer each can take today (net principal, APR,\nduration, origination fee, loan-to-floor and expiry), the one GONDI's\nBorrow page shows. NFTs sharing that offer, such as a collection offer\non several of them, come as one opportunity listing them with their\ngondi_url (the page where the user borrows) and fundable_count, how\nmany of them the offer can still fund, one loan each: say \"19 Miladies;\none offer can fund 3 of them\". limit counts offers, not NFTs. Answers\n\"what can I borrow against my NFTs?\". For the cheapest loan on one\ncollection, call list_loan_offers with offer_type CollectionOffer,\nsort_by APR_BPS and order ASC.",
"inputSchema": {
"type": "object",
"title": "list_borrowing_opportunitiesArguments",
"required": [
"wallet"
],
"properties": {
"limit": {
"type": "integer",
"title": "Limit",
"default": 10,
"maximum": 25,
"minimum": 1,
"description": "Rows to answer, 1 to 25."
},
"wallet": {
"type": "string",
"title": "Wallet",
"description": "The borrower: a 0x address, a GONDI username or an ENS name (vitalik.eth)."
},
"sort_by": {
"enum": [
"PRINCIPAL",
"APR"
],
"type": "string",
"title": "Sort By",
"default": "PRINCIPAL",
"description": "PRINCIPAL ranks the most you can borrow first, in USD; APR the cheapest offer first."
},
"currency": {
"anyOf": [
{
"enum": [
"WETH",
"USDC",
"WHYPE",
"HUSDC",
"RWETH",
"USDG"
],
"type": "string"
},
{
"type": "null"
}
],
"title": "Currency",
"default": null,
"description": "Only offers in this principal currency; any if unset."
}
}
},
"outputSchema": {
"type": "object",
"$defs": {
"Price": {
"type": "object",
"title": "Price",
"required": [
"amount",
"currency_symbol",
"amount_usd"
],
"properties": {
"amount": {
"type": "number",
"title": "Amount"
},
"amount_usd": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"title": "Amount Usd",
"description": "At the current rate; null when the rate is unavailable."
},
"currency_symbol": {
"type": "string",
"title": "Currency Symbol"
}
}
},
"BorrowableNft": {
"type": "object",
"title": "BorrowableNft",
"required": [
"name",
"token_id",
"gondi_url"
],
"properties": {
"name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Name"
},
"token_id": {
"type": "string",
"title": "Token Id"
},
"gondi_url": {
"type": "string",
"title": "Gondi Url",
"description": "Its page on https://www.gondi.xyz."
}
},
"description": "One of the wallet's NFTs an opportunity's offer applies to."
},
"BorrowingOffer": {
"type": "object",
"title": "BorrowingOffer",
"required": [
"offer_type",
"lender_address",
"net_principal",
"net_principal_usd",
"origination_fee",
"currency_symbol",
"apr_percent",
"duration_days",
"expires_at",
"loan_to_floor_percent"
],
"properties": {
"expires_at": {
"type": "string",
"title": "Expires At",
"format": "date-time",
"description": "When the offer stops being takeable."
},
"offer_type": {
"enum": [
"CollectionOffer",
"SingleNFTOffer",
"SetOffer"
],
"type": "string",
"title": "Offer Type",
"description": "Made on every NFT of the collection, on this NFT alone, or on a chosen set of NFTs it belongs to."
},
"apr_percent": {
"type": "number",
"title": "Apr Percent"
},
"duration_days": {
"type": "number",
"title": "Duration Days"
},
"net_principal": {
"type": "number",
"title": "Net Principal",
"description": "What the borrower receives: the principal the lender can fund now, less the origination fee."
},
"lender_address": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Lender Address"
},
"currency_symbol": {
"type": "string",
"title": "Currency Symbol"
},
"origination_fee": {
"type": "number",
"title": "Origination Fee"
},
"net_principal_usd": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"title": "Net Principal Usd",
"description": "At the current rate; null when the rate is unavailable."
},
"loan_to_floor_percent": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"title": "Loan To Floor Percent",
"description": "The net principal as a share of the collection floor, both in USD; null without a floor or a rate."
}
},
"description": "The loan offer a borrower can take on the NFT now."
},
"BorrowingOpportunity": {
"type": "object",
"title": "BorrowingOpportunity",
"required": [
"collection_slug",
"collection_name",
"chain",
"contract_address",
"floor_price",
"best_offer",
"nft_count",
"fundable_count",
"nfts"
],
"properties": {
"nfts": {
"type": "array",
"items": {
"$ref": "#/$defs/BorrowableNft"
},
"title": "Nfts"
},
"chain": {
"type": "string",
"title": "Chain"
},
"nft_count": {
"type": "integer",
"title": "Nft Count",
"description": "How many NFTs in `nfts`."
},
"best_offer": {
"$ref": "#/$defs/BorrowingOffer",
"description": "The terms of one loan; each NFT taken is a loan of its own."
},
"floor_price": {
"anyOf": [
{
"$ref": "#/$defs/Price"
},
{
"type": "null"
}
],
"description": "The collection's floor; null when nothing is listed."
},
"fundable_count": {
"type": "integer",
"title": "Fundable Count",
"description": "How many of those NFTs the offer can still fund now, one loan each at the shown principal: the smallest of the NFT count, the loans its remaining capacity covers and the loans the lender's balance and allowance cover. The lender's funds are shared with their other offers, so another borrower can take them first; a balance or allowance GONDI has not read does not limit the count."
},
"collection_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Collection Name"
},
"collection_slug": {
"type": "string",
"title": "Collection Slug"
},
"contract_address": {
"type": "string",
"title": "Contract Address"
}
},
"description": "One offer and the wallet's NFTs it is the best offer on: every held NFT\nof the collection for a collection offer, the one NFT for a single-NFT\noffer."
}
},
"title": "BorrowingOpportunities",
"required": [
"wallet_address",
"wallet_name",
"wallet_name_kind",
"holdings_count",
"holdings_read",
"opportunities"
],
"properties": {
"wallet_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Wallet Name",
"description": "The name the address was resolved from; null when the call passed an address."
},
"holdings_read": {
"type": "integer",
"title": "Holdings Read",
"description": "How many of them were read for offers, at most 500."
},
"opportunities": {
"type": "array",
"items": {
"$ref": "#/$defs/BorrowingOpportunity"
},
"title": "Opportunities",
"description": "The offers on the read NFTs, ranked, each with the NFTs it is the best offer on; empty when no lender offers on any."
},
"holdings_count": {
"type": "integer",
"title": "Holdings Count",
"description": "NFTs the wallet holds outside a loan, in its wallet, stash or vaults."
},
"wallet_address": {
"type": "string",
"title": "Wallet Address",
"description": "The wallet the NFTs belong to."
},
"wallet_name_kind": {
"anyOf": [
{
"enum": [
"GONDI_USERNAME",
"ENS_NAME"
],
"type": "string"
},
{
"type": "null"
}
],
"title": "Wallet Name Kind"
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false
}
}How much can be borrowed against one NFT on GONDI right now, whoever holds it: the largest loan offer it can take (net principal, APR, duration, origination fee, loan-to-floor and expiry) and the cheapest-APR offer when that is another one, with gondi_url, the NFT's page where its owner borrows. Answers "how much can I borrow against X #N". To weigh selling the NFT against borrowing on it, call get_nft_market too and follow the lending guide's "sell or borrow" paragraph. A wrapped CryptoPunk is quoted on the offers of its CryptoPunk, which it borrows on. It takes a collection slug and a token id: when you have a name, call search_gondi first.
| Parameter | Type | Description |
|---|---|---|
| currency | any | Only offers in this principal currency; any if unset. |
| token_id * | string | The NFT's token id, as a decimal string. |
| collection_slug * | string | The GONDI slug of the NFT's collection. |
{
"name": "get_borrow_quote",
"title": "Borrow quote",
"description": "How much can be borrowed against one NFT on GONDI right now,\nwhoever holds it: the largest loan offer it can take (net principal,\nAPR, duration, origination fee, loan-to-floor and expiry) and the\ncheapest-APR offer when that is another one, with gondi_url, the NFT's\npage where its owner borrows. Answers \"how much can I borrow against\nX #N\". To weigh selling the NFT against borrowing on it, call\nget_nft_market too and follow the lending guide's \"sell or borrow\"\nparagraph. A wrapped CryptoPunk is quoted on the offers of its\nCryptoPunk, which it borrows on. It takes a collection slug and a\ntoken id: when you have a name, call search_gondi first.",
"inputSchema": {
"type": "object",
"title": "get_borrow_quoteArguments",
"required": [
"collection_slug",
"token_id"
],
"properties": {
"currency": {
"anyOf": [
{
"enum": [
"WETH",
"USDC",
"WHYPE",
"HUSDC",
"RWETH",
"USDG"
],
"type": "string"
},
{
"type": "null"
}
],
"title": "Currency",
"default": null,
"description": "Only offers in this principal currency; any if unset."
},
"token_id": {
"type": "string",
"title": "Token Id",
"pattern": "^[0-9]+$",
"description": "The NFT's token id, as a decimal string."
},
"collection_slug": {
"type": "string",
"title": "Collection Slug",
"description": "The GONDI slug of the NFT's collection."
}
}
},
"outputSchema": {
"type": "object",
"$defs": {
"Price": {
"type": "object",
"title": "Price",
"required": [
"amount",
"currency_symbol",
"amount_usd"
],
"properties": {
"amount": {
"type": "number",
"title": "Amount"
},
"amount_usd": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"title": "Amount Usd",
"description": "At the current rate; null when the rate is unavailable."
},
"currency_symbol": {
"type": "string",
"title": "Currency Symbol"
}
}
},
"BorrowingOffer": {
"type": "object",
"title": "BorrowingOffer",
"required": [
"offer_type",
"lender_address",
"net_principal",
"net_principal_usd",
"origination_fee",
"currency_symbol",
"apr_percent",
"duration_days",
"expires_at",
"loan_to_floor_percent"
],
"properties": {
"expires_at": {
"type": "string",
"title": "Expires At",
"format": "date-time",
"description": "When the offer stops being takeable."
},
"offer_type": {
"enum": [
"CollectionOffer",
"SingleNFTOffer",
"SetOffer"
],
"type": "string",
"title": "Offer Type",
"description": "Made on every NFT of the collection, on this NFT alone, or on a chosen set of NFTs it belongs to."
},
"apr_percent": {
"type": "number",
"title": "Apr Percent"
},
"duration_days": {
"type": "number",
"title": "Duration Days"
},
"net_principal": {
"type": "number",
"title": "Net Principal",
"description": "What the borrower receives: the principal the lender can fund now, less the origination fee."
},
"lender_address": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Lender Address"
},
"currency_symbol": {
"type": "string",
"title": "Currency Symbol"
},
"origination_fee": {
"type": "number",
"title": "Origination Fee"
},
"net_principal_usd": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"title": "Net Principal Usd",
"description": "At the current rate; null when the rate is unavailable."
},
"loan_to_floor_percent": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"title": "Loan To Floor Percent",
"description": "The net principal as a share of the collection floor, both in USD; null without a floor or a rate."
}
},
"description": "The loan offer a borrower can take on the NFT now."
}
},
"title": "BorrowQuote",
"required": [
"collection_slug",
"collection_name",
"chain",
"contract_address",
"name",
"token_id",
"gondi_url",
"floor_price",
"active_loan_status",
"largest_offer",
"cheapest_apr_offer"
],
"properties": {
"name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Name"
},
"chain": {
"type": "string",
"title": "Chain"
},
"token_id": {
"type": "string",
"title": "Token Id"
},
"gondi_url": {
"type": "string",
"title": "Gondi Url",
"description": "Its page on https://www.gondi.xyz."
},
"floor_price": {
"anyOf": [
{
"$ref": "#/$defs/Price"
},
{
"type": "null"
}
],
"description": "The collection's floor; null when nothing is listed."
},
"largest_offer": {
"anyOf": [
{
"$ref": "#/$defs/BorrowingOffer"
},
{
"type": "null"
}
],
"description": "The most anyone holding the NFT can borrow against it now, the offer GONDI's Borrow page shows for it; null when no lender can fund a loan on it."
},
"collection_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Collection Name"
},
"collection_slug": {
"type": "string",
"title": "Collection Slug"
},
"contract_address": {
"type": "string",
"title": "Contract Address"
},
"active_loan_status": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Active Loan Status",
"description": "The status of the open loan the NFT is already collateral in, which a new loan cannot take until it ends; null when it is in none."
},
"cheapest_apr_offer": {
"anyOf": [
{
"$ref": "#/$defs/BorrowingOffer"
},
{
"type": "null"
}
],
"description": "The lowest-APR offer a lender can still fund on the NFT, the larger first among equal rates; null when it is the largest offer itself or there is none."
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false
}
}What buying a listed NFT with a loan (buy now, pay later) costs on GONDI, as its Buy with Loan button quotes it: the listing, the loan offer that finances it, the upfront payment from the buyer's wallet, the loan's principal, APR, duration, interest and repayment at expiry, and GONDI's Buy with Loan fee. The NFT is collateral until the loan is repaid; unpaid at expiry, the lender takes it. When the NFT is not listed or no offer can finance it, unavailable_reason says why. Loans to US buyers run 28 days at most. Send the user to gondi_url to buy. It takes a collection slug and a token id: when you have a name, call search_gondi first.
| Parameter | Type | Description |
|---|---|---|
| token_id * | string | The NFT's token id, as a decimal string. |
| collection_slug * | string | The GONDI slug of the NFT's collection. |
{
"name": "get_buy_with_loan_quote",
"title": "Buy with loan quote",
"description": "What buying a listed NFT with a loan (buy now, pay later) costs on\nGONDI, as its Buy with Loan button quotes it: the listing, the loan\noffer that finances it, the upfront payment from the buyer's wallet,\nthe loan's principal, APR, duration, interest and repayment at expiry,\nand GONDI's Buy with Loan fee. The NFT is collateral until the loan is\nrepaid; unpaid at expiry, the lender takes it. When the NFT is not\nlisted or no offer can finance it, unavailable_reason says why. Loans\nto US buyers run 28 days at most. Send\nthe user to gondi_url to buy. It takes a collection slug and a token\nid: when you have a name, call search_gondi first.",
"inputSchema": {
"type": "object",
"title": "get_buy_with_loan_quoteArguments",
"required": [
"collection_slug",
"token_id"
],
"properties": {
"token_id": {
"type": "string",
"title": "Token Id",
"pattern": "^[0-9]+$",
"description": "The NFT's token id, as a decimal string."
},
"collection_slug": {
"type": "string",
"title": "Collection Slug",
"description": "The GONDI slug of the NFT's collection."
}
}
},
"outputSchema": {
"type": "object",
"$defs": {
"MarketOrder": {
"type": "object",
"title": "MarketOrder",
"required": [
"amount",
"currency_symbol",
"amount_usd",
"order_type",
"marketplace",
"gondi_fee_percent",
"buyer_fee_percent",
"buyer_pays",
"maker_address",
"expires_at"
],
"properties": {
"amount": {
"type": "number",
"title": "Amount"
},
"amount_usd": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"title": "Amount Usd",
"description": "At the current rate; null when the rate is unavailable."
},
"buyer_pays": {
"type": "number",
"title": "Buyer Pays",
"description": "What the listing's buyer or the bid's bidder pays in total, in currency_symbol: the listed price for a listing, the bid for a bid. GONDI's seller fee comes out of the seller's proceeds, not on top of this. Buying with a loan adds its own fee (get_buy_with_loan_quote)."
},
"expires_at": {
"type": "string",
"title": "Expires At",
"format": "date-time"
},
"order_type": {
"enum": [
"SingleNFTOrder",
"CollectionOrder",
"TraitOrder",
"MultipleTraitOrder",
"SetBidOrder",
"SellAndRepayOrder",
"BuyNowPayLaterOrder"
],
"type": "string",
"title": "Order Type",
"description": "What the order is placed on: one NFT (SingleNFTOrder, and the SellAndRepayOrder and BuyNowPayLaterOrder listings), every NFT of the collection (CollectionOrder), those with one or several traits (TraitOrder, MultipleTraitOrder) or a chosen set of them (SetBidOrder)."
},
"marketplace": {
"type": "string",
"title": "Marketplace",
"description": "Where the order or sale lives; GONDI for GONDI's own."
},
"maker_address": {
"type": "string",
"title": "Maker Address",
"description": "The seller of a listing, the bidder of a bid."
},
"currency_symbol": {
"type": "string",
"title": "Currency Symbol"
},
"buyer_fee_percent": {
"type": "number",
"title": "Buyer Fee Percent",
"description": "The GONDI fee the listing's buyer or the bid's bidder pays, as a percent of the price its maker set; already inside buyer_pays, never on top of it. 0 on every listing and every regular bid; only a stealth bid's publication fee (STEALTH_BID_PUBLICATION) and a BuyNowPayLaterOrder's fee fall on the bidder."
},
"gondi_fee_percent": {
"type": "number",
"title": "Gondi Fee Percent",
"description": "The SELLER's GONDI fee when the order executes, as a percent of its price, at GONDI's current rates. It comes out of the seller's proceeds and never adds to what the buyer or bidder pays (buyer_pays). It is the sale fee (SALE), a stealth order's (STEALTH_ASK, STEALTH_BID_EXECUTION) or a sell-and-repay listing's (SELL_AND_REPAY), and 0 on CryptoPunks. It is 0 for another marketplace's order: GONDI adds nothing, and that marketplace's own fee, such as OpenSea's, is inside the price and comes off the seller's proceeds. Creator royalties are not included; the order does not say which of its fees they are."
}
},
"description": "A listing or a bid: an order someone signed and that is still open.\nIts amount is its price, which is what the buyer or bidder pays."
},
"BuyWithLoanTerms": {
"type": "object",
"title": "BuyWithLoanTerms",
"required": [
"offer_type",
"lender_address",
"principal",
"currency_symbol",
"apr_percent",
"duration_days",
"us_duration_limit_applied",
"origination_fee",
"interest",
"repayment_at_expiry",
"offer_expires_at"
],
"properties": {
"interest": {
"type": "number",
"title": "Interest",
"description": "Owed at expiry on top of the principal."
},
"principal": {
"type": "number",
"title": "Principal",
"description": "What the buyer borrows and repays, the origination fee included."
},
"offer_type": {
"enum": [
"CollectionOffer",
"SingleNFTOffer",
"SetOffer"
],
"type": "string",
"title": "Offer Type"
},
"apr_percent": {
"type": "number",
"title": "Apr Percent"
},
"duration_days": {
"type": "number",
"title": "Duration Days",
"description": "At most 28 for a request from the US, where GONDI limits Buy with Loan terms to 28 days."
},
"lender_address": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Lender Address"
},
"currency_symbol": {
"type": "string",
"title": "Currency Symbol"
},
"origination_fee": {
"type": "number",
"title": "Origination Fee",
"description": "Kept by the lender out of the principal."
},
"offer_expires_at": {
"type": "string",
"title": "Offer Expires At",
"format": "date-time",
"description": "When the offer stops being takeable."
},
"repayment_at_expiry": {
"type": "number",
"title": "Repayment At Expiry",
"description": "The principal plus the interest of the whole duration."
},
"us_duration_limit_applied": {
"type": "boolean",
"title": "Us Duration Limit Applied",
"description": "Whether that US limit cut the duration, interest and repayment here. It follows where the request came from, which can be the assistant's servers rather than the buyer: a buyer in the US gets the limit on GONDI either way."
}
},
"description": "The loan that pays for the part of the price the buyer does not."
}
},
"title": "BuyWithLoanQuote",
"required": [
"collection_slug",
"collection_name",
"chain",
"contract_address",
"name",
"token_id",
"gondi_url",
"listing",
"unavailable_reason",
"loan",
"upfront_payment",
"upfront_payment_usd",
"buy_with_loan_fee_percent",
"buy_with_loan_fee",
"flash_loan_fee"
],
"properties": {
"loan": {
"anyOf": [
{
"$ref": "#/$defs/BuyWithLoanTerms"
},
{
"type": "null"
}
]
},
"name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Name"
},
"chain": {
"type": "string",
"title": "Chain"
},
"listing": {
"anyOf": [
{
"$ref": "#/$defs/MarketOrder"
},
{
"type": "null"
}
],
"description": "The listing a purchase buys; null when the NFT is not for sale."
},
"token_id": {
"type": "string",
"title": "Token Id"
},
"gondi_url": {
"type": "string",
"title": "Gondi Url",
"description": "Its page on https://www.gondi.xyz."
},
"flash_loan_fee": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"title": "Flash Loan Fee",
"description": "The flash-loan premium a sell-and-repay listing pays in place of the Buy with Loan fee; 0 otherwise."
},
"collection_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Collection Name"
},
"collection_slug": {
"type": "string",
"title": "Collection Slug"
},
"upfront_payment": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"title": "Upfront Payment",
"description": "What the buyer pays from their wallet now, in the listing's currency: the price less what the loan lends after its origination fee, plus the Buy with Loan fee."
},
"contract_address": {
"type": "string",
"title": "Contract Address"
},
"buy_with_loan_fee": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"title": "Buy With Loan Fee",
"description": "That fee in the listing's currency; part of the upfront payment."
},
"unavailable_reason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Unavailable Reason",
"description": "Why GONDI cannot finance buying it, when it cannot; null when the quote below holds."
},
"upfront_payment_usd": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"title": "Upfront Payment Usd",
"description": "At the current rate; null when the rate is unavailable."
},
"buy_with_loan_fee_percent": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"title": "Buy With Loan Fee Percent",
"description": "GONDI's Buy with Loan fee, as a share of the price."
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false
}
}What a wallet's NFTs are worth and what it holds: the estimated value of all its NFTs in ETH and USD, the one its GONDI profile shows, with how many it holds in its wallet, stashes and vaults and as collateral of its loans, and its most valuable collections with their floor, count and value. It adds the principal the wallet owes as borrower, so you can state its net value. Answers "what is my wallet worth?" and "what NFTs do I hold?". limit counts collections. To borrow against these NFTs, call list_borrowing_opportunities; for the wallet's loans, call list_borrower_loans.
| Parameter | Type | Description |
|---|---|---|
| limit | integer | Rows to answer, 1 to 25. |
| wallet * | string | The holder: a 0x address, a GONDI username or an ENS name (vitalik.eth). |
{
"name": "get_wallet_holdings",
"title": "Wallet holdings",
"description": "What a wallet's NFTs are worth and what it holds: the estimated value\nof all its NFTs in ETH and USD, the one its GONDI profile shows, with\nhow many it holds in its wallet, stashes and vaults and as collateral\nof its loans, and its most valuable collections with their floor, count\nand value. It adds the principal the wallet owes as borrower, so you can\nstate its net value. Answers \"what is my wallet worth?\" and \"what NFTs\ndo I hold?\". limit counts collections. To borrow against these NFTs,\ncall list_borrowing_opportunities; for the wallet's loans, call\nlist_borrower_loans.",
"inputSchema": {
"type": "object",
"title": "get_wallet_holdingsArguments",
"required": [
"wallet"
],
"properties": {
"limit": {
"type": "integer",
"title": "Limit",
"default": 10,
"maximum": 25,
"minimum": 1,
"description": "Rows to answer, 1 to 25."
},
"wallet": {
"type": "string",
"title": "Wallet",
"description": "The holder: a 0x address, a GONDI username or an ENS name (vitalik.eth)."
}
}
},
"outputSchema": {
"type": "object",
"$defs": {
"Price": {
"type": "object",
"title": "Price",
"required": [
"amount",
"currency_symbol",
"amount_usd"
],
"properties": {
"amount": {
"type": "number",
"title": "Amount"
},
"amount_usd": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"title": "Amount Usd",
"description": "At the current rate; null when the rate is unavailable."
},
"currency_symbol": {
"type": "string",
"title": "Currency Symbol"
}
}
},
"HeldCollection": {
"type": "object",
"title": "HeldCollection",
"required": [
"collection_slug",
"collection_name",
"gondi_url",
"held_count",
"floor_price",
"value_eth",
"value_usd"
],
"properties": {
"gondi_url": {
"type": "string",
"title": "Gondi Url",
"description": "Its page on https://www.gondi.xyz."
},
"value_eth": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"title": "Value Eth",
"description": "What the held NFTs are estimated to be worth, in ETH; null when nothing in the market prices any of them."
},
"value_usd": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"title": "Value Usd",
"description": "value_eth at the current ETH rate; null without either."
},
"held_count": {
"type": "integer",
"title": "Held Count",
"description": "The wallet's NFTs of the collection."
},
"floor_price": {
"anyOf": [
{
"$ref": "#/$defs/Price"
},
{
"type": "null"
}
],
"description": "The collection's floor; null when nothing is listed."
},
"collection_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Collection Name"
},
"collection_slug": {
"type": "string",
"title": "Collection Slug"
}
},
"description": "One collection the wallet holds, its wrapped versions included."
}
},
"title": "WalletHoldings",
"required": [
"wallet_address",
"wallet_name",
"wallet_name_kind",
"gondi_url",
"estimated_value_eth",
"estimated_value_usd",
"valued_nft_count",
"unvalued_nft_count",
"valuation_truncated",
"nft_count",
"in_wallet_count",
"in_stash_count",
"in_vault_count",
"on_loan_count",
"collection_count",
"top_collections",
"borrowed_principal_usd",
"open_loan_count",
"net_value_usd"
],
"properties": {
"gondi_url": {
"type": "string",
"title": "Gondi Url",
"description": "Its page on https://www.gondi.xyz."
},
"nft_count": {
"type": "integer",
"title": "Nft Count",
"description": "Every NFT the wallet holds, however held, as its profile counts them: a vault counts as well as each NFT it wraps, and ERC-1155 copies count once per token. The estimate leaves vaults and ERC-1155 out."
},
"wallet_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Wallet Name",
"description": "The name the address was resolved from; null when the call passed an address."
},
"net_value_usd": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"title": "Net Value Usd",
"description": "estimated_value_usd less borrowed_principal_usd; null without either."
},
"on_loan_count": {
"type": "integer",
"title": "On Loan Count",
"description": "Locked as collateral of the wallet's open loans as borrower."
},
"in_stash_count": {
"type": "integer",
"title": "In Stash Count",
"description": "Held in the wallet's stashes."
},
"in_vault_count": {
"type": "integer",
"title": "In Vault Count",
"description": "Wrapped inside the wallet's GONDI vaults; the vault itself is an NFT in the wallet or on loan."
},
"wallet_address": {
"type": "string",
"title": "Wallet Address"
},
"in_wallet_count": {
"type": "integer",
"title": "In Wallet Count",
"description": "Held in the wallet itself."
},
"open_loan_count": {
"type": "integer",
"title": "Open Loan Count",
"description": "Its open loans as borrower."
},
"top_collections": {
"type": "array",
"items": {
"$ref": "#/$defs/HeldCollection"
},
"title": "Top Collections",
"description": "The most valuable collections first."
},
"collection_count": {
"type": "integer",
"title": "Collection Count",
"description": "Collections the estimate covers."
},
"valued_nft_count": {
"type": "integer",
"title": "Valued Nft Count",
"description": "The NFTs the estimate prices."
},
"wallet_name_kind": {
"anyOf": [
{
"enum": [
"GONDI_USERNAME",
"ENS_NAME"
],
"type": "string"
},
{
"type": "null"
}
],
"title": "Wallet Name Kind"
},
"unvalued_nft_count": {
"type": "integer",
"title": "Unvalued Nft Count",
"description": "NFTs nothing in the market prices; they add nothing."
},
"estimated_value_eth": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"title": "Estimated Value Eth",
"description": "What the wallet's NFTs are worth, in ETH: each NFT's GONDI estimate (its floor, bids, sales and traits), summed; the total the profile shows. Null when nothing in the market prices any of them."
},
"estimated_value_usd": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"title": "Estimated Value Usd",
"description": "estimated_value_eth at the current ETH rate."
},
"valuation_truncated": {
"type": "boolean",
"title": "Valuation Truncated",
"description": "True when the wallet holds more NFTs than GONDI values at once, leaving out the cheapest collections: the estimate is a floor."
},
"borrowed_principal_usd": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"title": "Borrowed Principal Usd",
"description": "Principal the wallet owes on its open loans as borrower, in USD at current rates, interest excluded; null when a currency has no rate. The collateral stays in the estimate, so the estimate less this is the wallet's net NFT value."
}
},
"description": "A wallet's NFTs and what they are worth, as its GONDI profile shows them."
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false
}
}GONDI is an NFT marketplace with peer-to-peer NFT lending built in. On Ethereum, Hyperliquid (HyperEVM) and Robinhood Chain, users buy, sell, list and bid on NFTs, and borrow or lend against them. Never tell a user that GONDI is not a marketplace. How to answer: open with the direct answer and its number. No preamble, no restating the question, and no risk or caveat paragraphs unless asked. Keep a table to the rows that answer the question (about 10 at most) and the columns it needs, and offer to show more rather than listing it. Link each collection, NFT, loan or user you name to its gondi_url inline, on its name, including every row of a ranked list; never in a separate column. These tools answer prices as well as lending. For a collection's floor price and top collection bid, call get_collection_market. For one NFT's listing, top bid, last sale, estimated value and whether it is locked in a loan, call get_nft_market. For the cheapest NFTs for sale from a collection or by an artist, call list_cheapest_for_sale. All three answer gondi_url, the page where the user trades it. For what a collection or one NFT sold for recently, call list_recent_sales; for how a collection's floor moved, get_floor_price_history. For the top or trending collections, call list_top_collections. When you have a name rather than a slug (a collection, an artist, an NFT or a user), call search_gondi first: it answers the slug the other tools take and gondi_url, the page to hand the user. Never guess a slug. For a borrower, list_borrowing_opportunities answers what a wallet (an address, a GONDI username or an ENS name) can borrow against: the NFTs it holds outside a loan, each with the largest offer it can take now, ranked by principal or by APR. For their own loans, call list_borrower_loans with the same wallet: it answers which loans come due soonest, what repaying each costs, and which a cheaper renegotiation or market offer waits for. Send the user to the loan's gondi_url to repay, renegotiate or refinance. For a lender, get_lender_returns answers a wallet's record per currency, and list_lender_loans its loans one by one: open ones due soonest first, with the collection's floor and top bid to judge each loan's risk, defaulted ones, and how the closed ones ended. For one NFT, get_borrow_quote answers the most anyone holding it can borrow against it now and the cheapest-APR offer, and get_buy_with_loan_quote what buying it listed with a loan costs: the upfront payment, the loan's terms and repayment, and the Buy with Loan fee. Sell or borrow: to compare, call get_nft_market and get_borrow_quote for the NFT. Selling now nets the listing price or the top bid, less the marketplace and creator fees. Borrowing nets the net principal now, keeps the NFT and its upside, and costs the interest over the duration (principal times APR times days over 365), repaid with the principal by expiry; unpaid, the lender takes the NFT. State both figures and the trade-off; do not advise which to choose. For what a wallet holds and is worth, call get_wallet_holdings. In a loan, the borrower locks an NFT in the MultiSourceLoan contract as collateral and receives an ERC-20 principal from one or more lenders, which they repay with interest by the loan's expiry. How a lender earns: 1. Sign in to the GONDI API with Sign-In with Ethereum (SIWE). 2. Approve the chain's MultiSourceLoan contract (get_supported_markets) to spend the principal currency. 3. Sign a loan offer as EIP-712 typed data (principal, APR, duration, expiry, origination fee and capacity) for one NFT, a whole collection or a set of traits. 4. Submit the signed offer to the API. An offer stays off-chain until a borrower accepts it. Only then does the contract pull the principal from the lender's wallet, so the wallet needs the balance and the allowance at that moment. The lender earns the offer's APR for as long as the loan runs, plus the origination fee; the protocol keeps a share of the interest
Names, descriptions and schemas were written by the server and are shown as data.
Pattern matches on what the server declares. They show what it says it can do, not what it does.
{
"name": "list_loan_offers",
"title": "Loan offers",
"description": "Active, public loan offers lenders have signed: what they lend, at\nwhich APR and for how long, against which collection or NFT, with\ngondi_url, the page where a borrower takes it (the NFT's lending section\nfor a single-NFT offer, else the collection's Loan Offers tab). These\nare the terms a new offer competes with. Every kind of offer ranks\ntogether, so a row with a token_id is a loan only that NFT can take:\nsay which NFT it is on. For a borrower, offer_type CollectionOffer with\nsort_by APR_BPS and order ASC answers the cheapest loan any NFT of a\ncollection can take.",
"inputSchema": {
"type": "object",
"$defs": {
"BlockchainEnum": {
"enum": [
"ethereum",
"hyperliquid",
"robinhood"
],
"type": "string",
"title": "BlockchainEnum"
}
},
"title": "list_loan_offersArguments",
"properties": {
"chain": {
"anyOf": [
{
"$ref": "#/$defs/BlockchainEnum"
},
{
"type": "null"
}
],
"default": null,
"description": "Only this chain; every chain if unset."
},
"limit": {
"type": "integer",
"title": "Limit",
"default": 10,
"maximum": 25,
"minimum": 1,
"description": "Rows to answer, 1 to 25."
},
"order": {
"enum": [
"DESC",
"ASC"
],
"type": "string",
"title": "Order",
"default": "DESC",
"description": "DESC ranks highest or newest first, ASC lowest or oldest first."
},
"sort_by": {
"enum": [
"APR_BPS",
"PRINCIPAL_AMOUNT",
"AVAILABLE_PRINCIPAL_AMOUNT",
"DURATION",
"CREATED_DATE"
],
"type": "string",
"title": "Sort By",
"default": "APR_BPS",
"description": "The term `order` ranks offers by."
},
"currency": {
"anyOf": [
{
"enum": [
"WETH",
"USDC",
"WHYPE",
"HUSDC",
"RWETH",
"USDG"
],
"type": "string"
},
{
"type": "null"
}
],
"title": "Currency",
"default": null,
"description": "Only this principal currency; implies its chain."
},
"offer_type": {
"anyOf": [
{
"enum": [
"CollectionOffer",
"SingleNFTOffer"
],
"type": "string"
},
{
"type": "null"
}
],
"title": "Offer Type",
"default": null,
"description": "Only this kind of offer: CollectionOffer, which any NFT of the collection can take, or SingleNFTOffer, which only the NFT in token_id can. Every kind if unset."
},
"collection_slug": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Collection Slug",
"default": null,
"description": "Only offers on this collection: its collection, trait and set offers and the offers on each of its NFTs."
},
"min_apr_percent": {
"anyOf": [
{
"type": "number",
"minimum": 0
},
{
"type": "null"
}
],
"title": "Min Apr Percent",
"default": null
}
}
},
"outputSchema": {
"type": "object",
"$defs": {
"LoanOffer": {
"type": "object",
"title": "LoanOffer",
"required": [
"offer_id",
"offer_type",
"collection_slug",
"chain",
"token_id",
"lender_address",
"loan_contract_address",
"currency_symbol",
"principal_amount",
"available_principal_amount",
"origination_fee",
"apr_percent",
"duration_days",
"expires_at",
"gondi_url"
],
"properties": {
"chain": {
"type": "string",
"title": "Chain"
},
"offer_id": {
"type": "string",
"title": "Offer Id"
},
"token_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Token Id",
"description": "The NFT of a single-NFT offer."
},
"gondi_url": {
"type": "string",
"title": "Gondi Url",
"description": "Where a borrower takes it: the NFT's lending section for a single-NFT offer, else the collection's Loan Offers tab."
},
"expires_at": {
"type": "string",
"title": "Expires At",
"format": "date-time"
},
"offer_type": {
"enum": [
"CollectionOffer",
"SingleNFTOffer",
"TraitOffer",
"SetOffer"
],
"type": "string",
"title": "Offer Type"
},
"apr_percent": {
"type": "number",
"title": "Apr Percent"
},
"duration_days": {
"type": "number",
"title": "Duration Days"
},
"lender_address": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Lender Address"
},
"collection_slug": {
"type": "string",
"title": "Collection Slug"
},
"currency_symbol": {
"type": "string",
"title": "Currency Symbol"
},
"origination_fee": {
"type": "number",
"title": "Origination Fee"
},
"principal_amount": {
"type": "number",
"title": "Principal Amount"
},
"loan_contract_address": {
"type": "string",
"title": "Loan Contract Address"
},
"available_principal_amount": {
"type": "number",
"title": "Available Principal Amount",
"description": "What a borrower can take now, capped by the lender's balance and allowance and the offer's remaining capacity."
}
}
}
},
"title": "LoanOffers",
"required": [
"offers"
],
"properties": {
"offers": {
"type": "array",
"items": {
"$ref": "#/$defs/LoanOffer"
},
"title": "Offers"
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false
}
}{
"name": "list_lender_loans",
"title": "Lender loans",
"description": "A lender's loans on GONDI one by one, found by address, GONDI\nusername or ENS name; pass the name or address the user gives as\n`wallet`, no need to resolve it first. Per loan: the NFT, the\nborrower, what the wallet lent and the loan's whole principal in its\ncurrency and in USD, APR gross and net of the protocol fee, start and\nexpiry, days left, interest earned and still due, and for an open or\ndefaulted loan the collection's floor and top collection bid today\nwith the loan's principal over the floor, to judge its risk. Answers\n\"what loans do I have out?\", \"which come due soonest?\", \"which are\nunderwater?\" (loan_to_floor_percent above 100) and, with status\nCLOSED, \"how did my past loans end?\". `summary` counts and totals every\nmatching position, not only the rows returned: per status, overdue,\nand principal, interest and profit per currency. For per-currency\nreturns over all time, call get_lender_returns. To list more loans\ncall again with offset=next_offset; never send the user to the site\nfor the loans a page left out. Send the user to a loan's gondi_url,\nits NFT's page on GONDI, to claim or follow it.",
"inputSchema": {
"type": "object",
"title": "list_lender_loansArguments",
"required": [
"wallet"
],
"properties": {
"limit": {
"type": "integer",
"title": "Limit",
"default": 10,
"maximum": 25,
"minimum": 1,
"description": "Rows to answer, 1 to 25."
},
"offset": {
"type": "integer",
"title": "Offset",
"default": 0,
"maximum": 299,
"minimum": 0,
"description": "Skip this many positions: pass the previous answer's next_offset for the next page."
},
"status": {
"enum": [
"OPEN",
"DEFAULTED",
"CLOSED"
],
"type": "string",
"title": "Status",
"default": "OPEN",
"description": "OPEN: the running loans, due soonest first. DEFAULTED: the ones past due unpaid, whose NFT the lender can claim or that are at auction. CLOSED: the finished ones, repaid, refinanced or renegotiated away, claimed or auctioned, ended latest first."
},
"wallet": {
"type": "string",
"title": "Wallet",
"description": "The lender: a 0x address, a GONDI username or an ENS name (vitalik.eth)."
}
}
},
"outputSchema": {
"type": "object",
"$defs": {
"Price": {
"type": "object",
"title": "Price",
"required": [
"amount",
"currency_symbol",
"amount_usd"
],
"properties": {
"amount": {
"type": "number",
"title": "Amount"
},
"amount_usd": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"title": "Amount Usd",
"description": "At the current rate; null when the rate is unavailable."
},
"currency_symbol": {
"type": "string",
"title": "Currency Symbol"
}
}
},
"LenderLoan": {
"type": "object",
"title": "LenderLoan",
"required": [
"collection_slug",
"collection_name",
"name",
"token_id",
"gondi_url",
"loan_id",
"status",
"borrower_address",
"principal",
"loan_principal",
"apr_percent",
"net_apr_percent",
"started_at",
"ends_at",
"days_left",
"interest_earned",
"interest_left",
"net_profit",
"floor_price",
"top_collection_bid",
"loan_to_floor_percent"
],
"properties": {
"name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Name"
},
"status": {
"enum": [
"OPEN",
"DEFAULTED",
"SENT_TO_AUCTION",
"REPAID",
"FORECLOSED",
"AUCTIONED",
"AUCTIONED_WITH_BUYOUT",
"REFINANCED",
"RENEGOTIATED"
],
"type": "string",
"title": "Status",
"description": "OPEN: lent and running. DEFAULTED: past due unpaid, the NFT the lender's to claim. SENT_TO_AUCTION: past due and being auctioned. REPAID: the borrower paid it back. FORECLOSED: the lender claimed the NFT. AUCTIONED and AUCTIONED_WITH_BUYOUT: the NFT was sold at auction, or bought out by a lender, and the proceeds paid out. REFINANCED: another lender's better terms repaid this lender's principal and interest. RENEGOTIATED: the borrower moved the loan to new terms, which repaid this lender."
},
"ends_at": {
"type": "string",
"title": "Ends At",
"format": "date-time",
"description": "The loan's expiry, or, for a REFINANCED or RENEGOTIATED position, when it was repaid."
},
"loan_id": {
"type": "string",
"title": "Loan Id",
"description": "The loan's GONDI id."
},
"token_id": {
"type": "string",
"title": "Token Id"
},
"days_left": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"title": "Days Left",
"description": "Until ends_at for an OPEN position, 0 once it passed, when the lender can claim the NFT unless the borrower repays first; null for any other status."
},
"gondi_url": {
"type": "string",
"title": "Gondi Url",
"description": "Its page on https://www.gondi.xyz."
},
"principal": {
"$ref": "#/$defs/Price",
"description": "What this wallet lent into the loan."
},
"net_profit": {
"anyOf": [
{
"$ref": "#/$defs/Price"
},
{
"type": "null"
}
],
"description": "For a closed position, what it made or lost net of fees: interest and fees on a repayment, and the collateral's worth against the principal on a claim or an auction; null while it is open or defaulted."
},
"started_at": {
"type": "string",
"title": "Started At",
"format": "date-time"
},
"apr_percent": {
"type": "number",
"title": "Apr Percent",
"description": "The position's APR."
},
"floor_price": {
"anyOf": [
{
"$ref": "#/$defs/Price"
},
{
"type": "null"
}
],
"description": "The collection's floor today; null when nothing is listed, and for a closed position."
},
"interest_left": {
"anyOf": [
{
"$ref": "#/$defs/Price"
},
{
"type": "null"
}
],
"description": "For an OPEN position, the interest still due by expiry, net of the protocol fee; null for any other status."
},
"loan_principal": {
"$ref": "#/$defs/Price",
"description": "The loan's whole principal, every lender's together; the principal the collateral backs."
},
"collection_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Collection Name"
},
"collection_slug": {
"type": "string",
"title": "Collection Slug"
},
"interest_earned": {
"$ref": "#/$defs/Price",
"description": "Interest earned so far, net of the protocol fee."
},
"net_apr_percent": {
"type": "number",
"title": "Net Apr Percent",
"description": "apr_percent net of the protocol fee: what the lender earns."
},
"borrower_address": {
"type": "string",
"title": "Borrower Address"
},
"top_collection_bid": {
"anyOf": [
{
"$ref": "#/$defs/Price"
},
{
"type": "null"
}
],
"description": "The highest open bid on the whole collection today, which a claimed NFT could be sold into; null when there is none, and for a closed position."
},
"loan_to_floor_percent": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"title": "Loan To Floor Percent",
"description": "loan_principal over floor_price, in USD when their currencies differ: above 100 the floor no longer covers the loan. Null without both."
}
},
"description": "One row per position: a loan the wallet lent into, or its tranche of\none. Kept to what a lender's questions read, since a wallet can hold\nhundreds and every byte of a row is paid once per position. The NFT is\nnamed by its collection slug and token id, which `get_nft_market` answers\nthe contract address for."
},
"LenderLoansSummary": {
"type": "object",
"title": "LenderLoansSummary",
"required": [
"loan_count",
"status_counts",
"overdue_loan_count",
"principal",
"interest_earned",
"interest_left",
"net_profit"
],
"properties": {
"principal": {
"type": "array",
"items": {
"$ref": "#/$defs/Price"
},
"title": "Principal",
"description": "What the wallet lent into them, one per currency."
},
"loan_count": {
"type": "integer",
"title": "Loan Count",
"description": "The positions summarized: matching_loan_count, or the 300 first in the list's order when the wallet has more."
},
"net_profit": {
"type": "array",
"items": {
"$ref": "#/$defs/Price"
},
"title": "Net Profit",
"description": "What the closed positions made or lost net of fees, one per currency."
},
"interest_left": {
"type": "array",
"items": {
"$ref": "#/$defs/Price"
},
"title": "Interest Left",
"description": "Interest the OPEN positions are still due by expiry, net of the protocol fee, one per currency."
},
"status_counts": {
"type": "object",
"title": "Status Counts",
"description": "The positions per status: how the closed ones ended.",
"additionalProperties": {
"type": "integer"
}
},
"interest_earned": {
"type": "array",
"items": {
"$ref": "#/$defs/Price"
},
"title": "Interest Earned",
"description": "Interest earned so far, net of the protocol fee, one per currency."
},
"overdue_loan_count": {
"type": "integer",
"title": "Overdue Loan Count",
"description": "OPEN positions past their expiry, whose NFT the lender can claim unless the borrower repays first."
}
},
"description": "Totals over every scanned position, not only the `loans` returned."
}
},
"title": "LenderLoans",
"required": [
"wallet_address",
"wallet_name",
"wallet_name_kind",
"gondi_url",
"matching_loan_count",
"loans",
"next_offset",
"summary"
],
"properties": {
"loans": {
"type": "array",
"items": {
"$ref": "#/$defs/LenderLoan"
},
"title": "Loans"
},
"summary": {
"$ref": "#/$defs/LenderLoansSummary"
},
"gondi_url": {
"type": "string",
"title": "Gondi Url",
"description": "The wallet's profile on its Lent tab, which lists them."
},
"next_offset": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Next Offset",
"description": "Pass as `offset` for the next page of positions; null on the last page, or past the first 300."
},
"wallet_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Wallet Name",
"description": "The name the address was resolved from; null when the call passed an address."
},
"wallet_address": {
"type": "string",
"title": "Wallet Address",
"description": "The lender the positions belong to."
},
"wallet_name_kind": {
"anyOf": [
{
"enum": [
"GONDI_USERNAME",
"ENS_NAME"
],
"type": "string"
},
{
"type": "null"
}
],
"title": "Wallet Name Kind",
"description": "Which kind of name `wallet_name` is."
},
"matching_loan_count": {
"type": "integer",
"title": "Matching Loan Count",
"description": "Every position of the wallet in the requested status: the exact total, even when `loans` holds only the first `limit` of them."
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false
}
}| Only the loans due within this many days, overdue ones included; every open loan if unset. |
{
"name": "list_borrower_loans",
"title": "Borrower loans",
"description": "A borrower's open loans on GONDI, found by address, GONDI username or\nENS name; pass the name or address the user gives as `wallet`, no need\nto resolve it first. Per loan: the NFT, principal in its currency and\nin USD, APR, start and due date, days left, the repayment due at\nexpiry, whether it is in its end lockup, the pending renegotiation\noffers on it and GONDI's best market loan offer on its NFT, each with\nits net principal and its APR against the loan's. Answers \"what are my\nexpiring loans?\" (expiring_within_days, soonest due first;\nmatching_loan_count is how many are due in the window, whatever\n`limit`) and \"what should I renegotiate?\" (sort_by REFINANCE_SAVING:\nthe loans a cheaper offer waits for first). open_loan_count is every\nopen loan of the wallet. `summary` counts and totals every matching\nloan, not only the rows returned: principal and repayment per\ncurrency, overdue and end-lockup counts, and loans and repayment per\ndue day. Answer \"how many, how much, which days\" from it, and to list\nmore loans call again with offset=next_offset; never send the user to\nthe site for the loans a page left out. To repay, accept a\nrenegotiation or refinance, send the user to the loan's gondi_url, its\nNFT's page on GONDI.",
"inputSchema": {
"type": "object",
"title": "list_borrower_loansArguments",
"required": [
"wallet"
],
"properties": {
"limit": {
"type": "integer",
"title": "Limit",
"default": 10,
"maximum": 25,
"minimum": 1,
"description": "Rows to answer, 1 to 25."
},
"offset": {
"type": "integer",
"title": "Offset",
"default": 0,
"maximum": 299,
"minimum": 0,
"description": "Skip this many loans of the sort: pass the previous answer's next_offset for the next page."
},
"wallet": {
"type": "string",
"title": "Wallet",
"description": "The borrower: a 0x address, a GONDI username or an ENS name (vitalik.eth)."
},
"sort_by": {
"enum": [
"DUE_DATE",
"REFINANCE_SAVING"
],
"type": "string",
"title": "Sort By",
"default": "DUE_DATE",
"description": "DUE_DATE: soonest due first. REFINANCE_SAVING: the largest APR cut on offer first, ranked over every matching loan up to the 300 soonest due (ranked_loan_count says how many)."
},
"expiring_within_days": {
"anyOf": [
{
"type": "number",
"minimum": 0
},
{
"type": "null"
}
],
"title": "Expiring Within Days",
"default": null,
"description": "Only the loans due within this many days, overdue ones included; every open loan if unset."
}
}
},
"outputSchema": {
"type": "object",
"$defs": {
"Price": {
"type": "object",
"title": "Price",
"required": [
"amount",
"currency_symbol",
"amount_usd"
],
"properties": {
"amount": {
"type": "number",
"title": "Amount"
},
"amount_usd": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"title": "Amount Usd",
"description": "At the current rate; null when the rate is unavailable."
},
"currency_symbol": {
"type": "string",
"title": "Currency Symbol"
}
}
},
"DueDay": {
"type": "object",
"title": "DueDay",
"required": [
"due_date",
"loan_count",
"in_end_lockup_count",
"principal",
"repayment_at_expiry"
],
"properties": {
"due_date": {
"type": "string",
"title": "Due Date",
"format": "date",
"description": "A UTC calendar day."
},
"principal": {
"type": "array",
"items": {
"$ref": "#/$defs/Price"
},
"title": "Principal",
"description": "Their principal, one per currency."
},
"loan_count": {
"type": "integer",
"title": "Loan Count",
"description": "The summarized loans due that day."
},
"in_end_lockup_count": {
"type": "integer",
"title": "In End Lockup Count"
},
"repayment_at_expiry": {
"type": "array",
"items": {
"$ref": "#/$defs/Price"
},
"title": "Repayment At Expiry",
"description": "What repaying them all by expiry costs, one per currency."
}
}
},
"BorrowerLoan": {
"type": "object",
"title": "BorrowerLoan",
"required": [
"collection_slug",
"collection_name",
"name",
"token_id",
"gondi_url",
"loan_id",
"principal",
"apr_percent",
"started_at",
"due_at",
"days_left",
"repayment_at_expiry",
"in_end_lockup",
"renegotiation_offer_count",
"best_renegotiation_offer",
"best_market_offer",
"refinance_apr_saving_percent"
],
"properties": {
"name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Name"
},
"due_at": {
"type": "string",
"title": "Due At",
"format": "date-time",
"description": "The loan's expiry."
},
"loan_id": {
"type": "string",
"title": "Loan Id",
"description": "The loan's GONDI id."
},
"token_id": {
"type": "string",
"title": "Token Id"
},
"days_left": {
"type": "number",
"title": "Days Left",
"description": "Until due_at; 0 once it passed, when the loan can no longer be repaid and its lenders can claim the NFT."
},
"gondi_url": {
"type": "string",
"title": "Gondi Url",
"description": "Its page on https://www.gondi.xyz."
},
"principal": {
"$ref": "#/$defs/Price"
},
"started_at": {
"type": "string",
"title": "Started At",
"format": "date-time"
},
"apr_percent": {
"type": "number",
"title": "Apr Percent"
},
"in_end_lockup": {
"type": "boolean",
"title": "In End Lockup",
"description": "In its last stretch, when lenders can no longer refinance it on their own: better terms then only come from the borrower accepting a renegotiation offer or refinancing into a market offer."
},
"collection_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Collection Name"
},
"collection_slug": {
"type": "string",
"title": "Collection Slug"
},
"best_market_offer": {
"anyOf": [
{
"$ref": "#/$defs/RefinanceOffer"
},
{
"type": "null"
}
],
"description": "The cheapest open loan offer on the NFT today in the loan's currency, which the borrower can refinance into: of GONDI's best-offer picks for each duration, the one with the lowest effective APR; null when there is none."
},
"repayment_at_expiry": {
"$ref": "#/$defs/Price",
"description": "The principal plus every interest due by due_at: the most repaying can cost."
},
"best_renegotiation_offer": {
"anyOf": [
{
"$ref": "#/$defs/RefinanceOffer"
},
{
"type": "null"
}
],
"description": "The one with the lowest effective APR; null when there is none."
},
"renegotiation_offer_count": {
"type": "integer",
"title": "Renegotiation Offer Count",
"description": "Active public renegotiation offers lenders made on the loan, leaving out any with a zero term or a fee that takes its whole principal."
},
"refinance_apr_saving_percent": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"title": "Refinance Apr Saving Percent",
"description": "The larger APR reduction of the two offers above, negative when both cost more than the loan; null when there is neither."
}
},
"description": "One row per open loan, kept to what a borrower's questions read: a\nwallet can hold hundreds, and every byte of a row is paid once per loan.\nThe NFT is named by its collection slug and token id, which\n`get_nft_market` answers the contract address for; its chain is the one\n`principal.currency_symbol` is lent on (`get_supported_markets`)."
},
"RefinanceOffer": {
"type": "object",
"title": "RefinanceOffer",
"required": [
"net_principal",
"effective_apr_percent",
"duration_days",
"expires_at",
"apr_reduction_percent"
],
"properties": {
"expires_at": {
"type": "string",
"title": "Expires At",
"format": "date-time",
"description": "When the offer lapses."
},
"duration_days": {
"type": "number",
"title": "Duration Days"
},
"net_principal": {
"type": "number",
"title": "Net Principal",
"description": "What the borrower receives, net of the origination fee, in whole tokens of the loan's currency: more than the loan's principal.amount when it lends more."
},
"apr_reduction_percent": {
"type": "number",
"title": "Apr Reduction Percent",
"description": "The loan's APR minus this offer's effective APR: positive when it is cheaper."
},
"effective_apr_percent": {
"type": "number",
"title": "Effective Apr Percent",
"description": "The APR with the origination fee prorated over the term: what the offer costs."
}
},
"description": "Terms a lender offers in the loan's currency, next to the loan's own."
},
"BorrowerLoansSummary": {
"type": "object",
"title": "BorrowerLoansSummary",
"required": [
"loan_count",
"overdue_loan_count",
"in_end_lockup_count",
"principal",
"repayment_at_expiry",
"due_days"
],
"properties": {
"due_days": {
"type": "array",
"items": {
"$ref": "#/$defs/DueDay"
},
"title": "Due Days",
"description": "Per day they come due, soonest first: the first 31 days that have a loan due; the totals above also count any later."
},
"principal": {
"type": "array",
"items": {
"$ref": "#/$defs/Price"
},
"title": "Principal",
"description": "Their total principal, one per currency."
},
"loan_count": {
"type": "integer",
"title": "Loan Count",
"description": "The loans summarized: matching_loan_count, or the 300 soonest due when the window holds more."
},
"overdue_loan_count": {
"type": "integer",
"title": "Overdue Loan Count",
"description": "Past due_at and still open: no longer repayable."
},
"in_end_lockup_count": {
"type": "integer",
"title": "In End Lockup Count"
},
"repayment_at_expiry": {
"type": "array",
"items": {
"$ref": "#/$defs/Price"
},
"title": "Repayment At Expiry",
"description": "What repaying them all by expiry costs, one per currency."
}
},
"description": "Totals over every scanned loan, not only the `loans` returned."
}
},
"title": "BorrowerLoans",
"required": [
"wallet_address",
"wallet_name",
"wallet_name_kind",
"open_loan_count",
"matching_loan_count",
"ranked_loan_count",
"loans",
"next_offset",
"summary",
"renegotiation_offer_counts_complete"
],
"properties": {
"loans": {
"type": "array",
"items": {
"$ref": "#/$defs/BorrowerLoan"
},
"title": "Loans"
},
"summary": {
"$ref": "#/$defs/BorrowerLoansSummary"
},
"next_offset": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Next Offset",
"description": "Pass as `offset` for the next page of loans; null on the last page, or past the 300 soonest due."
},
"wallet_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Wallet Name",
"description": "The name the address was resolved from; null when the call passed an address."
},
"wallet_address": {
"type": "string",
"title": "Wallet Address",
"description": "The borrower the loans belong to."
},
"open_loan_count": {
"type": "integer",
"title": "Open Loan Count",
"description": "Every open loan of the wallet, whatever expiring_within_days."
},
"wallet_name_kind": {
"anyOf": [
{
"enum": [
"GONDI_USERNAME",
"ENS_NAME"
],
"type": "string"
},
{
"type": "null"
}
],
"title": "Wallet Name Kind",
"description": "Which kind of name `wallet_name` is."
},
"ranked_loan_count": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Ranked Loan Count",
"description": "With sort_by REFINANCE_SAVING, how many of the matching loans were ranked, the soonest due first; below matching_loan_count only when the wallet has more than the ranking's cap, so a larger saving can sit among the loans left out. Null under DUE_DATE."
},
"matching_loan_count": {
"type": "integer",
"title": "Matching Loan Count",
"description": "The open loans due within expiring_within_days, or every open loan when it is unset: the exact total, even when `loans` holds only the first `limit` of them."
},
"renegotiation_offer_counts_complete": {
"type": "boolean",
"title": "Renegotiation Offer Counts Complete",
"description": "False when the loans' NFTs held more active offers than one read returns, so a renegotiation count can fall short."
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false
}
}