Search Spanish auction listings
search_listingsSearch active Spanish court auctions (BOE section IV), State/public-body sales (BOE section V-B) and Social Security auctions (TGSS). Sources: the BOE (Agencia Estatal Boletín Oficial del Estado) for court auctions (section IV) and State sales (section V-B), and the TGSS (Tesorería General de la Seguridad Social) for Social Security auctions. Only active listings are returned: a listing whose bid deadline (Europe/Madrid date) has passed is left out, checked on every request. Use it first to find listings by province, town, type, asset type, starting price or dates; then call get_listing with an id for the full record. Returns total count, paging (limit/offset) and short records: id, title in 5 languages, approximate place, seller, starting price in EUR when the notice gives one, publication date, deadline, HammerMap risk light and links (HammerMap page, official channel, BOE notice when there is one). Coverage: Spain only. Data are updated once per working day; attribution.data_updated and attribution.latest_boe_publication show how fresh they are. Court auction notices in BOE open data have no price, description or closing date (those are on the official portal). All filters are optional and combine with AND.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "search_listings"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | No | Free text, accent-insensitive, matched in title, seller, town, province and lot description, e.g. "vivienda" or "Puerto de Valencia" | |
| sort | No | published_desc = newest first (default), deadline_asc / deadline_desc = closing soonest / latest (no deadline last), price_asc / price_desc = by starting price (no price last), risk_asc / risk_desc = by HammerMap risk light green < yellow < red | published_desc |
| type | No | court_auction = judicial auction (BOE IV); state_sale = sale by the State or a public body (BOE V-B) or a Social Security auction (TGSS) | |
| limit | No | Results per page, 1-100 | |
| offset | No | Number of results to skip, for paging | |
| country | No | ISO 3166-1 alpha-2 country code. Only ES (Spain) has data; any other value returns 0 results. | ES |
| province | No | Spanish province, exact name, accent-insensitive, e.g. Madrid, Valencia, Illes Balears. Call get_facets for the list. | |
| max_price | No | Maximum starting price in EUR. Only listings with a known price match. | |
| min_price | No | Minimum starting price in EUR. Only listings with a known price match. | |
| procedure | No | apremio = enforcement for debt, voluntaria = voluntary court sale, concursal = insolvency, estado = State sale, tgss = Social Security (TGSS) auction | |
| asset_type | No | vivienda = home, local = commercial premises, garaje = parking, solar = building plot, rustica = rural land, inmueble = other real estate, vehiculo = vehicle, otros = other goods, unknown = not stated in the notice | |
| deadline_to | No | Bid deadline to; only listings with a known deadline match (YYYY-MM-DD) | |
| municipality | No | Town, exact name: the court's town for court auctions, the asset's town for State sales | |
| published_to | No | Publication date to (YYYY-MM-DD) | |
| deadline_from | No | Bid deadline from; only listings with a known deadline match (YYYY-MM-DD) | |
| published_from | No | Publication date from (BOE issue; for TGSS the portal's last update) (YYYY-MM-DD) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | Yes | Short listing records | |
| limit | No | ||
| total | Yes | Number of matching listings | |
| offset | No | ||
| licence | No | ||
| attribution | Yes |