# Tradera — Swedish auction & fixed-price marketplace

> Search Tradera — live listings, sold listings or unsold ones — across both sale types. Every filter is optional, but give at least `query` or `category_id` so the answer means something. Auction rows and fixed-price rows carry different fields: an auction has starting_bid/current_bid/bid_count/ends_at, a buy-now listing has buy_now_price. A field the listing does not have is null. All amounts are in SEK.
> ReefAPI engine `tradera` · 4 endpoints · clean JSON, no scraping or browsers to manage.

## How to call
- **Endpoint:** `POST https://api.reefapi.com/tradera/v1/<action>` with a JSON body.
- **Auth:** header `x-api-key: <YOUR_REEFAPI_KEY>` — create one free (1,000 credits, no card): https://reefapi.com/signup
- **Response (every call):** `{ ok: boolean, data: ..., meta: { record_count, credits, ... }, error: { code, message } }` — branch on `ok`. Failed calls are free.
- **One key + one shared credit pool** across every ReefAPI API. Per-call credits are listed on each endpoint below.
- **Use it from an AI agent (MCP):** connect `https://api.reefapi.com/mcp` (remote streamable-http). Clients that add connectors by URL, such as ChatGPT and the Claude app, connect with OAuth 2.1 (the user pastes their key once on a ReefAPI page; discovery at `/.well-known/oauth-protected-resource/mcp`). Config files send the key as `Authorization: Bearer <key>`. `?key=<key>` in the URL also works as a last-resort fallback.

## Endpoints

### POST https://api.reefapi.com/tradera/v1/search — 1 credit
Search Tradera — live listings, sold listings or unsold ones — across both sale types. Every filter is optional, but give at least `query` or `category_id` so the answer means something. Auction rows and fixed-price rows carry different fields: an auction has starting_bid/current_bid/bid_count/ends_at, a buy-now listing has buy_now_price. A field the listing does not have is null. All amounts are in SEK.

