{
"opencollection": "1.0.0",
"info": {
"name": "eBay Account Advertising_eligibility Item_summary API",
"version": "v1.9.2"
},
"items": [
{
"info": {
"name": "Item_summary",
"type": "folder"
},
"items": [
{
"info": {
"name": "search",
"type": "http"
},
"http": {
"method": "GET",
"url": "https://api.ebay.com{basePath}/item_summary/search",
"headers": [
{
"name": "X-EBAY-C-ENDUSERCTX",
"value": ""
},
{
"name": "X-EBAY-C-MARKETPLACE-ID",
"value": ""
},
{
"name": "Accept-Language",
"value": ""
}
],
"params": [
{
"name": "aspect_filter",
"value": "",
"type": "query",
"description": "This field lets you filter by item aspects. The aspect name/value pairs and category, which is required, is used to limit the results to specific aspects of the item. For example, in a clothing category one aspect pair would be Color/Red.
Note: The category ID must be specified twice:
These two values must be the same.category_ids fieldaspect_filter field
For example, to return items for a woman's red shirt, issue the following request:
/buy/browse/v1/item_summary/search?q=shirt&category_ids=15724&aspect_filter=categoryId:15724,Color:{Red}To get a list of the aspect pairs and the category, which is returned in the dominantCategoryId field, set fieldgroups to ASPECT_REFINEMENTS as illustrated here:/buy/browse/v1/item_summary/search?q=shirt&fieldgroups=ASPECT_REFINEMENTSNote: The pipe symbol is used as a delimiter between aspect filter values. If a value contains a pipe symbol (for example, the brand name 'Bed|Stü'), you must enter a backslash before the pipe character to prevent it from being evaluated as a delimiter.
/buy/browse/v1/item_summary/search?limit=50&category_ids=3034&filter=buyingOptions:{AUCTION|FIXED_PRICE}&aspect_filter=categoryId:3034,Brand:{Bed\|Stü|Nike} For implementation help, refer to eBay API documentation at https://developer.ebay.com/api-docs/buy/browse/types/gct:AspectFilter"
},
{
"name": "auto_correct",
"value": "",
"type": "query",
"description": "A query parameter that enables auto correction./buy/browse/v1/item_summary/search?auto_correct=KEYWORDNote: Auto correction is currently supported in the following marketplaces:
KEYWORD"
},
{
"name": "category_ids",
"value": "",
"type": "query",
"description": "The category ID is used to limit the results that are returned. This field may pass in one category ID or a comma separated list of IDs as illustrated in the following examples:/buy/browse/v1/item_summary/search?category_ids=29792
/buy/browse/v1/item_summary/search?category_ids=267,29792Note: Currently, you can pass in only one category ID per request.
category_ids may be combined with EITHER:epid and/or gtin valuesq keywords/buy/browse/v1/item_summary/search?q=phone&category_ids=220Because the list of eBay category IDs is not published and category IDs are not the same across all eBay marketplaces, category IDs may be determined by:
dominantCategoryId for an item:/buy/browse/v1/item_summary/search?q= keyword&fieldgroups=ASPECT_REFINEMENTS
q query parameter."
},
{
"name": "charity_ids",
"value": "",
"type": "query",
"description": "The charity ID filters results to return only those items associated with the specified charity.charity_ids is only supported by the US and UK marketplaces.charity_ids may be retrieved/determined as follows:Important! The value to be passed in as charity_ids is that returned in the registrationId field.
530196605.charity_ids may be specified in each query. Additionally, charity_ids may be combined with category_ids and/or q keyword values to further filter returned results.charity_ids is:/buy/browse/v1/item_summary/search?charity_ids=13-1788491,300108469" }, { "name": "compatibility_filter", "value": "", "type": "query", "description": "This field specifies the attributes used to define a specific product. The service searches for items matching the keyword, or matching the keyword and a product attribute value in the title of the item.
brakes and compatibility-filter=Year:2018;Make:BMW, the items returned are items with brakes, 2018, or BMW in the title.Tip: Refer to the Samples section for a detailed example.
q (keyword)33559 Brakes)/buy/browse/v1/item_summary/search?epid=15032Note: When constructing a query,
epid may be combined with a gtin value. However, do not specify keywords using the q parameter — keywords cannot be used in conjunction with an epid."
},
{
"name": "fieldgroups",
"value": "",
"type": "query",
"description": "A comma-separated list of values that controls what is returned in the response. The default is MATCHING_ITEMS, which returns the items that match the keyword or category specified. The other values return data that can be used to create histograms or provide additional information.ASPECT_REFINEMENTSASPECT_REFINEMENTS is category specific.BUYING_OPTION_REFINEMENTSCATEGORY_REFINEMENTSCONDITION_REFINEMENTSNEW, USED, etc., to the response. Within these groups are multiple states of the condition.NEW can be New without tag, New in box, New without box, etc.EXTENDEDMATCHING_ITEMS (default value)FULLMATCHING_ITEMS"
},
{
"name": "filter",
"value": "",
"type": "query",
"description": "An array of field filters that can be used to limit/customize the result set./buy/browse/v1/item_summary/search?q=shirt&filter=price:[10..50]Filters may also be combined within a single request as illustrated in the sample below which further refines results to return only those shirts available from specific sellers:
/buy/browse/v1/item_summary/search?q=shirt&filter=price:[10..50],sellers:{rpseller|bigSal} For implementation help, refer to eBay API documentation at https://developer.ebay.com/api-docs/buy/browse/types/cos:FilterField"
},
{
"name": "gtin",
"value": "",
"type": "query",
"description": "This field lets you search by the Global Trade Item Number of an item as defined by https://www.gtin.info./buy/browse/v1/item_summary/search?gtin=099482432621Note: You can search only by UPC (Universal Product Code). To search using another GTIN format, you must search by keyword.Note: When constructing a query,
gtin may be combined with an epid value. However, do not specify keywords using the q parameter — keywords cannot be used in conjunction with gtin."
},
{
"name": "limit",
"value": "",
"type": "query",
"description": "The number of items from the result set returned in a single page.limit field, the value of offset must be either zero or a multiple of the limit value. An error is returned for invalid offset values.limit field to control the pagination of the output.offset is 0 and limit is 10, the method will retrieve items 1-10 from the list of items returnedoffset is 10 and limit is 10, the method will retrieve items 11-20 from the list of items returned.offset must be either zero or a multiple of the value set in the limit field. An error is returned for invalid offset values.* wildcard character is not allowed in this field.AND request. For example, to retrieve items that include both of the keywords iphone AND ipad, submit the following query:/buy/browse/v1/item_summary/search?q=iphone ipad
OR request. For example, to retrieve items that include iphone OR ipad, submit one of the following queries:/buy/browse/v1/item_summary/search?q=(iphone, ipad)
/buy/browse/v1/item_summary/search?q=%28iphone%2c%20ipad%29
q parameter, do not include an epid or gtin parameter value as neither can be used in conjuction with a keyword search."
},
{
"name": "sort",
"value": "",
"type": "query",
"description": "Specifies the criteria on which returned items are to be sorted.sort=price)X-EBAY-C-ENDUSERCTX request header is used, andcontextualLocation parameter specifies the delivery country and postal code.X-EBAY-C-ENDUSERCTX: contextualLocation=country%3DUS%2Czip%3D19406Descending price order
price as the search criterion:sort=-price
sort=distance)Important! When sorting by distance, all required pickup filters must be included in the request.
sort=newlyListed)sort=endingSoonest)FIXED_PRICE (Buy It Now) is a buying option are returned by default. To retrieve listings that do not have FIXED_PRICE as a buying option, the buyingOptions filter can be used to retriev"
},
{
"info": {
"name": "searchByImage",
"type": "http"
},
"http": {
"method": "POST",
"url": "https://api.ebay.com{basePath}/item_summary/search_by_image",
"headers": [
{
"name": "X-EBAY-C-ENDUSERCTX",
"value": ""
},
{
"name": "X-EBAY-C-MARKETPLACE-ID",
"value": ""
},
{
"name": "Content-Type",
"value": ""
},
{
"name": "Accept-Language",
"value": ""
}
],
"params": [
{
"name": "aspect_filter",
"value": "",
"type": "query",
"description": "This field lets you filter by item aspects. The aspect name/value pairs and category, which is required, is used to limit the results to specific aspects of the item. For example, in a clothing category one aspect pair would be Color/Red.category_ids fieldaspect_filter field/buy/browse/v1/item_summary/search?q=shirt&category_ids=15724&aspect_filter=categoryId:15724,Color:{Red}To get a list of the aspect pairs and the category, which is returned in the dominantCategoryId field, set fieldgroups to ASPECT_REFINEMENTS as illustrated here:/buy/browse/v1/item_summary/search?q=shirt&fieldgroups=ASPECT_REFINEMENTSNote: The pipe symbol is used as a delimiter between aspect filter values. If a value contains a pipe symbol (for example, the brand name 'Bed|Stü'), you must enter a backslash before the pipe character to prevent it from being evaluated as a delimiter.
/buy/browse/v1/item_summary/search?limit=50&category_ids=3034&filter=buyingOptions:{AUCTION|FIXED_PRICE}&aspect_filter=categoryId:3034,Brand:{Bed\|Stü|Nike} For implementation help, refer to eBay API documentation at https://developer.ebay.com/api-docs/buy/browse/types/gct:AspectFilter"
},
{
"name": "category_ids",
"value": "",
"type": "query",
"description": "The category ID is used to limit the results that are returned. This field may pass in one category ID or a comma separated list of IDs as illustrated in the following examples:/buy/browse/v1/item_summary/searchByImage?category_ids=29792
/buy/browse/v1/item_summary/searchByImage?category_ids=267,29792Note: Currently, you can pass in only one category ID per request.
category_ids may be combined with other available filters.dominantCategoryId for an item:/buy/browse/v1/item_summary/searchByImage?q= keyword&fieldgroups=ASPECT_REFINEMENTS
charity_ids is only supported by the US and UK marketplaces.charity_ids may be retrieved/determined as follows:Important! The value to be passed in as charity_ids is that returned in the registrationId field.
530196605.charity_ids may be specified in each query. Additionally, charity_ids may be combined with category_ids and/or q keyword values to further filter returned results.charity_ids is:/buy/browse/v1/item_summary/search?charity_ids=13-1788491,300108469" }, { "name": "fieldgroups", "value": "", "type": "query", "description": "A comma-separated list of values that controls what is returned in the response. The default is
MATCHING_ITEMS, which returns the items that match the keyword or category specified. The other values return data that can be used to create histograms or provide additional information.ASPECT_REFINEMENTSASPECT_REFINEMENTS is category specific.BUYING_OPTION_REFINEMENTSCATEGORY_REFINEMENTSCONDITION_REFINEMENTSNEW, USED, etc., to the response. Within these groups are multiple states of the condition.NEW can be New without tag, New in box, New without box, etc.EXTENDEDMATCHING_ITEMS (default value)FULLMATCHING_ITEMS"
},
{
"name": "filter",
"value": "",
"type": "query",
"description": "An array of field filters that can be used to limit/customize the result set./buy/browse/v1/item_summary/search?q=shirt&filter=price:[10..50]Filters may also be combined within a single request as illustrated in the sample below which further refines results to return only those shirts available from specific sellers:
/buy/browse/v1/item_summary/search?q=shirt&filter=price:[10..50],sellers:{rpseller|bigSal}Note: Refer to Buy API Field Filters for additional information and examples of all supported filters. For implementation help, refer to eBay API documentation at https://developer.ebay.com/api-docs/buy/browse/types/cos:FilterField"
},
{
"name": "limit",
"value": "",
"type": "query",
"description": "The number of items from the result set returned in a single page.limit field, the value of offset must be either zero or a multiple of the limit value. An error is returned for invalid offset values.limit field to control the pagination of the output.offset is 0 and limit is 10, the method will retrieve items 1-10 from the list of items returnedoffset is 10 and limit is 10, the method will retrieve items 11-20 from the list of items returned.offset must be either zero or a multiple of the value set in the limit field. An error is returned for invalid offset values.