# PS Auction · Search items

Get product, price and seller data with PS Auction · Search items from Alexandria through one Spiral API key. Finding lots by keyword or category on psauction.se, e.g. welding machines, tractors, lots in Skåne, or everything in item type 88 (Verktyg) sorted by highest bid. Use get_filters for item type ids and location slugs, get_item for one lot's full detail. It runs in the background and returns structured JSON. Pay as you go, with no subscription.

- Provider: Alexandria
- Category: E-commerce
- Runs: In the background
- Returns: json
- Tool id: `alexandria` / `psauction-se/auction-lots/search_items`
- Page: https://spiral.ai/tools/alexandria/psauction-se/auction-lots/search_items

## Pricing

$0.00873 per call.

## Limits

- Longest queue wait: 1 hour
- Run deadline: 5 minutes
- Longest run, end to end: 225 minutes
- Largest inline input: 1 MB
- Largest input file: 2 GB
- Largest output: 5 GB

## Input

| Field | Kind | Allowed | Default | Description |
| --- | --- | --- | --- | --- |
| `page` | number | 1 to 10000 | 1 | page |
| `sort` | one of | default, real_endtime, highest_bid, starttime, bid_count, name, number | — | Sort key as the site names it; `real_endtime` is closing soonest. |
| `limit` | number | 1 to 144 | 48 | Page size; 48 is the site default, 144 the largest the API accepts. |
| `query` | text |  | — | Free text (`params[freeText]`), e.g. `svets`. Optional: without it the search lists every matching lot. |
| `language` | one of | sv, en | sv | Swedish (psauction.se) or English (psauction.com) texts; prices stay in SEK. |
| `location` | text |  | — | Location slug from get_filters: `SE`, `SE_{county}` or `SE_{county}_{city}`, e.g. `SE_Skåne_Malmö`. Pattern: ^SE(_[^_&=?#/]{1,60}){0,2}$. |
| `shipping` | one of | none, free, available, only_shipping | — | shipping |
| `sort_dir` | one of | asc, desc | — | sort_dir |
| `hide_ended` | true or false |  | — | Exclude closed lots (default true, as the site does). |
| `auction_type` | one of | divestment, bankruptcy, dismantling, excess_goods | — | Avyttring, Konkurs, Avveckling or Outlet. |
| `item_type_ids` | list |  | — | Item type (category) ids from get_filters, e.g. [88] for Verktyg; several ids are OR-ed. |
| `only_no_reserve` | true or false |  | — | Only lots without a reserve price. |

## Example

```bash
curl https://api.spiral.ai/v1/runs \
  -H "Authorization: Bearer $SPIRAL_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
    "provider": "alexandria",
    "model": "psauction-se/auction-lots/search_items",
    "input": {
      "page": 1
    }
  }'
```

Try it in the Playground: https://spiral.ai/start?provider=alexandria&model=psauction-se%2Fauction-lots%2Fsearch_items

## Common questions

### PS Auction · Search items

**How much does PS Auction · Search items cost?**

$0.00873 per call. You pay as you go from one Spiral balance, with no subscription, and a failed run is not charged.

**How do I use PS Auction · Search items through an API?**

Send `POST /v1/runs` with `"provider": "alexandria"`, `"model": "psauction-se/auction-lots/search_items"` and the input fields on this page, using one Spiral API key. It runs in the background: poll the run, or name a webhook to be told when it finishes.

**Do I need an account with Alexandria to use PS Auction · Search items?**

No. Spiral runs it on its own Alexandria account and charges your Spiral balance.

**Can my AI agent use PS Auction · Search items?**

Yes. Agents find and run it through Spiral's MCP server, CLI or agent skill, with the same API key.

