openapi: 3.0.0 info: title: eBay Account Advertising_eligibility Item_summary API description: The Account API gives sellers the ability to configure their eBay seller accounts, including the seller's policies (eBay business policies and seller-defined custom policies), opt in and out of eBay seller programs, configure sales tax tables, and get account information.

For details on the availability of the methods in this API, see Account API requirements and restrictions. contact: name: eBay Inc, license: name: eBay API License Agreement url: https://go.developer.ebay.com/api-license-agreement version: v1.9.2 servers: - url: https://api.ebay.com{basePath} description: Production variables: basePath: default: /sell/account/v1 tags: - name: Item_summary paths: /item_summary/search: get: tags: - Item_summary description: This method searches for eBay items by various query parameters and retrieves summaries of the items. You can search by keyword, category, eBay product ID (ePID), or GTIN, charity ID, or a combination of these.

Note: Only listings where 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 retrieve those listings.

Note that an auction listing enabled with the Buy it Now feature will initially show AUCTION and FIXED_PRICE as buying options, but if/when that auction listing receives a qualifying bid, only AUCTION remains as a buying option. If this happens, the buyingOptions filter would need to be used to retrieve that auction listing.

This method also supports the following:For additional information and examples of these capabilities, refer to Browse API in the Buying Integration Guide.

Pagination and sort controls

There are pagination controls (limit and offset fields) and sort query parameters that control/sort the data that are returned. By default, results are sorted by Best Match. For more information about Best Match, refer to Best Match.

Restrictions

This method can return a maximum of 10,000 items. For a list of supported sites and other restrictions, refer to API Restrictions.

eBay Partner Network: In order to receive a commission for your sales, you must use the URL returned in the itemAffiliateWebUrl field to forward your buyer to the ebay.com site. operationId: search parameters: - name: aspect_filter in: 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.
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_REFINEMENTS
Note: 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.

The following example illustrates the correct format for entering two brand names as aspect filter values, one of which contains a pipe symbol:
/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 required: false schema: type: string - name: auto_correct in: query description: A query parameter that enables auto correction.

A sample is shown below:
/buy/browse/v1/item_summary/search?auto_correct=KEYWORD
Note: Auto correction is currently supported in the following marketplaces:
Valid Values: KEYWORD required: false schema: type: string - name: category_ids in: 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,29792
Note: Currently, you can pass in only one category ID per request.
To refine the set of information that is returned, category_ids may be combined with EITHER:For example, when looking of a toy phone, simply searching for "phone" will return mobile phones because that is the "Best Match" for the search. To further refine the request to include toy phones, include the Toys & Hobbies category ID as illustrated here:
/buy/browse/v1/item_summary/search?q=phone&category_ids=220
Because 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:Note: If a top-level (L1) category is specified, you must also include a q query parameter. required: false schema: type: string - name: charity_ids in: query description: 'The charity ID filters results to return only those items associated with the specified charity.

Note: charity_ids is only supported by the US and UK marketplaces.
Charity ID is a charity''s unique identification number:
charity_ids may be retrieved/determined as follows:Up to 20 comma-separated 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.

A sample query using charity_ids is:
/buy/browse/v1/item_summary/search?charity_ids=13-1788491,300108469
' required: false schema: type: string - name: compatibility_filter in: 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.

Note: The only products supported are cars, trucks, and motorcycles.
For example, if the keyword is brakes and compatibility-filter=Year:2018;Make:BMW, the items returned are items with brakes, 2018, or BMW in the title.

The service uses the product attributes to determine whether the item is compatible. The service returns the attributes that are compatible and the CompatibilityMatchEnum value that indicates how well the item matches the attributes.

Tip: Refer to the Samples section for a detailed example.


Best Practice: Submit all of the product attributes for the specific product.

To find the attributes and values for a specific marketplace, use the getCompatibilityProperties method in the Taxonomy API.

For more information, refer to Check compatibility in the Buying Integration Guide.

Note: Testing in Sandbox is only supported using mock data. Refer to Testing search in the Sandbox for details.
Required: For implementation help, refer to eBay API documentation at https://developer.ebay.com/api-docs/buy/browse/types/gct:CompatibilityFilter' required: false schema: type: string - name: epid in: query description: The ePID is the eBay product identifier of a product from the eBay product catalog. This field limits the results to only items in the specified ePID.

Use the product_summary/search method in the Catalog API to search for the ePID of the product.

For example:
/buy/browse/v1/item_summary/search?epid=15032
Note: 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. required: false schema: type: string - name: fieldgroups in: 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.

Valid Values:Default: MATCHING_ITEMS required: false schema: type: string - name: filter in: query description: 'An array of field filters that can be used to limit/customize the result set.

Refer to Buy API Field Filters for additional information and examples of all supported filters.

For example, to filter shirts based on a specific range of prices, include the filter illustrated here:
/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' required: false schema: type: string - name: gtin in: query description: This field lets you search by the Global Trade Item Number of an item as defined by https://www.gtin.info.

For example:
/buy/browse/v1/item_summary/search?gtin=099482432621
Note: 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. required: false schema: type: string - name: limit in: query description: The number of items from the result set returned in a single page.

Note: If a value is set in the 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.
Note: This method can return a maximum of 10,000 items in one results set.
Min: 1

Max: 200

Default: 50 required: false schema: type: string - name: offset in: query description: 'Specifies the number of items to skip in the result set. This is used with the limit field to control the pagination of the output.

For example:Note: The value of offset must be either zero or a multiple of the value set in the limit field. An error is returned for invalid offset values.
Note: This method can return a maximum of 10,000 items in one results set.
Min: 0

Max: 9,999

Default: 0' required: false schema: type: string - name: q in: query description: A string consisting of one or more keywords used to search for items on eBay.

Note: The * wildcard character is not allowed in this field.
When providing two or more keywords in a single query, the string is processed as follows:
Note: When specifying keywords using the q parameter, do not include an epid or gtin parameter value as neither can be used in conjuction with a keyword search. required: false schema: type: string - name: sort in: query description: 'Specifies the criteria on which returned items are to be sorted.

Items can be sorted in ascending order based on: