_nkwstring | number | boolean필수
The search query. You can use anything that you would use in a regular eBay search. `_nkw` parameter is optional when `category_id` parameter is specified.
https://api.sandbase.ai/v1/api/ebay/searchSearch eBay listings by keyword with price, condition, shipping, bids, time left and seller, plus condition, format, price and location filters.
출력이 여기에 표시됩니다
입력을 완료한 다음 Run을 클릭하세요.
Returns eBay search results for a keyword: listings with price, condition, shipping, seller, and buying format, plus category, filter, and pagination data. The only required input is the search query in _nkw, or a category_id.
price with old_price.curl -X POST "https://api.sandbase.ai/v1/api/ebay/search" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"_nkw": "iphone 15"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
_nkw | ['string', 'number', 'boolean'] | Yes | The search query. You can use anything that you would use in a regular eBay search. _nkw parameter is optional when category_id parameter is specified. |
LH_ItemCondition | ['string', 'number', 'boolean'] | No | One or multiple product conditions to limit the search to. Condition is represented via numeric ID, e.g. 1000 for New. Multiple IDs should be joined with / delimiter, e.g. 1000/3000. List of supported IDs can be |
LH_PrefLoc | ['string', 'number', 'boolean'] | No | The preferred location. The available options are 'Domestic', 'Regional', and 'Worldwide'. |
_blrs | ['string', 'number', 'boolean'] | No | The exclusion of results from an auto-corrected query when the original query is spelled wrong. The recommended value for this parameter is spell_auto_correct. Omit _blrs if you want the search to include results for |
_dmd | ['string', 'number', 'boolean'] | No | The visual layout for displaying results. The available options are 'Grid' and 'List'. |
_ipg | ['string', 'number', 'boolean'] | No | The maximum number of results to return. There are three options: 60 (default), 120 and 240 results. |
_pgn | ['string', 'number', 'boolean'] | No | The page number. It's used for pagination. (e.g., 1 (default) is the first page of results, 2 is the 2nd page of results, 3 is the 3rd page of results, etc.). |
_salic | ['string', 'number', 'boolean'] | No | The location based on country. Head to the eBay location options for a full list of supported countries. |
_sasl | ['string', 'number', 'boolean'] | No | The seller username(s) to filter results by. You can specify multiple sellers separated by commas (e.g. iRobot,samsung). Use with _saslop to control whether to include or exclude items from the specified seller(s). |
_saslop | string | No | Whether to include or exclude items from the seller(s) specified in _sasl. Available options: 1 - Only show items from sellers (default) 2 - Don't show items from sellers |
_sop | ['string', 'number', 'boolean'] | No | Results sorted by different options in the eBay. The default option is 'Best Match'. Head to the eBay sort options for a full list of supported sort options. |
_stpos | ['string', 'number', 'boolean'] | No | The ZIP or Postal code. You can use it to filter the shipping products by a selected area. |
_udhi | ['string', 'number', 'boolean'] | No | The highest price of items that should be included in the results (e.g. 20 will only return items that have lower price than 20). |
_udlo | ['string', 'number', 'boolean'] | No | The lowest price of items that should be included in the results (e.g. 10 will only return items that have higher price than 10). |
buying_format | string | No | The buying format you can apply to the results. Available options (case-sensitive): Auction - Auction BIN - Buy It Now BO - Accepts Offers |
category_id | ['string', 'number', 'boolean'] | No | The ID of a category where you want your search to be concentrated. ID values are accessible inside categories array, located in our JSON output (e.g. categories[1].id). You can search using category_id parameter w |
ebay_domain | ['string', 'number', 'boolean'] | No | The eBay domain to use. It defaults to ebay.com. Head to the eBay domains for a full list of supported eBay domains. |
json_restrictor | ['string', 'number', 'boolean'] | No | The fields you want to include in the output, reducing payload size for faster response. See the JSON Restrictor documentation for more details. |
popular_filters | ['string', 'number', 'boolean'] | No | Allows filtering items based on their attributes. The structure is a list of key=value pairs separated by & (e.g. Brand=Nespresso&Size=L). To pass multiple values for the same filter, join them with / (e.g. `Bran |
show_only | string | No | The list of filters you can apply to the results. Available options (case-sensitive): FR - Free returns RPA - Returns accepted AS - Authorized seller Savings - Deals and savings SaleItems - Sale items `Lots |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"categories": [
{
"link": "https://www.ebay.com/sch/i.html?_nkw=iphone+15&_oac=1",
"name": "All"
}
],
"inline_results": [
{
"items": [
{
"link": "https://www.ebay.com/sch/i.html?_nkw=Apple+iPhone+13&_sacat=9355&_productid=1004…",
"thumbnail": "https://i.ebayimg.com/images/g/Mr0AAOSwCmBn4A4q/s-l500.jpg",
"title": "Apple iPhone 13"
}
],
"title": "Best selling products"
}
],
"organic_results": [
{
"buying_format": "buy_it_now",
"buying_format_text": "Buy It Now",
"condition": "Apple iPhone 15",
"epid": "8062766781",
"extensions": [
"eBay Refurbished"
],
"extracted_quantity_sold": 817,
"link": "https://www.ebay.com/itm/257285303938?_skw=iphone+15&epid=8062766781&itmmeta=01M…",
"location": "Located in United States",
"old_price": {
"discount": "$371.99",
"extracted": 799,
"raw": "$799.00"
},
"price": {
"extracted": 371.99,
"raw": "$371.99"
},
"product_id": "257285303938",
"quantity_sold": "817+ sold"
}
],
"pagination": {
"current": 1,
"next": "https://www.ebay.com/sch/i.html?_nkw=iphone+15&_pgn=2",
"other_pages": {
"1": "https://www.ebay.com/sch/i.html?_nkw=iphone+15&_pgn=1",
"10": "https://www.ebay.com/sch/i.html?_nkw=iphone+15&_pgn=10&rt=nc",
"2": "https://www.ebay.com/sch/i.html?_nkw=iphone+15&_pgn=2",
"3": "https://www.ebay.com/sch/i.html?_nkw=iphone+15&_pgn=3",
"4": "https://www.ebay.com/sch/i.html?_nkw=iphone+15&_pgn=4",
"5": "https://www.ebay.com/sch/i.html?_nkw=iphone+15&_pgn=5&rt=nc",
"6": "https://www.ebay.com/sch/i.html?_nkw=iphone+15&_pgn=6&rt=nc",
"7": "https://www.ebay.com/sch/i.html?_nkw=iphone+15&_pgn=7&rt=nc",
"8": "https://www.ebay.com/sch/i.html?_nkw=iphone+15&_pgn=8&rt=nc",
"9": "https://www.ebay.com/sch/i.html?_nkw=iphone+15&_pgn=9&rt=nc"
}
},
"popular_filters": [
{
"link": "https://www.ebay.com/sch/i.html?_nkw=iphone+15&Network=Unlocked",
"name": "Unlocked",
"parameter": "Network=Unlocked",
"serpapi_link": {
"endpoint": "/ebay/search",
"queryParams": {
"_nkw": "iphone 15",
"popular_filters": "Network=Unlocked"
}
}
}
],
"related_searches": [
{
"link": "https://www.ebay.com/sch/i.html?_nkw=iphone+16&_sop=12",
"query": "iphone 16"
}
],
"search_information": {
"organic_results_state": "Results for exact spelling",
"query_displayed": "iphone 15",
"total_results": 41000
},
"search_metadata": {
"cached": false,
"created_at": "2026-11-03 07:33:08 UTC",
"ebay_url": "https://www.ebay.com/sch/i.html?_nkw=iphone+15",
"id": "6ae98e34c8ef264ace9bcb6a",
"processed_at": "2026-11-03 07:33:08 UTC",
"status": "Success",
"total_time_taken": 1.69
},
"search_parameters": {
"_nkw": "iphone 15",
"engine": "ebay"
},
"serpapi_pagination": {
"current": 1,
"next": {
"endpoint": "/ebay/search",
"queryParams": {
"_nkw": "iphone 15",
"_pgn": "2"
}
},
"next_link": {
"endpoint": "/ebay/search",
"queryParams": {
"_nkw": "iphone 15",
"_pgn": "2"
}
},
"other_pages": {
"1": {
"endpoint": "/ebay/search",
"queryParams": {
"_nkw": "iphone 15",
"_pgn": "1"
}
},
"10": {
"endpoint": "/ebay/search",
"queryParams": {
"_nkw": "iphone 15",
"_pgn": "10"
}
},
"2": {
"endpoint": "/ebay/search",
"queryParams": {
"_nkw": "iphone 15",
"_pgn": "2"
}
},
"3": {
"endpoint": "/ebay/search",
"queryParams": {
"_nkw": "iphone 15",
"_pgn": "3"
}
},
"4": {
"endpoint": "/ebay/search",
"queryParams": {
"_nkw": "iphone 15",
"_pgn": "4"
}
},
"5": {
"endpoint": "/ebay/search",
"queryParams": {
"_nkw": "iphone 15",
"_pgn": "5"
}
},
"6": {
"endpoint": "/ebay/search",
"queryParams": {
"_nkw": "iphone 15",
"_pgn": "6"
}
},
"7": {
"endpoint": "/ebay/search",
"queryParams": {
"_nkw": "iphone 15",
"_pgn": "7"
}
},
"8": {
"endpoint": "/ebay/search",
"queryParams": {
"_nkw": "iphone 15",
"_pgn": "8"
}
},
"9": {
"endpoint": "/ebay/search",
"queryParams": {
"_nkw": "iphone 15",
"_pgn": "9"
}
}
}
}
}
| Field | Meaning |
|---|---|
organic_results[].title | Listing title as shown on eBay. |
organic_results[].price.extracted / organic_results[].price.raw | Current listing price as a number and as the displayed text, for example $371.99. |
organic_results[].old_price.extracted | Earlier price shown as crossed out, when the listing has one. Compare it with price to find discounts. |
organic_results[].condition | Condition label of the listing, such as Pre-Owned. Some listings show a product name here instead. |
organic_results[].buying_format / organic_results[].buying_format_text | Buying format of the listing, for example buy_it_now and Buy It Now. |
organic_results[].shipping | Shipping text, such as Free delivery in 1-2 days. It can also be an object with extracted and raw when a delivery cost applies. |
organic_results[].seller.username / organic_results[].seller.positive_feedback_in_percentage / organic_results[].seller.reviews | Seller name, positive feedback percentage, and number of seller reviews. |
organic_results[].product_id | eBay item ID of the listing. Pass it to the product API. |
categories[].id | Category ID that you can pass as category_id to narrow the search. |
popular_filters[].parameter | Filter value that you can pass in the popular_filters request parameter, such as Network=Unlocked. |
organic_results[].product_id as product_id to eBay Product to get details for one listing._pgn to the next page number. Use _ipg to set the page size to 60, 120, or 240.search_information.total_results gives the total number of matching listings.inline_results array holds extra groups of items, such as best selling products and sponsored picks, with fewer fields than organic_results.$0.015 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.
빌드를 시작하세요
통합 인증 및 사용량 추적이 있는 플랫폼 API 엔드포인트입니다.
curl -X POST "https://api.sandbase.ai/v1/api/ebay/search" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"_nkw": "iphone 15"
}'서버 환경에 SandBase API 키를 설정하세요. 요청에는 Bearer 인증이 사용됩니다.
export SANDBASE_API_KEY="YOUR_API_KEY"키는 서버에 보관하세요. 브라우저 코드에 노출하지 마세요.
_nkwstring | number | boolean필수The search query. You can use anything that you would use in a regular eBay search. `_nkw` parameter is optional when `category_id` parameter is specified.
_dmdstring | number | booleanThe visual layout for displaying results. The available options are 'Grid' and 'List'.
_ipgstring | number | booleanThe maximum number of results to return. There are three options: `60` (default), `120` and `240` results.
_pgnstring | number | booleanThe page number. It's used for pagination. (e.g., `1` (default) is the first page of results, `2` is the 2nd page of results, `3` is the 3rd page of results, etc.).
_sopstring | number | booleanResults sorted by different options in the eBay. The default option is 'Best Match'. Head to the eBay sort options for a full list of supported sort options.
_blrsstring | number | booleanThe exclusion of results from an auto-corrected query when the original query is spelled wrong. The recommended value for this parameter is `spell_auto_correct`. Omit `_blrs` if you want the search to include results for an auto-corrected query. Note that this parameter may not prevent eBay from returning results for an auto-corrected query if no other results are available.
_saslstring | number | booleanThe seller username(s) to filter results by. You can specify multiple sellers separated by commas (e.g. `iRobot,samsung`). Use with `_saslop` to control whether to include or exclude items from the specified seller(s).
_udhistring | number | booleanThe highest price of items that should be included in the results (e.g. `20` will only return items that have lower price than `20`).
_udlostring | number | booleanThe lowest price of items that should be included in the results (e.g. `10` will only return items that have higher price than `10`).
_salicstring | number | booleanThe location based on country. Head to the eBay location options for a full list of supported countries.
_stposstring | number | booleanThe ZIP or Postal code. You can use it to filter the shipping products by a selected area.
_saslopanyWhether to include or exclude items from the seller(s) specified in `_sasl`. Available options: `1` - Only show items from sellers (default) `2` - Don't show items from sellers
show_onlystringThe list of filters you can apply to the results. Available options **(case-sensitive)**: `FR` - Free returns `RPA` - Returns accepted `AS` - Authorized seller `Savings` - Deals and savings `SaleItems` - Sale items `Lots` - Listed as lots `Charity` - Benefits charity `AV` - Authenticity Guarantee `FS` - Free shipping `LPickup` - Local pickup You can also combine multiple filter values by joining them with a comma (`value` + `,` + `value`; eg: `FS,RPA`). The `Sold` and `Complete` options are deprecated and no longer supported.
LH_PrefLocstring | number | booleanThe preferred location. The available options are 'Domestic', 'Regional', and 'Worldwide'.
category_idstring | number | booleanThe ID of a category where you want your search to be concentrated. ID values are accessible inside `categories` array, located in our JSON output (e.g. `categories[1].id`). You can search using `category_id` parameter without specifying `_nkw` parameter.
ebay_domainstring | number | booleanThe eBay domain to use. It defaults to `ebay.com`. Head to the eBay domains for a full list of supported eBay domains.
buying_formatanyThe buying format you can apply to the results. Available options **(case-sensitive)**: `Auction` - Auction `BIN` - Buy It Now `BO` - Accepts Offers
json_restrictorstring | number | booleanThe fields you want to include in the output, reducing payload size for faster response. See the JSON Restrictor documentation for more details.
popular_filtersstring | number | booleanAllows filtering items based on their attributes. The structure is a list of `key=value` pairs separated by `&` (e.g. `Brand=Nespresso&Size=L`). To pass multiple values for the same filter, join them with `|` (e.g. `Brand=adidas|Majestic`). Values can be obtained from the `popular_filters[].parameter` field of the API response.
LH_ItemConditionstring | number | booleanOne or multiple product conditions to limit the search to. Condition is represented via numeric ID, e.g. `1000` for `New`. Multiple IDs should be joined with `|` delimiter, e.g. `1000|3000`. List of supported IDs can be found on eBay documentation page. There is also undocumented ID `10` for `Not Specified` condition.
이 API의 저장된 예시 응답입니다. 확인할 때 라이브 요청은 실행되지 않습니다.
저장된 응답이 게시되지 않았습니다. Playground에서 API를 실행해 응답을 확인하세요.
더 살펴보기
| API | 가격 | 응답 |
|---|---|---|
eBay Search이 API eBay | $0.015 / 호출 | 비동기 JSON |
eBay | $0.015 / 호출 | 비동기 JSON |
eBay | 호출당 $0.003부터 | JSON |
질문
Authorization 헤더(Bearer)에 SandBase API 키를 넣고, 매개변수를 JSON 본문으로 담아 https://api.sandbase.ai/v1/api/ebay/search에 POST 요청을 보내세요. 이 페이지의 Playground에서도 코드를 작성하지 않고 직접 테스트할 수 있습니다.
호출당 $0.015, SandBase 잔액에서 청구됩니다. 사용한 호출에 대해서만 요금이 부과되며, 구독은 없습니다.
필수: _nkw (string | number | boolean). 선택: _dmd (string | number | boolean), _ipg (string | number | boolean), _pgn (string | number | boolean), _sop (string | number | boolean), _blrs (string | number | boolean) 및 _sasl (string | number | boolean) 외 13개. 이 페이지의 Parameters 표와 Playground에 모든 필드가 나와 있습니다.
JSON 결과를 반환합니다. 이 엔드포인트는 비동기적으로 실행되므로, 응답에는 완료된 결과를 가져오는 방법이 안내됩니다. 이 페이지의 README에 샘플 응답이 포함되어 있습니다.
아니요. eBay Search은 SandBase를 통해 실행되므로, SandBase API 키 하나로 이 엔드포인트와 카탈로그의 다른 모든 API 및 모델을 사용할 수 있습니다. eBay API 액세스를 별도로 신청할 필요는 없습니다.