Sand AISand AI MAGI-2MAGI-2 が SandBase に登場しました: ネイティブ音声付き 1080p 動画今すぐ試す

eBay Search

APIドキュメント
https://api.sandbase.ai/v1/api/ebay/search

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

料金
$0.015USD / 回
メソッド
POST
レスポンス
非同期 JSON
パラメータ
必須 1 件 · 任意 19 件

プレイグラウンド

入力
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.
The visual layout for displaying results. The available options are 'Grid' and 'List'.
The maximum number of results to return. There are three options: `60` (default), `120` and `240` results.
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.).
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.
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 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.
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).
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`).
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`).
The location based on country. Head to the eBay location options for a full list of supported countries.
The ZIP or Postal code. You can use it to filter the shipping products by a selected area.
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
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` - 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.
The preferred location. The available options are 'Domestic', 'Regional', and 'Worldwide'.
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 without specifying `_nkw` parameter.
The eBay domain to use. It defaults to `ebay.com`. Head to the eBay domains for a full list of supported eBay domains.
The buying format you can apply to the results. Available options **(case-sensitive)**: `Auction` - Auction `BIN` - Buy It Now `BO` - Accepts Offers
The fields you want to include in the output, reducing payload size for faster response. See the JSON Restrictor documentation for more details.
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 found on eBay documentation page. There is also undocumented ID `10` for `Not Specified` condition.
出力準備完了

出力はここに表示されます

入力を完了してから[実行]をクリックしてください。

API README

eBay Search

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.

Use cases

  • Track asking prices for a product such as the iPhone 15 across new, used, and refurbished listings.
  • Compare sellers by feedback percentage and review count before choosing where to buy.
  • Find discounted listings by comparing price with old_price.
  • Build a catalog of listing IDs, then fetch full item details for each one.

Request

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.

Parameters

NameTypeRequiredDescription
_nkw['string', 'number', 'boolean']YesThe 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']NoOne 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']NoThe preferred location. The available options are 'Domestic', 'Regional', and 'Worldwide'.
_blrs['string', 'number', 'boolean']NoThe 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']NoThe visual layout for displaying results. The available options are 'Grid' and 'List'.
_ipg['string', 'number', 'boolean']NoThe maximum number of results to return. There are three options: 60 (default), 120 and 240 results.
_pgn['string', 'number', 'boolean']NoThe 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']NoThe location based on country. Head to the eBay location options for a full list of supported countries.
_sasl['string', 'number', 'boolean']NoThe 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).
_saslopstringNoWhether 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']NoResults 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']NoThe ZIP or Postal code. You can use it to filter the shipping products by a selected area.
_udhi['string', 'number', 'boolean']NoThe 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']NoThe 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_formatstringNoThe 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']NoThe 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']NoThe 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']NoThe 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']NoAllows 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_onlystringNoThe 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

Example response

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"
        }
      }
    }
  }
}

Response fields

FieldMeaning
organic_results[].titleListing title as shown on eBay.
organic_results[].price.extracted / organic_results[].price.rawCurrent listing price as a number and as the displayed text, for example $371.99.
organic_results[].old_price.extractedEarlier price shown as crossed out, when the listing has one. Compare it with price to find discounts.
organic_results[].conditionCondition label of the listing, such as Pre-Owned. Some listings show a product name here instead.
organic_results[].buying_format / organic_results[].buying_format_textBuying format of the listing, for example buy_it_now and Buy It Now.
organic_results[].shippingShipping 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.reviewsSeller name, positive feedback percentage, and number of seller reviews.
organic_results[].product_ideBay item ID of the listing. Pass it to the product API.
categories[].idCategory ID that you can pass as category_id to narrow the search.
popular_filters[].parameterFilter value that you can pass in the popular_filters request parameter, such as Network=Unlocked.

Notes

  • Pass organic_results[].product_id as product_id to eBay Product to get details for one listing.
  • For the next page, set _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.
  • The inline_results array holds extra groups of items, such as best selling products and sponsored picks, with fewer fields than organic_results.

Pricing

$0.015 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.

さらに探索

関連 APIs

すべての APIs
API価格レスポンス
eBay Searchこの API
eBay
$0.015 / 回非同期 JSON
eBay$0.015 / 回非同期 JSON
eBay1回あたり $0.003 からJSON

ガイド:Best eBay API in 2026: Pricing Compared

質問

FAQ

eBay Search API はどのように使いますか?

Authorization ヘッダー(Bearer)に SandBase API key を指定し、パラメータを JSON ボディで送信して https://api.sandbase.ai/v1/api/ebay/search に POST リクエストを送ります。このページの Playground で、コードを書かずに試すこともできます。

eBay Search API の料金はいくらですか?

1回あたり $0.015、SandBase 残高から課金されます。課金対象はご利用分のみで、サブスクリプションはありません。

eBay Search API はどのパラメータを受け付けますか?

必須: _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 に、すべてのフィールドが一覧表示されています。

eBay Search API は何を返しますか?

JSON 結果です。このエンドポイントは非同期で実行されるため、レスポンスには完了した結果の取得方法が含まれます。 このページの README にサンプルレスポンスがあります。

eBay の開発者アカウントまたは API key は必要ですか?

いいえ。eBay Search は SandBase 経由で動作するため、SandBase の API key 1つでこのエンドポイントと、カタログ内の他のすべての API とモデルを利用できます。eBay の API アクセスを別途申請する必要はありません。