Sand AISand AI MAGI-2MAGI-2 est maintenant sur SandBase : vidéo 1080p avec audio natifEssayer maintenant

eBay Search

Docs 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.

Prix
$0.015USD / appel
Méthode
POST
Réponse
JSON asynchrone
Paramètres
1 obligatoires · 19 facultatifs

Bac à sable

Entrée
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.
SortiePrêt

Votre sortie apparaîtra ici

Complétez les entrées, puis cliquez sur Exécuter.

README de l'API

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.

Explorer plus

APIs associées

Toutes les APIs
APIPrixRéponse
eBay SearchCette API
eBay
$0.015 par appelJSON asynchrone
eBay$0.015 par appelJSON asynchrone
eBayÀ partir de $0.003 par appelJSON

Guides :Best eBay API in 2026: Pricing Compared

Questions

FAQ

Comment utiliser l’API eBay Search ?

Envoyez une requête POST à https://api.sandbase.ai/v1/api/ebay/search avec votre clé API SandBase dans l’en-tête Authorization (Bearer) et les paramètres dans un corps JSON. Vous pouvez aussi l’essayer dans le Playground sur cette page sans écrire de code.

Combien coûte l’API eBay Search ?

$0.015 par appel, facturé depuis votre solde SandBase. Vous ne payez que les appels que vous effectuez ; aucun abonnement.

Quels paramètres l’API eBay Search accepte-t-elle ?

Obligatoire : _nkw (string | number | boolean). Facultatif : _dmd (string | number | boolean), _ipg (string | number | boolean), _pgn (string | number | boolean), _sop (string | number | boolean), _blrs (string | number | boolean) et _sasl (string | number | boolean) et 13 de plus. Le tableau des paramètres et le Playground sur cette page listent tous les champs.

Que renvoie l’API eBay Search ?

Un résultat JSON. Ce point de terminaison s’exécute de manière asynchrone, donc la réponse vous indique comment récupérer le résultat final. Le README sur cette page inclut un exemple de réponse.

Ai-je besoin d’un compte développeur ou d’une clé API eBay ?

Non. eBay Search fonctionne via SandBase, donc une seule clé API SandBase couvre ce point de terminaison ainsi que toutes les autres API et tous les modèles du catalogue. Vous n’avez pas besoin de demander un accès API eBay séparément.