# eBay (United Kingdom) — 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 eBay UK listings and sold items to find products, compare prices, and view seller feedback and ratings. Access detailed item information, explore categories, and discover daily deals all in one place.

**Category:** Marketplaces | **Website:** [ebay.co.uk/](https://ebay.co.uk/) | **Docs:** [parse.bot/marketplace/f47d2279-9681-4544-9781-ba8791a26136/ebay-co-uk-api](https://parse.bot/marketplace/f47d2279-9681-4544-9781-ba8791a26136/ebay-co-uk-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-ebay-co-uk-api-f47d2279/`
**Auth:** `Authorization: Bearer <LOCUS_API_KEY>`

## Endpoints

### get_all_categories

Get all top-level eBay UK categories and their subcategories with IDs and URLs. Returns a hierarchical structure of categories, each containing subcategories with their own children. No input parameters required.

**Estimated cost:** Metered

_No parameters required._

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-ebay-co-uk-api-f47d2279/get_all_categories \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'
```

### get_daily_deals

Get current eBay UK daily deals and promotions. Returns an array of deal items with title, price, original price (when available), and URL. No input parameters required.

**Estimated cost:** Metered

_No parameters required._

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-ebay-co-uk-api-f47d2279/get_daily_deals \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'
```

### get_item_details

Get full details for a specific eBay item by its numeric item ID. Returns title, price, condition, item specifics (brand, model, etc.), seller username, and image URLs. Returns input_not_found if the item does not exist.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `item_id` | string | Yes | eBay item ID (numeric string, 10-14 digits) |

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

### get_seller_feedback

Get a seller's feedback profile including positive feedback percentage and recent feedback comments with associated items. Returns input_not_found if the seller username does not exist.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `username` | string | Yes | eBay seller username |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-ebay-co-uk-api-f47d2279/get_seller_feedback \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"username":"<string>"}'
```

### search_listings

Search for active product listings on eBay UK by keyword. Returns paginated results including title, price, condition, item ID, URL, and shipping info. Results are ordered by eBay's default Best Match algorithm. Each page returns up to ~60 items.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `category_id` | string | No | eBay category ID to filter results. 0 searches all categories. |
| `page` | integer | No | Page number for pagination (1-based) |
| `query` | string | Yes | Search keyword or phrase |

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

### search_sold_listings

Search for sold/completed product listings on eBay UK. Useful for price history and market analysis. Returns items that have already been sold with their final selling price. Paginated, up to ~60 items per page.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `page` | integer | No | Page number for pagination (1-based) |
| `query` | string | Yes | Search keyword or phrase |

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

### search_sold_psa_cards

Specialized search for sold PSA-graded trading cards on eBay UK. Searches completed/sold listings and filters results to only include items with PSA in the title. Useful for tracking PSA card prices and market trends.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `card_name` | string | No | Card name and PSA grade to search for (e.g. 'Charizard PSA 10', 'Pikachu PSA 10') |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-ebay-co-uk-api-f47d2279/search_sold_psa_cards \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"card_name":"<string>"}'
```
