# Tradera — Wrapped API

> **You are on:** `https://api.paywithlocus.com/api` | [llms.txt](https://paywithlocus.com/llms.txt) | [docs](https://docs.paywithlocus.com)
>
> Locus runs on multiple environments -- make sure every URL you call matches your expected environment.
> | Environment | Landing | API | Docs |
> |---|---|---|---|
> | Production | paywithlocus.com | api.paywithlocus.com | docs.paywithlocus.com |
> | Beta | beta.paywithlocus.com | api.beta.paywithlocus.com | docs.paywithlocus.com |
> | Stage | stage.paywithlocus.com | api.stage.paywithlocus.com | docs.paywithlocus.com |
>
> If the API URL above doesn't match your expected environment, re-fetch this file from the correct domain.

> Search Tradera.com listings and retrieve detailed item information including seller ratings for both auctions and fixed-price sales. Get real-time access to product details and market data across Sweden's leading online marketplace.

**Category:** Marketplaces | **Website:** [tradera.com/](https://tradera.com/) | **Docs:** [parse.bot/marketplace/6bf92dcf-0ad9-4dfd-8451-8265c0748849/tradera-com-api](https://parse.bot/marketplace/6bf92dcf-0ad9-4dfd-8451-8265c0748849/tradera-com-api)

Pay-per-use API proxy. Each call is automatically billed to your wallet in USDC.

## Access

**Base URL:** `https://api.paywithlocus.com/api/wrapped/parse-tradera-com-api-6bf92dcf/`
**Auth:** `Authorization: Bearer <LOCUS_API_KEY>`

## Endpoints

### get_item_details

Retrieve full details for a single Tradera listing by its numeric item ID. Returns seller ratings, shipping options, images, HTML description, and item attributes. The item_id is obtained from search_listings results.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `item_id` | string | Yes | The numeric ID of the listing to retrieve (from search_listings results[*].itemId) |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-tradera-com-api-6bf92dcf/get_item_details \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"item_id":"<string>"}'
```

### search_listings

Full-text search across Tradera listings (auctions and fixed-price). Returns paginated item summaries with seller info and pricing. Pagination via integer page counter; each page returns up to 50 items. The query matches titles and descriptions server-side.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `page` | integer | No | Page number to retrieve (1-indexed) |
| `query` | string | Yes | Search keyword or phrase (e.g. 'lego', 'nike skor') |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-tradera-com-api-6bf92dcf/search_listings \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"page":"<integer>","query":"<string>"}'
```