**Parameters:**
- `query` (string, optional) — Free-text search over listing title and description, in Swedish (e.g. 'rolex', 'iittala vas', 'lego star wars'). Leave it out and give `category_id` to browse a whole category instead.
- `category_id` (integer, optional) — Restrict to one Tradera category by its numeric id. Call the `categories` action for the ids, their names and how many matching listings each holds.
- `status` (enum, optional, default "live") — Which side of the marketplace to search. 'live' = still running; 'sold' and 'unsold' are the two halves of the closed archive and are separate queries — a closed listing is NOT automatically a sale. [one of: live, sold, unsold]
- `listing_type` (enum, optional, default "any") — Tradera sells two ways and the fields differ. 'auction' covers timed auctions (including ones that also carry a buy-now price); 'fixed_price' covers buy-now listings. Read `listing_type` on each row to tell them apart. [one of: any, auction, fixed_price, contact_only]
- `seller_type` (enum, optional, default "any") — Restrict to private sellers or to companies. [one of: any, private, company]
- `county` (enum, optional) — Restrict to sellers in one Swedish county (Tradera's own spelling, without diacritics). 'HelaSverige' means the whole country, i.e. no restriction. [one of: HelaSverige, Blekinge, Dalarna, Gavleborg, Gotland, Halland, Jamtland, Jonkoping, Kalmar, Kronoberg, Norrbotten, Skane, Sodermanland, Stockholm, Uppsala, Varmland, Vasterbotten, Vasternorrland, Vastmanland, VastraGotaland, Orebro, Ostergotland]
- `sort` (enum, optional, default "relevance") — Row order. The price orders rank by the row's own price, which for an auction with no bids is its starting price. [one of: relevance, ending_soonest, newest, price_high_first, price_low_first, price_with_shipping_high_first, price_with_shipping_low_first, most_bids, least_bids, most_wishlisted]
- `min_price` (integer, optional) — Lowest price in SEK (inclusive). Tradera applies it to the row's own price.
- `max_price` (integer, optional) — Highest price in SEK (inclusive).
- `page` (integer, optional, default 1) — 1-based page of 80 listings. Tradera serves at most 10,000 listings per query, so the last reachable page is 125 — narrow the query to reach deeper listings.
- `max_results` (integer, optional, default 80) — How many of the page's listings to return, 1-80. Tradera's page size is fixed at 80; a smaller number just trims the answer.

**Returns:** {query, status, total_available, page, page_count, currency, results[]} — each result has item_id, url, title, listing_type, is_auction, is_buy_now, currency, starting_bid, current_bid, buy_now_price, final_price, bid_count, reserve_met, is_ended, is_sold, starts_at, ends_at, category_id, seller, shipping_options, free_shipping, condition, images.

**Example request body:**
```json
{
  "query": "rolex",
  "max_results": 10
}
```

### POST https://api.reefapi.com/tradera/v1/detail — 1 credit
One Tradera listing in full: the seller's own description and attributes, the category path, every image, the shipping and payment options, the seller's profile and rating, and — for an auction — the opening bid, the leading bid and the next valid bid. Takes the numeric item id or any tradera.com item URL.

**Parameters:**
- `item` (string, required) — The numeric Tradera item id, or a full item URL such as https://www.tradera.com/item/1923/748340097/…

**Returns:** One listing object — the search row plus description, condition, attributes, category_path, quantity, view_count, opening_bid, leading_bid, next_bid_amount, payment_options and a full seller block.

**Example request body:**
```json
{
  "item": "752099400"
}
```

### POST https://api.reefapi.com/tradera/v1/categories — 1 credit
Tradera's category tree with a live listing count per category — the ids the `category_id` filter takes. Scope it with `query` and/or `category_id` to see how a search splits across categories, or call it bare for the top level. Also returns the attribute facets (brand, condition, colour…) Tradera publishes for that scope.

**Parameters:**
- `query` (string, optional) — Free-text search over listing title and description, in Swedish (e.g. 'rolex', 'iittala vas', 'lego star wars'). Leave it out and give `category_id` to browse a whole category instead.
- `category_id` (integer, optional) — Restrict to one Tradera category by its numeric id. Call the `categories` action for the ids, their names and how many matching listings each holds.
- `status` (enum, optional, default "live") — Which side of the marketplace to search. 'live' = still running; 'sold' and 'unsold' are the two halves of the closed archive and are separate queries — a closed listing is NOT automatically a sale. [one of: live, sold, unsold]

**Returns:** {query, total_available, categories[], facets[]} — each category {id, name, url, item_count, children[]}, each facet {parameter, name, values[]}.

**Example request body:**
```json
{
  "query": "rolex"
}
```

### POST https://api.reefapi.com/tradera/v1/seller — 1 credit
A Tradera seller's public profile — alias, city, member-since, rating count and detailed seller rating, follower counts, company flag — together with their currently active listings. Takes the numeric member id, which every search row and listing carries as `seller.member_id`.

**Parameters:**
- `member_id` (integer, required) — The seller's numeric Tradera member id, as returned in `seller.member_id` by `search` and `detail`.
- `page` (integer, optional, default 1) — 1-based page of 80 listings. Tradera serves at most 10,000 listings per query, so the last reachable page is 125 — narrow the query to reach deeper listings.
- `max_results` (integer, optional, default 80) — How many of the page's listings to return, 1-80. Tradera's page size is fixed at 80; a smaller number just trims the answer.

**Returns:** {seller{…}, active_listings_count, page, page_count, results[]} — the results use the same row shape as `search`.

**Example request body:**
```json
{
  "member_id": 2499738
}
```

## At scale
- **Volume:** 5M+ requests a day, measured at 60 requests a second across the fleet with no
  central bottleneck. Per-key limits are raised for high-volume accounts; volume pricing on request.
- **Missing a source:** tell us a site we do not cover and it becomes an engine. A customer asked
  for bestprice.gr on 21 Sep 2026 and it was in the catalog on 22 Sep.
- **Support:** 2 minute median time from a question in the live chat to the first answer. Setup
  help included, no support tier to buy.
- **One key, one credit pool** across every API. No per-site plans, no separate subscriptions.

## More
- Try it live, no code: https://reefapi.com/playground?engine=tradera
- Human docs page: https://reefapi.com/docs/tradera
- Overview page: https://reefapi.com/tradera-api
- Every ReefAPI API in one file (for your AI): https://reefapi.com/llms-full.txt
