Find Auctions Matching Criteria
find_auctions_matching_criteriaReturns Gavel auctions filtered by the criteria you supply. Does not rank, score, or recommend a specific auction — only filters by the parameters provided. The user chooses what to act on.
Useful for: an agent helping a user narrow a long auction list down to the subset matching their stated yield, duration, and LTV preferences.
All filter parameters are optional. Unspecified parameters mean "no constraint on that dimension". When status is omitted, defaults to 'open' (actionable auctions only).
Returns: { matches: Auction[], match_count, total_inspected, criteria_echoed }.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pair | No | Collateral/loan pair (e.g. 'WBTC/USDC'). Omit for any pair. | |
| limit | No | Maximum results to return. Caps at 100. | |
| status | No | Auction lifecycle filter. 'open' = actionable (default), 'completed' = settled, 'all' = both. | open |
| max_ltv | No | Maximum LTV. Omit for no upper bound. | |
| min_ltv | No | Minimum LTV (loan-to-value), as decimal 0.0-1.0. Omit for no lower bound. | |
| max_rate_pct | No | Maximum implied APR in percent. Omit for no upper bound. | |
| min_rate_pct | No | Minimum implied APR in percent (e.g. 5.5 means at least 5.5%). Omit for no lower bound. | |
| max_duration_days | No | Maximum loan duration in days. Omit for no upper bound. | |
| min_duration_days | No | Minimum loan duration in days. Omit for no lower bound. | |
| min_remaining_hours | No | Only return auctions with at least this many hours left before close. Useful for bidders who need time to act. Ignored when status != 'open'. |