---
type: "firecrawl-provider"
description: "Active eBay listings and listing details on 15 international eBay sites, with local prices."
use_when: "Active eBay listings on one site, identified by item id."
categories: "Retail"
capabilities: 2
pricing: "5 credits per billed unit; see each capability for its unit and maximum."
---
# eBay international sites on Firecrawl Alexandria

Active eBay listings and listing details on 15 international eBay sites, with local prices.

- Categories: Retail
- Category index: [Retail category](https://alexandria.firecrawl.dev/agents/categories/retail)
- Provider key: `ebay-marketplaces`
- Access: Firecrawl credits
- Cost (Search eBay listings): 5 credits per call
- Cost (Get eBay listing details): 5 credits per request

## More

- [Human guide](https://www.firecrawl.dev/app/alexandria/ebay-marketplaces)
- [OpenAPI spec](https://alexandria.firecrawl.dev/agents/providers/ebay-marketplaces/openapi.json)

## Capabilities

- [Search eBay listings](https://alexandria.firecrawl.dev/agents/providers/ebay-marketplaces/listings/search): One page of active listings from one eBay site, with the site page it reflects, result totals and filters.
- [Get eBay listing details](https://alexandria.firecrawl.dev/agents/providers/ebay-marketplaces/listings/lookup): One eBay listing with its seller, or found: false and listing: null when the item id matches nothing on that site (not charged).

## 1. Choose this provider when

Active eBay listings on one site, identified by item id.

## 2. Minimal request

Call `POST https://api.firecrawl.dev/v2/scrape` with `{ alexandria: { provider, capability, options } }`. For a batch, send `{ alexandria: [...] }` with up to 10 calls.

```json
{
  "provider": "ebay-marketplaces",
  "capability": "listings/search",
  "options": {
    "query": "<query>",
    "site": "ebay.co.uk",
    "page": 1,
    "page_size": 60
  }
}
```

## 3. Add provider options

Use only the options needed for the task:

- `query` (string): Search text, as typed into eBay's search box. Optional when category_id is given. Example: `<query>`
- `site` (string, required): eBay site host, e.g. ebay.co.uk, ebay.de or ebay.com.au. Prices are in that site's currency. Example: `ebay.co.uk`
- `sort` (string): Order. new_condition_first and used_condition_first are not offered on ebay.ca, ebay.de, ebay.com.my, ebay.nl, ebay.com.sg or ebay.co.uk. Example: `best_match`
- `min_price` (number): Lowest price, in the site's currency. Example: `10`
- `max_price` (number): Highest price, in the site's currency. Example: `10`
- `buying_format` (string): Comma-separated: auction, buy_it_now, best_offer. Example: `<buying_format>`
- `show_only` (string): Comma-separated listing filters: free_shipping, free_returns, returns_accepted, local_pickup, authorized_seller, sale_items, deals, lots, charity, authenticity_guarantee. Example: `<show_only>`
- `condition_ids` (string): eBay item condition ids joined by |, e.g. 1000 for new or 1000|3000. Example: `<condition_ids>`
- `seller` (string): Only listings from these seller usernames, comma-separated. Example: `<seller>`
- `category_id` (string): Numeric eBay category id, from the categories of an earlier search. Example: `<category_id>`
- `ship_from_postcode` (string): Postal code to measure shipping distance from (sort nearest). Example: `<ship_from_postcode>`
- `page` (number): Result page, from 1. Example: `1`
- `page_size` (number): Listings per page: 60 (default), 120 or 240. Example: `60`

## 4. Request through your preferred interface

### JavaScript

```javascript
const result = await firecrawl.scrape({
  alexandria: {
    provider: "ebay-marketplaces",
    capability: "listings/search",
    options: {
      query: "<query>",
      site: "ebay.co.uk",
      page: 1,
      page_size: 60,
    },
  },
});
```

### Python

```python
result = firecrawl.scrape_alexandria({
  "provider": "ebay-marketplaces",
  "capability": "listings/search",
  "options": {
    "query": "<query>",
    "site": "ebay.co.uk",
    "page": 1,
    "page_size": 60
  }
})
```

### cURL

```sh
curl https://api.firecrawl.dev/v2/scrape \
  -H "Authorization: Bearer $FIRECRAWL_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "alexandria": {
    "provider": "ebay-marketplaces",
    "capability": "listings/search",
    "options": {
      "query": "<query>",
      "site": "ebay.co.uk",
      "page": 1,
      "page_size": 60
    }
  }
}'
```

### CLI

```sh
firecrawl scrape 'ebay-marketplaces/listings/search' \
  --options '{"query":"<query>","site":"ebay.co.uk","page":1,"page_size":60}'
```


### MCP

Call the FCX MCP retrieve tool with this object:

```json
{
  "provider": "ebay-marketplaces",
  "capability": "listings/search",
  "options": {
    "query": "<query>",
    "site": "ebay.co.uk",
    "page": 1,
    "page_size": 60
  }
}
```

Ask for only the returned fields needed by the task.

## 5. Full request shape

```json
{
  "provider": "ebay-marketplaces",
  "capability": "listings/search",
  "options": {
    "query": "<query>",
    "site": "ebay.co.uk",
    "page": 1,
    "page_size": 60
  }
}
```

## 6. Response data

The response includes `success`, `provider`, `capability`, `creditsCost` and `data`. This example shows the provider payload in `data`:

```json
{
  "organic_results": [
    {
      "product_id": "<product_id>",
      "title": "<title>",
      "subtitle": "<subtitle>",
      "link": "<link>",
      "condition": "<condition>",
      "price": {},
      "shipping": "<shipping>",
      "returns": "<returns>",
      "buying_format": "<buying_format>",
      "bids": {},
      "time_left": "<time_left>",
      "extracted_quantity_sold": 0,
      "sponsored": false,
      "seller": {},
      "thumbnail": "<thumbnail>"
    }
  ]
}
```

## API reference-derived contract

The following capability contract is generated from the same normalized Alexandria API reference exposed in the API spec.

### Search eBay listings

- Capability: `listings/search`
- Description: One page of active listings from one eBay site, with the site page it reflects, result totals and filters.
- Instructions: Search active listings on an international eBay site (UK, Germany, France, Italy, Spain, Netherlands, Austria, Switzerland, Ireland, Poland, Canada, Australia and others) in its local currency: item ids, titles, price or price range, condition, auction or Buy It Now, shipping text, quantity sold and seller feedback. Filter by price, format, condition, seller or category. One page per call. Not for ebay.com or sold listings.
- Cost: 5 credits per call
- Capability file: [Search eBay listings](https://alexandria.firecrawl.dev/agents/providers/ebay-marketplaces/listings/search)

Accepted options:
- `query` (string): Search text, as typed into eBay's search box. Optional when category_id is given. Example: `<query>`
- `site` (string, required): eBay site host, e.g. ebay.co.uk, ebay.de or ebay.com.au. Prices are in that site's currency. Example: `ebay.co.uk`
- `sort` (string): Order. new_condition_first and used_condition_first are not offered on ebay.ca, ebay.de, ebay.com.my, ebay.nl, ebay.com.sg or ebay.co.uk. Example: `best_match`
- `min_price` (number): Lowest price, in the site's currency. Example: `10`
- `max_price` (number): Highest price, in the site's currency. Example: `10`
- `buying_format` (string): Comma-separated: auction, buy_it_now, best_offer. Example: `<buying_format>`
- `show_only` (string): Comma-separated listing filters: free_shipping, free_returns, returns_accepted, local_pickup, authorized_seller, sale_items, deals, lots, charity, authenticity_guarantee. Example: `<show_only>`
- `condition_ids` (string): eBay item condition ids joined by |, e.g. 1000 for new or 1000|3000. Example: `<condition_ids>`
- `seller` (string): Only listings from these seller usernames, comma-separated. Example: `<seller>`
- `category_id` (string): Numeric eBay category id, from the categories of an earlier search. Example: `<category_id>`
- `ship_from_postcode` (string): Postal code to measure shipping distance from (sort nearest). Example: `<ship_from_postcode>`
- `page` (number): Result page, from 1. Example: `1`
- `page_size` (number): Listings per page: 60 (default), 120 or 240. Example: `60`

Response schema example:
```json
{
  "organic_results": [
    {
      "product_id": "<product_id>",
      "title": "<title>",
      "subtitle": "<subtitle>",
      "link": "<link>",
      "condition": "<condition>",
      "price": {},
      "shipping": "<shipping>",
      "returns": "<returns>",
      "buying_format": "<buying_format>",
      "bids": {},
      "time_left": "<time_left>",
      "extracted_quantity_sold": 0,
      "sponsored": false,
      "seller": {},
      "thumbnail": "<thumbnail>"
    }
  ]
}
```

### Get eBay listing details

- Capability: `listings/lookup`
- Description: One eBay listing with its seller, or found: false and listing: null when the item id matches nothing on that site (not charged).
- Instructions: Get one listing on an international eBay site from its item id or /itm/ URL: price and currency, buying options, condition, item specifics, watch count, where it ships from and the countries it ships to or excludes, returns, and the seller's store, feedback score, ratings and recent reviews. Shipping costs are not computed for a chosen destination. Not for ebay.com.
- Cost: 5 credits per request
- Capability file: [Get eBay listing details](https://alexandria.firecrawl.dev/agents/providers/ebay-marketplaces/listings/lookup)

Accepted options:
- `item_id` (string): eBay item id, the number in an /itm/ URL. Requires site. Example: `<item_id>`
- `url` (string): eBay /itm/ listing URL on a supported international site, e.g. https://www.ebay.co.uk/itm/325532062219. The site is read from it. Example: `<url>`
- `site` (string): eBay site host, e.g. ebay.co.uk, ebay.de or ebay.com.au. Prices are in that site's currency. Example: `ebay.co.uk`

Response schema example:
```json
{
  "listing": {
    "product_id": "<product_id>",
    "product_link": "<product_link>",
    "title": "<title>",
    "condition": {},
    "buy": {},
    "shipping": {},
    "returns": {},
    "specifications": [],
    "watch_count": 0,
    "media": []
  }
}
```
