# eBay Search API

> Search eBay listings by keyword with price, condition, shipping, bids, time left and seller, plus condition, format, price and location filters.

Source: https://www.sandbase.ai/model/ebay/search
API reference: https://www.sandbase.ai/model/ebay/search/docs

## Facts

- Provider: eBay
- Type: Data API
- Endpoint: `POST https://api.sandbase.ai/v1/api/ebay/search`
- Price: $0.02 per call
- Capabilities: api, ebay, ecommerce, product data
- Billing: pay per use from one SandBase balance; no provider account or subscription needed

## Call it

`POST https://api.sandbase.ai/v1/api/ebay/search` with `Authorization: Bearer $SANDBASE_API_KEY` and the parameters as a JSON body.

| Parameter | Type | Required | Allowed values |
| --- | --- | --- | --- |
| `_nkw` | string \| number \| boolean | yes |  |
| `_dmd` | string \| number \| boolean | no |  |
| `_ipg` | string \| number \| boolean | no |  |
| `_pgn` | string \| number \| boolean | no |  |
| `_sop` | string \| number \| boolean | no |  |
| `_blrs` | string \| number \| boolean | no |  |
| `_sasl` | string \| number \| boolean | no |  |
| `_udhi` | string \| number \| boolean | no |  |
| `_udlo` | string \| number \| boolean | no |  |
| `_salic` | string \| number \| boolean | no |  |
| `_stpos` | string \| number \| boolean | no |  |
| `_saslop` | any | no |  |
| `show_only` | string | no |  |
| `LH_PrefLoc` | string \| number \| boolean | no |  |
| `category_id` | string \| number \| boolean | no |  |
| `ebay_domain` | string \| number \| boolean | no |  |
| `buying_format` | any | no |  |
| `json_restrictor` | string \| number \| boolean | no |  |
| `popular_filters` | string \| number \| boolean | no |  |
| `LH_ItemCondition` | string \| number \| boolean | no |  |

## FAQ

### How do I use the eBay Search API?

Send a POST request to https://api.sandbase.ai/v1/api/ebay/search with your SandBase API key in the Authorization header (Bearer) and the parameters as a JSON body. You can also try it in the Playground on this page without writing code.

### How much does the eBay Search API cost?

$0.02 per call, billed from your SandBase balance. You are only charged for calls you make; there is no subscription.

### What parameters does the eBay Search API accept?

Required: _nkw (string | number | boolean). Optional: _dmd (string | number | boolean), _ipg (string | number | boolean), _pgn (string | number | boolean), _sop (string | number | boolean), _blrs (string | number | boolean) and _sasl (string | number | boolean) and 13 more. The Parameters table and the Playground on this page list every field.

### What does the eBay Search API return?

A JSON result. This endpoint runs asynchronously, so the response tells you how to fetch the finished result.

### Do I need a eBay developer account or API key?

No. eBay Search runs through SandBase, so one SandBase API key covers this endpoint and every other API and model in the catalog. You do not need to apply for eBay API access separately.

## README

### eBay Search

Search eBay listings by keyword with price, condition, shipping, bids, time left and seller, plus condition, format, price and location filters.
