findItemsByKeywords

findItemsByKeywords lets you to search for items on eBay by a keyword query (keywords).

The response contains details about items matching the search criteria. By default, eBay returns a specific set of data in the response to your call. findItemsByKeywords lets you refine your search results using item filters (itemFilter) and aspect filters (aspectFilter). Use paginationInput and outputSelector to control the amount of data returned from each request. Results are sorted by Best Match by default, with the most relevant items listed first. Use sortOrder to specify a different sort order, such as sorting by current price or the listing end time.

The following sections detail how to control the information returned in the response sets:

Specifying the eBay Site

The GLOBAL-ID URL parameter (or X-EBAY-SOA-GLOBAL-ID HTTP header) specifies the eBay site to use for searches. When specifying a global ID (e.g., EBAY-DE for the eBay Germany site), the search response contains only items available on the site specified. If you do not specify a global ID, eBay uses the US site (EBAY-US) by default.

For more information about URL parameters and HTTP headers, see Making a Finding API Call.

Controlling Results with Item Filters

Filters provide you with control over search results by narrowing the range of items returned. The itemFilter container uses name/value pairs to describe specific filters. You can specify filters for variety of properties, including the item condition, number of bids, price range, listing type, and so on. All item filters are optional input parameters.

For example, the following URL-formatted filter specifies that items returned in the result must have free shipping:

...&itemFilter.name=FreeShippingOnly&itemFilter.value=true...

Some filters take additional parameters. For example, when using the MaxPrice or MinPrice filters, you can specify the currency value with itemFilter.paramName and itemFilter.paramValue. When you use MaxPrice and MinPrice item filters, itemFilter.paramName defaults to Currency and itemFilter.paramValue defaults to USD.

If you specify multiple item filter name/value pairs in a URL message format, you must specify the multiple filters using array notation, as shown in the following example:

...&itemFilter(0).name=FreeShippingOnly&itemFilter(0).value=true&itemFilter(1).name=ListingType&itemFilter(1).value=FixedPrice...

For more details on how to use item filters, see Refining a Search with Item Filters in the User Guide. See the ItemFilterType type documentation for more information about the allowed values, usage rules, and dependencies.

Refining Results with Aspect and Domain Filters

Aspects are well-known, standardized characteristics of an item. For example, "Style," "Color," and "Shoe Size" could be aspects of Men's Shoes. Aspects can vary for different kinds of items—the aspects of Men's Shoes are different from those of Digital Cameras (aspects for Digital Cameras might include "Optical Zoom" and "Megapixels"). Domains are a buy-side grouping of items, such as shoes or digital cameras. A domain can span many eBay categories.

Aspect and domain information can be used to create filters to refine your search results. To see aspects in action, a search request on the eBay site often displays aspects and their respective aspect values on the left-hand side of a search result page Aspect values are the details of the aspect. For instance, Optical Zoom might have an associated aspect value of "10x." eBay determines aspect values from listing properties such as item specifics, titles, and subtitles.

When searching for items with one of the Finding API calls, you can request that an aspect histogram to be returned in the result. In a URL request, specify outputSelector=AspectHistogram. The resulting aspect histogram provides information you can use to refine your search. The histogram lists the aspects for the domain that are most pertinent to your search. In addition, for each aspect, all the associated aspect values are listed with the number of active listings that match that given aspect value. For example, "Athletic" or "Dress Shoes" could be aspect values associated with the "Style" aspect of Men's Shoes.

Aspect filters consist of an aspectName, and one or more aspectValueName values. Find the values for each of these fields in the aspect containers returned in a query response that has aspect histogram values. For example, the following shows a URL-formatted aspect filter using values taken from a previous search response:

...&aspectFilter.aspectName=Sub Style&aspectFilter.aspectValueName=Running Shoes...

Domain filters consist of one or more domainName values. The domainName value is in the aspectHistogramContainer returned in a query response that has aspect histogram values. For example, the following shows a URL-formatted domain filter using values taken from a previous search response:

...&domainFilter.domainName=Digital_Cameras...

See aspectFilter and domainFilter for more information.

Finding Local Items

You can specify buyerPostalCode for distance-based searching. Find items located close to you by specifying buyerPostalCode and setting sortOrder to Distance. The following sample will sort matching items in the results with items closest to the buyer's postal code listed first:

...&buyerPostalCode=95125&sortOrder=Distance...

You can locate items that have been listed for local-markets only by specifying a buyerPostalCode and item filters for LocalSearch and MaxDistance. The following sample returns only the items listed for both for local markets and are located within a 100-mile radius of the buyer's postal code (wrapped for readability):

...&buyerPostalCode=95125&itemFilter(0).name=LocalSearchOnly&itemFilter(0).value=true
&itemFilter(1).name=MaxDistance&itemFilter(1).value=100...

Note that depending on the specified global ID, the value returned for the distance can be in either kilometers or miles. For example, if the global ID is EBAY-DE (Germany), the distance is returned as kilometers.

Expanding Output Data with outputSelector Fields

Each searchResult.item container returns with a default set of data for the items matching your request. If you want more data than the default set of data, use one or more outputSelector fields to expand the results:

If you are using a URL-formatted request, specify multiple outputSelector fields using array notation, as shown in the following example:

...&outputSelector(0)=SellerInfo&outputSelector(1)=StoreInfo...

See outputSelector for more information.

Sorting the Output

Use the sortOrder element to specify the order in which the returned items are sorted. For example, specify a value of PricePlusShippingAsc to sort results by the combined cost of item price plus shipping cost, with the lowest priced items listed first. Sorting has no affect upon the quantity of returned results.

The default sort order is by best match (BestMatch), which sorts items by relevancy to your search. Relevancy is based upon community buying activity and other relevance-based factors.

See sortOrder for more information.

Paginating the Results

Use paginationInput and its child elements to control which set of items matching the search criteria are returned in the result set. Use paginationInput to divide the returned items into subsets, or "pages," of data:

By default, the response returns the first page of data up to a maximum of 100 items. The following example shows how to return the second page of results, with each page containing a maximum of 50 items:

...&paginationInput.pageNumber=2&paginationInput.entriesPerPage=50...

In this example, the response will contain the matching items 51 to 100, assuming there are at least 100 matching items.

In the response, paginationOutput contains corresponding fields for paginating data:

See paginationInput and paginationOutput for more information.

Specifying Affiliate Details

Affiliates can earn money from eBay by driving traffic to eBay. As an affiliate, you promote eBay on your site. If eBay captures a sale or a new member registration through your promotion, eBay will pay you money. eBay tracks the traffic generated from your application by your affiliate ID, which you need to embed in your code. Commissions are generated when users perform qualifying actions, such as bidding, buying, or registering on the site.

The affiliate container has the following fields: networkId, trackingId, and customId. If you are registered with eBay Partner Network, the networkId is 9 and the trackingId is your Campaign ID.

The following example shows how to specify your affiliate tracking details in a URL:

...&affiliate.trackingId=1234567899&affiliate.networkId=9&affiliate.customId=234...

Related Information

See also the reference documentation for these calls:



Back to top

findItemsByKeywords Input

The box below lists all fields that could be included in the call request. To learn more about an individual field or its type, click its name in the box (or scroll down to find it in the table below the box).

See also Samples.

<?xml version="1.0" encoding="utf-8"?>
<findItemsByKeywordsRequest xmlns="http://www.ebay.com/marketplace/search/v1/services">
  <!-- Standard Input Fields -->
  <affiliate> Affiliate 
    <customId> string </customId>
    <networkId> string </networkId>
    <trackingId> string </trackingId>
  </affiliate>
  <buyerPostalCode> string </buyerPostalCode>
  <paginationInput> PaginationInput 
    <entriesPerPage> int </entriesPerPage>
    <pageNumber> int </pageNumber>
  </paginationInput>
  <sortOrder> SortOrderType </sortOrder>
  <!-- Call-specific Input Fields -->
  <aspectFilter> AspectFilter 
    <aspectName> string </aspectName>
    <aspectValueName> string </aspectValueName>
    <!-- ... more aspectValueName nodes here ... -->
  </aspectFilter>
  <!-- ... more aspectFilter nodes here ... -->
  <domainFilter> DomainFilter 
    <domainName> string </domainName>
    <!-- ... more domainName nodes here ... -->
  </domainFilter>
  <!-- ... more domainFilter nodes here ... -->
  <itemFilter> ItemFilter 
    <name> ItemFilterType </name>
    <paramName> token </paramName>
    <paramValue> string </paramValue>
    <value> string </value>
    <!-- ... more value nodes here ... -->
  </itemFilter>
  <!-- ... more itemFilter nodes here ... -->
  <keywords> string </keywords>
  <outputSelector> OutputSelectorType </outputSelector>
  <!-- ... more outputSelector nodes here ... -->
</findItemsByKeywordsRequest>
Argument Type Occurrence Meaning
Standard Input Fields   [Jump to call-specific fields]
affiliate Affiliate Optional Container for affiliate details. eBay uses the specified affiliate information to build a View Item URL and Product URL string with correctly formatted affiliate tracking information, which it returns in the response. You can publish these URLs, and if a user clicks them to access eBay, the respective affiliate might get a commission, depending on the user's actions.

See the eBay Partner Network site for information about affiliate commissions.

Refer to the following sample for details on including affiliate information:
  Specifying affiliate information
affiliate.customId string Optional You can define an affiliate customId if you want an ID to monitor your marketing efforts. Chose an ID up to up to 256 characters in length. If you are using the eBay Partner Network, and you provide a customId, the tracking URL returned by the eBay Partner Network will contain your customId value.
affiliate.networkId string Optional Specifies your tracking partner for affiliate commissions. Affiliates earn money from eBay for driving traffic to eBay. This field is required if you specify a tracking ID. Depending on your tracking partner, specify one of the following values. Not all partners are valid for all sites. For PlaceOffer, only the eBay Partner Network and Mediaplex are valid:

2 = Be Free
3 = Affilinet
4 = TradeDoubler
5 = Mediaplex
6 = DoubleClick
7 = Allyes
8 = BJMT
9 = eBay Partner Network

For information about commissions, see the eBay Partner Network site.
affiliate.trackingId string Optional Specify the affiliate value obtained from your tracking partner. For the eBay Partner Network, the tracking ID is the provided Campaign ID ("campid"). A Campaign ID is a unique 10-digit number used for associating traffic and is valid across all programs to which you have been accepted. Another example of this value is the Affiliate ID given to you by TradeDoubler.
buyerPostalCode string Optional The postal code of the buyer. This is used as the basis for proximity searches as well as local searches.

The following sample uses buyerPostalCode and the MaxDistance itemFilter to perform a proximity search:
  Proximity Search
paginationInput PaginationInput Optional Controls the pagination of the result set. Child elements specify the maximum number of item listings to return per call and the page of data to return. Controls the number of listings returned in the response, but does not specify the details to return for each listing.

Note: No more than 10,000 items can be retrieved for a given search, regardless of how many matches are found. This limit is enforced by the maximum page number allowed (100) and the maximum entries per page allowed (100).
paginationInput.entriesPerPage int Optional Specifies the maximum number of entries to return in a single call. If the number of entries found on the specified pageNumber is less than the value specified here, the number of items returned will be less than the value of entriesPerPage. This indicates the end of the result set.

If entriesPerPage is set to a number greater than 100, the default value, 100, will be used.
Max: 100. Default: 100.
paginationInput.pageNumber int Optional Specifies which subset of data (or "page") to return in the call response. The number of data pages is determined by the total number of items matching the request search criteria (returned in paginationOutput.totalEntries) divided by the number of entries to display in each response (entriesPerPage). You can return up to the first 100 pages of the result set by issuing multiple requests and specifying, in sequence, the pages to return.
Max: 100. Default: 1.
sortOrder SortOrderType Optional Sort the returned items according to a single specified sort order.
Default: BestMatch.

Applicable values:

•   BestMatch

(in) Sorts items by Best Match, which is based on community buying activity and other relevance-based factors.

•   CurrentPriceHighest

(in) Sorts items by their current price, with the highest price first.

•   DistanceNearest

(in) Sorts items by distance from the buyer in ascending order. The request must also include a buyerPostalCode.

•   EndTimeSoonest

(in) Sorts items by end time, with items ending soonest listed first.

•   PricePlusShippingHighest

(in) Sorts items by the combined cost of the item price plus the shipping cost, with highest combined price items listed first. Items are returned in the following groupings: highest total-cost items (for items where shipping was properly specified) appear first, followed by freight- shipping items, and then items for which no shipping was specified. Each group is sorted by price.

•   PricePlusShippingLowest

(in) Sorts items by the combined cost of the item price plus the shipping cost, with the lowest combined price items listed first. Items are returned in the following groupings: lowest total-cost items (for items where shipping was properly specified) appear first, followed by freight- shipping items, and then items for which no shipping was specified. Each group is sorted by price.

•   StartTimeNewest

(in) Sorts items by the start time, the most recently listed (newest) items appear first.


Call-specific Input Fields
aspectFilter AspectFilter Optional,
repeatable: [0..*]
Aspect filters refine (limit) the number of items returned by a find request. Obtain input values for aspectFilter fields from an aspectHistogramContainer returned in the response of a previous query.

By issuing a series of find queries, you can continually refine the items returned in your responses. Do this by repeating a query using the aspect values returned in one response as the input values to your next query.

For example, the aspectHistogramContainer in a response on Men's Shoes could contain an aspect of Size, along with "aspect values" for the different sizes currently available in Men's Shoes. By populating aspectFilter fields with the values returned in an aspectHistogramContainer, you can hone the item results returned by your new query.

For more information on aspects, aspect values, and domains, refer to aspectHistogramContainer.
Refer to the following samples to see aspectFilters in action:
  Returning Aspect Histogram Information
   Refining Results Using Aspect Filters
aspectFilter.aspectName string Optional Name of a standard item characteristic associated with a given domain. For example, "Optical Zoom" or "Megapixels" are aspects for the Digital Cameras domain. The current aspect names associated with a specific domain can be found in the aspect histogram. Aspect histograms can be retrieved for a given keyword query or category. The aspect histogram contains information about aspects from the domain that is most relevant to your search (or category).
aspectFilter.aspectValueName string Optional,
repeatable: [1..*]
A value name for a given aspect. For example, "Point & Shoot" is a value name for the "Product Type" aspect in the "Digital Cameras" domain.
domainFilter DomainFilter Optional,
repeatable: [0..*]
Restricts results to items listed within the specified domain. Domains are a buy-side grouping of items, such as shoes or digital cameras. A domain can span multiple eBay categories.
domainFilter.domainName string Optional,
repeatable: [1..*]
Specify the name of the domain to which you want to restrict search results. Only items listed within the specified domain will be returned in the search results. Domain names can be retrieved from an aspect histogram.
itemFilter ItemFilter Optional,
repeatable: [0..*]
Reduces the number of items returned in the response according to the filters you specify.
itemFilter.name ItemFilterType Optional Specify the name of the item filter you want to use. The itemFilter name must have a corresponding value. You can apply multiple itemFilter Name/Value pairs in a single request. See the ItemFilterType type documentation for more information about the allowed values, usage rules, and dependencies.

Refer to the following samples to see itemFilters in action:
  Using itemFilters to define a price range
  Using itemFilters to search for used Buy It Now items

Applicable values: See name.
itemFilter.paramName token Optional In addition to filter Name/Value pairs, some itemFilters use an additional parameter Name/Value pair. Specifically, filters that use currency values (MaxPrice and MinPrice) make use of addition parameters. When you use these itemFilters, set paramName to Currency and provide the currency ID in paramValue.

For example, if you use the MaxPrice itemFilter, you will need to specify a parameter Name of Currency with a parameter Value that specifies the type of currency desired.

Note that for MaxPrice and MinPrice itemFilters, the default value for paramName is Currency.
itemFilter.paramValue string Optional The currency value associated with the respective itemFilter parameter Name.

Usually paramName is set to Currency and paramValue is set to the currency type in which the monetary transaction occurs. For a list of possible currency enumeration values, see currencyId Values.

Note that for MaxPrice and MinPrice itemFilters, the default value for paramValue is USD.
itemFilter.value string Optional,
repeatable: [1..*]
The value associated with the respective itemFilter name. See the ItemFilterType type documentation for more information about the allowed values, usage rules, and dependencies.
keywords string Required Specify one or more words to use in a search query for finding items on eBay. By default, queries search item titles only. When running queries, it is best to include complete keywords values--eBay checks words in context with each other. If you are using a URL request and your keyword query consists of multiple words, use "%20" to separate the words. For example, use "Harry%20Potter" to search for items containing those words in any order.

You can incorporate wildcards in a multi-word search. For example, "ap*%20ip*" returns results for "apple ipod" among other matches. The words "and" and "or" are treated like any other word (and not their logical connotation). Only use "and", "or", or "the" if you are searching for listings containing those specific words.

For a list of valid wildcard characters, see Searching by Keywords.
Max length: 350. The maximum length for a single word is 98.
outputSelector OutputSelectorType Optional,
repeatable: [0..*]
Specifies what item data to return in a response in addition to the default set of data.

If you don't specify this field, eBay returns a default set of item fields. Use outputSelector to include more item information in the response. The additional data is grouped into discrete nodes. You can specify multiple nodes by including this field multiple times, as needed, in the request.

If you specify this field, the additional fields returned can affect the call's performance (response time), as is the case with including seller feedback data.

Applicable values:

•   AspectHistogram

(in) Include an AspectHistogram container with information about aspects from the domain that is most relevant to your search.

•   CategoryHistogram

(in) Include a CategoryHistogram container with information about categories that match your search.

•   SellerInfo

(in) Include information about the seller in the response.

•   StoreInfo

(in) Include information about the seller's eBay store in the response.


See Detail Controls.



Back to top

findItemsByKeywords Output

The box below lists all fields that might be returned in the response. To learn more about an individual field or its type, click its name in the box (or scroll down to find it in the table below the box).

See also Samples.

<?xml version="1.0" encoding="utf-8"?>
<findItemsByKeywordsResponse xmlns="http://www.ebay.com/marketplace/search/v1/services">
  <!-- Standard Output Fields -->
  <ack> AckValue </ack>
  <errorMessage> ErrorMessage 
    <error> ErrorData 
      <category> ErrorCategory </category>
      <domain> string </domain>
      <errorId> long </errorId>
      <exceptionId> token </exceptionId>
      <message> string </message>
      <parameter name="string"> ErrorParameter (string) </parameter>
      <!-- ... more parameter nodes here ... -->
      <severity> ErrorSeverity </severity>
      <subdomain> string </subdomain>
    </error>
    <!-- ... more error nodes here ... -->
  </errorMessage>
  <paginationOutput> PaginationOutput 
    <entriesPerPage> int </entriesPerPage>
    <pageNumber> int </pageNumber>
    <totalEntries> int </totalEntries>
    <totalPages> int </totalPages>
  </paginationOutput>
  <searchResult count="int"> SearchResult 
    <item> SearchItem 
      <autoPay> boolean </autoPay>
      <charityId> string </charityId>
      <compatibility> string </compatibility>
      <country> token </country>
      <distance unit="string"> Distance (double) </distance>
      <galleryPlusPictureURL> anyURI </galleryPlusPictureURL>
      <!-- ... more galleryPlusPictureURL nodes here ... -->
      <galleryURL> anyURI </galleryURL>
      <globalId> token </globalId>
      <itemId> string </itemId>
      <listingInfo> ListingInfo 
        <bestOfferEnabled> boolean </bestOfferEnabled>
        <buyItNowAvailable> boolean </buyItNowAvailable>
        <buyItNowPrice currencyId="string"> Amount (double) </buyItNowPrice>
        <convertedBuyItNowPrice currencyId="string"> Amount (double) </convertedBuyItNowPrice>
        <endTime> dateTime </endTime>
        <gift> boolean </gift>
        <listingType> token </listingType>
        <startTime> dateTime </startTime>
      </listingInfo>
      <location> string </location>
      <paymentMethod> token </paymentMethod>
      <!-- ... more paymentMethod nodes here ... -->
      <postalCode> string </postalCode>
      <primaryCategory> Category 
        <categoryId> string </categoryId>
        <categoryName> string </categoryName>
      </primaryCategory>
      <productId> ProductId (string) </productId>
      <secondaryCategory> Category 
        <categoryId> string </categoryId>
        <categoryName> string </categoryName>
      </secondaryCategory>
      <sellerInfo> SellerInfo 
        <feedbackRatingStar> token </feedbackRatingStar>
        <feedbackScore> long </feedbackScore>
        <positiveFeedbackPercent> double </positiveFeedbackPercent>
        <sellerUserName> string </sellerUserName>
        <topRatedSeller> boolean </topRatedSeller>
      </sellerInfo>
      <sellingStatus> SellingStatus 
        <bidCount> int </bidCount>
        <convertedCurrentPrice currencyId="string"> Amount (double) </convertedCurrentPrice>
        <currentPrice currencyId="string"> Amount (double) </currentPrice>
        <sellingState> token </sellingState>
        <timeLeft> duration </timeLeft>
      </sellingStatus>
      <shippingInfo> ShippingInfo 
        <shippingServiceCost currencyId="string"> Amount (double) </shippingServiceCost>
        <shippingType> token </shippingType>
        <shipToLocations> string </shipToLocations>
        <!-- ... more shipToLocations nodes here ... -->
      </shippingInfo>
      <storeInfo> Storefront 
        <storeName> string </storeName>
        <storeURL> anyURI </storeURL>
      </storeInfo>
      <subtitle> string </subtitle>
      <title> string </title>
      <viewItemURL> anyURI </viewItemURL>
    </item>
    <!-- ... more item nodes here ... -->
  </searchResult>
  <timestamp> dateTime </timestamp>
  <version> string </version>
  <!-- Call-specific Output Fields -->
  <aspectHistogramContainer> AspectHistogramContainer 
    <aspect name="string"> Aspect 
      <valueHistogram valueName="string"> AspectValueHistogram 
        <count> long </count>
      </valueHistogram>
      <!-- ... more valueHistogram nodes here ... -->
    </aspect>
    <!-- ... more aspect nodes here ... -->
    <domainDisplayName> token </domainDisplayName>
    <domainName> string </domainName>
  </aspectHistogramContainer>
  <categoryHistogramContainer> CategoryHistogramContainer 
    <categoryHistogram> CategoryHistogram 
      <categoryId> string </categoryId>
      <categoryName> string </categoryName>
      <childCategoryHistogram> CategoryHistogram 
        <categoryId> string </categoryId>
        <categoryName> string </categoryName>
        <count> long </count>
      </childCategoryHistogram>
      <!-- ... more childCategoryHistogram nodes here ... -->
      <count> long </count>
    </categoryHistogram>
    <!-- ... more categoryHistogram nodes here ... -->
  </categoryHistogramContainer>
</findItemsByKeywordsResponse>
Return Value Type Occurrence Meaning
Standard Output Fields   [Jump to call-specific fields]
ack AckValue Always Indicates whether or not errors or warnings were generated during the processing of the request.

Applicable values:

•   Failure

(out) eBay encountered a fatal error during the processing of the request, causing the request to fail. When a serious application-level error occurs, the error is returned instead of the business data.

•   PartialFailure

(out) eBay successfully processed the request, but one or more non-fatal errors occurred during the processing. For best results, requests should return without warning messages. Inspect the message details and resolve any problems before resubmitting the request.

•   Success

(out) eBay successfully processed the request and the business data is returned in the response. Note that it is possible for a response to return Success, but still not contain the expected data in the result.

•   Warning

(out) The request was successfully processed, but eBay encountered a non-fatal error during the processing. For best results, requests should return without warnings. Inspect the warning details and resolve the problem before resubmitting the request.




outputSelector: none (not controlled by outputSelector)
errorMessage ErrorMessage Conditionally Description of an error or warning that occurred when eBay processed the request. Not returned if the ack value is Success.

outputSelector: none (not controlled by outputSelector)
errorMessage.error ErrorData Conditionally,
repeatable: [0..*]
Details about a single error.

outputSelector: none (not controlled by outputSelector)
errorMessage.error.category ErrorCategory Conditionally There are three categories of errors: request errors, application errors, and system errors.

Applicable values:

•   Application

(out) An error occurred due to a problem with the request, with the most likely source being the application sending the request. For example, the request is missing a required data element or it contains an invalid field. The problem must be corrected before the request can be resent. Inspect the error message to find the cause of the problem. If the problem is due to an application error, modify the application and resend the request. If the error is due to invalid data, the source of the data must be corrected before you resend the resend request to eBay.

•   Request

(out) An error occurred due to a problem with the request, with the most likely source being missing or invalid data in the request. The problem must be corrected before the request can be retried. Inspect the error message to find the cause of the problem. If the problem is a result of end-user data, alert the end-user to the problem and provide the means for them to correct the problem. Once the problem is resolved, resend the request to eBay.

•   System

(out) Indicates that an error has occurred on the eBay system side. For example, a database or server could be down. Inspect the error message to find the cause of the problem. If the problem is on the eBay side, an application can retry the request as-is a reasonable number of times (eBay recommends twice). If the error persists, contact Developer Technical Support. Once the problem has been resolved, the request may be resent in its original form.




outputSelector: none (not controlled by outputSelector)
errorMessage.error.domain string Conditionally Name of the domain in which the error occurred.
domain values:
Marketplace
A business or validation error occurred in the service.
SOA
An exception occurred in the Service Oriented Architecture (SOA) framework.


outputSelector: none (not controlled by outputSelector)
errorMessage.error.errorId long Conditionally A unique code that identifies the particular error condition that occurred. Your application can use error codes as identifiers in your customized error-handling algorithms.

outputSelector: none (not controlled by outputSelector)
errorMessage.error.exceptionId token Conditionally Unique identifier for an exception associated with an error.

outputSelector: none (not controlled by outputSelector)
errorMessage.error.message string Conditionally A detailed description of the condition that caused in the error.

outputSelector: none (not controlled by outputSelector)
errorMessage.error.parameter ErrorParameter (string) Conditionally,
repeatable: [0..*]
Various warning and error messages return one or more variables that contain contextual information about the error. This is often the field or value that triggered the error.

outputSelector: none (not controlled by outputSelector)
errorMessage.error.parameter
  [ attribute name ]
string Conditionally The name of the input parameter returned with the error. Inspecting the parameter (or its input value) will often aid in understanding the cause of the error. Not all error messages contain this value.
errorMessage.error.severity ErrorSeverity Conditionally Indicates whether the reported problem is fatal (an error) or is less- severe (a warning). Review the error message details for information on the cause.

If the request fails and the application is the source of the error (for example, a required element is missing), update the application before you retry the request. If the problem is due to incorrect user data, alert the end-user to the problem and provide the means for them to correct the data. Once the problem in the application or data is resolved, re-send the request to eBay.

If the source of the problem is on eBay's side, you can retry the request a reasonable number of times (eBay recommends you try the request twice). If the error persists, contact Developer Technical Support. Once the problem has been resolved, you can resend the request in its original form.

If a warning occurs, warning information is returned in addition to the business data. Normally, you do not need to resend the request (as the original request was successful). However, depending on the cause of the warning, you might need to contact the end user, or eBay, to effect a long term solution to the problem.

Applicable values:

•   Error

(out) eBay encountered a fatal error during the processing of the request, causing the request to fail. When eBay encounters an error, it returns error data instead of the requested business data. Inspect the error details and resolve the problem before resubmitting the request.

•   Warning

(out) The request was successfully processed, but eBay encountered a non-fatal error during the processing that could affect the data returned. For example, eBay might have changed the value of an input field. In this case, eBay returns a successful response, but it also returns a warning. For best results, requests should return without warnings. Inspect the warning details and resolve the problem before resubmitting the request.




outputSelector: none (not controlled by outputSelector)
errorMessage.error.subdomain string Conditionally Name of the subdomain in which the error occurred.
subdomain values:
Finding
The error is specific to the Finding service.
MarketplaceCommon
The error is common to all Marketplace services.


outputSelector: none (not controlled by outputSelector)
paginationOutput PaginationOutput Conditionally Indicates the pagination of the result set. Child elements indicate the page number that is returned, the maximum number of item listings to return per page, total number of pages that can be returned, and the total number of listings that match the search criteria.

outputSelector: none (not controlled by outputSelector)
paginationOutput
  .entriesPerPage
int Conditionally The maximum number of items that can be returned in the response. This number is always equal to the value input for paginationInput.entriesPerPage.

The end of the result set has been reached if the number specified for entriesPerPage is greater than the number of items found on the specified pageNumber. In this case, there will be fewer items returned than the number specified in entriesPerPage. This can be determined by comparing the entriesPerPage value with the value returned in the count attribute for the searchResult field.

outputSelector: none (not controlled by outputSelector)
paginationOutput.pageNumber int Conditionally The subset of item data returned in the current response. Search results are divided into sets, or "pages," of item data. The number of pages is equal to the total number of items matching the search criteria divided by the value specified for entriesPerPage in the request. The response for a request contains one "page" of item data.

This returned value indicates the page number of item data returned (a subset of the complete result set). If this field contains 1, the response contains the first page of item data (the default). If the value returned in totalEntries is less than the value for entriesPerPage, pageNumber returns 1 and the response contains the entire result set.

The value of pageNumber is normally equal to the value input for paginationInput.pageNumber. However, if the number input for pageNumber is greater than the total possible pages of output, eBay returns the last page of item data in the result set, and the value for pageNumber is set to the respective (last) page number.

outputSelector: none (not controlled by outputSelector)
paginationOutput.totalEntries int Conditionally The total number of items found that match the search criteria in your request. Depending on the input value for entriesPerPage, the response might include only a portion (a page) of the entire result set. A value of "0" is returned if eBay does not find any items that match the search criteria.

outputSelector: none (not controlled by outputSelector)
paginationOutput.totalPages int Conditionally The total number of pages of data that could be returned by repeated search requests. Note that if you modify the value of inputPagination.entriesPerPage in a request, the value output for totalPages will change. A value of "0" is returned if eBay does not find any items that match the search criteria.

outputSelector: none (not controlled by outputSelector)
searchResult SearchResult Always Container for the item listings that matched the search criteria. The data for each item is returned in individual containers, if any matches were found.

outputSelector: none (not controlled by outputSelector)
searchResult
  [ attribute count ]
int Always The total number of items returned in the search response. This is often equal to the entriesPerPage value. If the count is less than the specified entriesPerPage, it indicates the end of the result set.
searchResult.item SearchItem Always,
repeatable: [1..*]
Container for the data of a single item that matches the search criteria.

outputSelector: none (not controlled by outputSelector)
searchResult.item.autoPay boolean Always If true, the seller requires immediate payment for the item. If false (or not specified), immediate payment is not requested. Buyers must have a PayPal account to purchase items that require immediate payment.

A seller can choose to require immediate payment for Fixed Price and Buy It Now listings, including eBay Stores Inventory listings. If a Buy It Now item ends as an auction (that is, if the Buy It Now option is removed due to bids being placed on the listing), the immediate payment requirement does not apply.

Note: The value of the AutoPay flag indicates the seller's stated preference only. It does not indicate whether the listing is still a candidate for purchase via immediate payment. For example, if a listing receives bids and no longer qualifies for immediate payment, the value of the AutoPay flag does not change.
Only applicable to items listed on PayPal-enabled sites and in categories that support immediate payment.

outputSelector: none (not controlled by outputSelector)
searchResult.item.charityId string Conditionally A unique identification number assigned by eBay to registered nonprofit charity organizations.

outputSelector: none (not controlled by outputSelector)
searchResult.item
  .compatibility
string Conditionally Starting in March 2010, parts compatibility will be supported in limited Parts & Accessories categories for eBay Motors in the Production environment. For these categories, a compatible application will always be a vehicle, which is specified by a combination of make, model, and year. Optionally, trim and engine data may also be specifed for a vehicle.

This field returns terms from the keywords in the request that match values in one of the item's compatible applications (vehicles). If the keywords match more than one compatible application for an item, the field returns "Two or more of your vehicles" to indicate multiple matches.

For example, keyword queries that contain vehicle details, such as make and model (e.g., Honda Accord), in addition to keywords for the part or accessory, will search through structured parts compatibility information for matching listings. If an item has a 2007 Honda Accord (any trim or engine) specified as a compatible application, and the item matches the part or accessory terms in the query, this field will return the matching terms from the query (i.e., Honda Accord).

Parts compatibility is an eBay feature that uses structured data to associate compatible assemblies with parts and accessories listed on eBay. For example, parts compatibility enables sellers to specify accurately and comprehensively the vehicles on which a side mirror or a rim fit. Parts compatibility improves search relevancy and frees up item titles and descriptions for more useful descriptions of the part.

outputSelector: none (not controlled by outputSelector)
searchResult.item.country token Conditionally Two-letter ISO 3166 country code to indicate the country where the item is located. For English names that correspond to each code (e.g., KY="Cayman Islands"), see the ISO site:
http://www.iso.org/iso/country_codes/iso_3166_code_lists/english_country_names_and_code_elements.htm.

outputSelector: none (not controlled by outputSelector)
searchResult.item.distance Distance (double) Conditionally The distance that the item is from the buyer, calculated using buyerPostalCode. The unit for distance varies by site, and is either miles or kilometers. If the country whose site you are searching uses kilometers to measure distance (for example, India/EBAY-IN), the unit is kilometers. If the site is either the US or UK, the distance unit is miles.

This value is only returned for distance-based searches. You must specify a buyerPostalCode and either sort by Distance, or use a combination of the MaxDistance LocalSearch itemFilters.

outputSelector: none (not controlled by outputSelector)
searchResult.item.distance
  [ attribute unit ]
string Conditionally Unit of measure used in a distance calculation. Units can be in either kilometers or miles, depending on the Global ID.
searchResult.item
  .galleryPlusPictureURL
anyURI Conditionally,
repeatable: [0..*]
URL for the Gallery Plus image. The size of Gallery Plus images (up to 400 x 400 pixels) is bigger than the size of standard gallery images. In site search results, you can view the Gallery Plus image by hovering over or clicking the Enlarge link or magifying glass icon. The image uses one of the following graphics formats: JPEG, BMP, TIFF, or GIF. This field is only returned when the seller has opted for the Gallery Plus option for the given item.

outputSelector: none (not controlled by outputSelector)
searchResult.item.galleryURL anyURI Conditionally URL for the Gallery thumbnail image. The image must be provided in one of the following graphics formats: JPEG, BMP, TIF, or GIF. Returned only if the seller chose to show a gallery image.

outputSelector: none (not controlled by outputSelector)
searchResult.item.globalId token Always The identifier for the site on which the item is listed. Returns a Global ID, which is a unique identifier that specifies the combination of the site, language, and territory. In other eBay APIs (such as the Shopping API), this value is know as the site ID.

For a list of possible enumeration values and how they map to eBay sites, see Global ID Values.

outputSelector: none (not controlled by outputSelector)
searchResult.item.itemId string Always The ID that uniquely identifies the item listing. eBay generates this ID when an item is listed. ID values are unique across all eBay sites.
Max length: 19 (normally, item IDs are 9 to 12 digits in length) .

outputSelector: none (not controlled by outputSelector)
searchResult.item.listingInfo ListingInfo Conditionally The format type of the listing, such as online auction, fixed price, or advertisement.

outputSelector: none (not controlled by outputSelector)
searchResult.item.listingInfo
  .bestOfferEnabled
boolean Conditionally Shows whether or not the seller will accept a best offer for the associated item. Best Offer allows a buyer to make a lower-priced binding offer on a fixed price item. Buyers cannot see how many offers have been made (only the seller can see this information). To make a best offer on a listing, use the eBay Web site.

outputSelector: none (not controlled by outputSelector)
searchResult.item.listingInfo
  .buyItNowAvailable
boolean Conditionally Used with competitive-bid auctions, the associated item includes a Buy It Now option if this value returns true. Buy It Now lets a user purchase the item at a fixed price, effectively ending the auction. On most sites, the Buy It Now option is removed (and this value returns false) once a valid bid is made on the associated item (a valid bid could be a bid above the reserve price).

outputSelector: none (not controlled by outputSelector)
searchResult.item.listingInfo
  .buyItNowPrice
Amount (double) Conditionally The Buy It Now Price of the item (if any), in the currency of the site on which the item was listed. You can use this field to determine if the item was originally listed with Buy It Now, even if the Buy It Now option is no longer available for the item.

For Basic Fixed-Price (FixedPrice), Store Inventory (StoreInventory), and Ad Format (AdFormat) listings, currentPrice is the current fixed price.

Only returned if an item was listed with Buy It Now.

outputSelector: none (not controlled by outputSelector)
searchResult.item.listingInfo
  .buyItNowPrice
  [ attribute currencyId ]
string Always Currency in which the monetary amount is specified.

For a list of currencyId enumeration values, see currencyId Values.
searchResult.item.listingInfo
  .convertedBuyItNowPrice
Amount (double) Conditionally The listing's Buy It Now Price (if any), converted into the currency of the site to which you sent your search request. For active items, refresh this value every 24 hours to pick up changes in conversion rates (if this value has been converted).

Price fields are returned as doubles, not necessarily in the traditional monetary format of the site's country. For example, a US Dollar value might be returned as 3.880001 instead of 3.88.

Only returned if an item was listed with Buy It Now.

outputSelector: none (not controlled by outputSelector)
searchResult.item.listingInfo
  .convertedBuyItNowPrice
  [ attribute currencyId ]
string Always Currency in which the monetary amount is specified.

For a list of currencyId enumeration values, see currencyId Values.
searchResult.item.listingInfo
  .endTime
dateTime Conditionally Time stamp specifying when the listing is scheduled to end, or the actual end time if the item listing has ended. This value is returned in GMT, the ISO 8601 date and time format (YYYY-MM- DDTHH:MM:SS.SSSZ). See the "dateTime" type for information about the time format, and for details on converting to and from the GMT time zone.

Note: For items that are "Good Till Canceled," this value is 5 minutes later than the actual end time of the item. This difference in time is intended to facilitate the renewal of these items' end times (which occurs every 30 days).

outputSelector: none (not controlled by outputSelector)
searchResult.item.listingInfo
  .gift
boolean Conditionally If true, a generic gift icon displays next the listing's title in search and browse pages.

outputSelector: none (not controlled by outputSelector)
searchResult.item.listingInfo
  .listingType
token Conditionally The format of the listing, such as online auction, fixed price, or advertisement.
listingType values:
AdFormat
Advertisement to solicit inquiries on listings such as real estate. Permits no bidding on that item, service, or property. To express interest, a buyer fills out a contact form that eBay forwards to the seller as a lead. This format does not enable buyers and sellers to transact online through eBay and eBay Feedback is not available for ad format listings.
Auction
Competitive-bid online auction format. Buyers engage in competitive bidding, although Buy It Now may be offered as long as no valid bids have been placed. Online auctions are listed on eBay.com; they can also be listed in a seller's eBay Store if the seller is a Store owner.
AuctionWithBIN
Same as Auction format, but Buy It Now is enabled. AuctionWithBIN changes to Auction if a valid bid has been placed on the item. Valid bids include bids that are equal to or above any specified reserve price.
Classified
Classified Ads connect buyers and sellers, who then complete the sale outside of eBay. This format does not enable buyers and sellers to transact online through eBay and eBay Feedback is not available for these listing types.
FixedPrice
A fixed-price listing. Auction-style bidding is not allowed. On some sites, this auction format is also known as "Buy It Now Only" (not to be confused with the Buy It Now option available with competitive- bidding auctions). Fixed-price listings appear on eBay.com; they can also be listed in a seller's eBay Store if the seller is a Store owner.
StoreInventory
A fixed-price format for eBay Store sellers. Store Inventory listings appear after other listings in regular browse and search item listings on eBay. Store items have a lower Insertion Fee and longer listing durations. This selling type can only be specified by sellers who have an eBay Store. Store Inventory listings are listed on eBay.com as well as in the seller's eBay Store.


outputSelector: none (not controlled by outputSelector)
searchResult.item.listingInfo
  .startTime
dateTime Conditionally Time stamp that eBay recorded as the moment the listing was made available. This value is returned in GMT, the ISO 8601 date and time format (YYYY-MM- DDTHH:MM:SS.SSSZ). See the "dateTime" type for information about the time format, and for details on converting to and from the GMT time zone. Note that it is possible for startTime to be different from the value returned by GetSingleItem.

outputSelector: none (not controlled by outputSelector)
searchResult.item.location string Conditionally Physical location of the item, as specified by the seller. This gives a general indication from where the item will be shipped (or delivered).

outputSelector: none (not controlled by outputSelector)
searchResult.item
  .paymentMethod
token Conditionally,
repeatable: [0..*]
Identifies the payment method (or methods) the seller will accept for the item (such as PayPal).

Note: If the seller accepts only PayPal, the buyer can still pay with a credit card. PayPal supports major credit cards. Payment methods are not applicable to eBay Real Estate advertisement listings or other Classified Ad listing formats.

See BuyerPaymentMethodCodeType in the Shopping API for a complete list of possible paymentMethod response values.

outputSelector: none (not controlled by outputSelector)
searchResult.item.postalCode string Conditionally The postal code where the listed item is located. This field is returned only if a postal code has been specified by the seller. eBay proximity and local search behavior can use the combination of buyerPostalCode and postalCode values.

outputSelector: none (not controlled by outputSelector)
searchResult.item
  .primaryCategory
Category Always Details about the first (or only) category in which the item is listed. Note that items can be listed in more than a single category.

outputSelector: none (not controlled by outputSelector)
searchResult.item
  .primaryCategory.categoryId
string Always The unique ID of a category on the specified eBay site.
Max length: 10.

outputSelector: none (not controlled by outputSelector)
searchResult.item
  .primaryCategory.categoryName
string Always Display name of a category as it appears on the eBay Web site.
Max length: 30.

outputSelector: none (not controlled by outputSelector)
searchResult.item.productId ProductId (string) Conditionally Unique identifier for the eBay catalog product with which the item was listed. An eBay catalog product consists of pre-filled Item Specifics, additional descriptive information, plus a stock photo (if available). These product details are used to pre-fill item information, which is used to describe the item and can also help surface the item in searches.

eBay supports the following types of product ID types: ISBN, UPC, EAN, and ReferenceID (ePID, also known as an eBay Product Reference ID). ReferenceID values are returned when available. A UPC, ISBN, or EAN product identifier will be returned only when a ReferenceID is not available.

This productId value can be used as input with findItemsByProduct to retrieve items that were listed with the specified eBay catalog product.

This field is only returned when a product was used to list the item.

outputSelector: none (not controlled by outputSelector)
searchResult.item
  .secondaryCategory
Category Conditionally Details about the second category in which the item is listed. This element is not returned if the seller did not specify a secondary category.

outputSelector: none (not controlled by outputSelector)
searchResult.item
  .secondaryCategory.categoryId
string Conditionally The unique ID of a category on the specified eBay site.
Max length: 10.

outputSelector: none (not controlled by outputSelector)
searchResult.item
  .secondaryCategory
  .categoryName
string Conditionally Display name of a category as it appears on the eBay Web site.
Max length: 30.

outputSelector: none (not controlled by outputSelector)
searchResult.item.sellerInfo SellerInfo Conditionally Information about the item's seller. Only returned if SellerInfo is specified in the outputSelector field in the request.

outputSelector: SellerInfo
searchResult.item.sellerInfo
  .feedbackRatingStar
token Conditionally Visual indicator of user's feedback score.
feedbackRatingStar values:
None
No graphic displayed, feedback score 0-9.
Yellow
Yellow Star, feedback score 10-49.
Blue
Blue Star, feedback score 50-99.
Turquoise
Turquoise Star, feedback score 100-499.
Purple
Purple Star, feedback score 500-999.
Red
Red Star, feedback score 1,000-4,999.
Green
Green Star, feedback score 5,000-9,999.
YellowShooting
Yellow Shooting Star, feedback score 10,000-24,999.
TurquoiseShooting
Turquoise Shooting Star, feedback score 25,000-49,999.
PurpleShooting
Purple Shooting Star, feedback score 50,000-99,999.
RedShooting
Red Shooting Star, feedback score 100,000-499,000 and above.
GreenShooting
Green Shooting Star, feedback score 500,000-999,000 and above.
SilverShooting
Silver Shooting Star, feedback score 1,000,000 or more.


outputSelector: SellerInfo
searchResult.item.sellerInfo
  .feedbackScore
long Conditionally The aggregate feedback score of the seller. A seller's feedback score is their net positive feedback minus their net negative feedback. Feedback scores are a quantitative expression of the desirability of dealing with a seller in a transaction.

outputSelector: SellerInfo
searchResult.item.sellerInfo
  .positiveFeedbackPercent
double Conditionally The percentage value of a user's positive feedback (their positive feedbackScore divided by their total positive plus negative feedback).

outputSelector: SellerInfo
searchResult.item.sellerInfo
  .sellerUserName
string Conditionally The seller's eBay user name; a unique value.

outputSelector: SellerInfo
searchResult.item.sellerInfo
  .topRatedSeller
boolean Conditionally Indicates whether the seller of the item is top-rated. A top-rated seller:
  • Consistently receives highest buyers' ratings
  • Ships items quickly
  • Has earned a track record of excellent service
eBay regularly reviews the performance of these sellers to confirm they continue to meet the program's requirements.

This field is returned for the following sites only: US (EBAY-US), Motors (EBAY-MOTOR), DE (EBAY-DE), AT (EBAY-AT), and CH (EBAY-CH).

outputSelector: SellerInfo
searchResult.item
  .sellingStatus
SellingStatus Conditionally Specifies the item's selling status with regards to eBay's processing workflow.

outputSelector: none (not controlled by outputSelector)
searchResult.item
  .sellingStatus.bidCount
int Conditionally The number of bids that have been placed on the item.

outputSelector: none (not controlled by outputSelector)
searchResult.item
  .sellingStatus
  .convertedCurrentPrice
Amount (double) Conditionally The listing's current price converted to the currency of the site specified in the find request (globalId).

outputSelector: none (not controlled by outputSelector)
searchResult.item
  .sellingStatus
  .convertedCurrentPrice
  [ attribute currencyId ]
string Always Currency in which the monetary amount is specified.

For a list of currencyId enumeration values, see currencyId Values.
searchResult.item
  .sellingStatus.currentPrice
Amount (double) Conditionally The current price of the item given in the currency of the site on which the item is listed. That is, currentPrice is returned in the original listing currency.

For competitive-bid item listings, currentPrice is the current minimum bid price if the listing has no bids, or the current high bid if the listing has bids. A Buy It Now price has no effect on currentPrice.

For Basic Fixed-Price (FixedPrice), Store Inventory (StoreInventory), and Ad Format (AdFormat) listings, currentPrice is the current fixed price.

outputSelector: none (not controlled by outputSelector)
searchResult.item
  .sellingStatus.currentPrice
  [ attribute currencyId ]
string Always Currency in which the monetary amount is specified.

For a list of currencyId enumeration values, see currencyId Values.
searchResult.item
  .sellingStatus.sellingState
token Conditionally Specifies the listing's status in eBay's processing workflow. If an item's EndTime is in the past, but there are no details about the buyer or high bidder (and the user is not anonymous), you can use sellingState information to determine whether eBay has finished processing the listing.
sellingState values:
Active
The listing is still live. It is also possible that the auction has recently ended, but eBay has not completed the final processing (e.g., the high bidder is still being determined).
Canceled
The listing has been canceled by either the seller or eBay.
Ended
The listing has ended and eBay has completed the processing of the sale (if any).


outputSelector: none (not controlled by outputSelector)
searchResult.item
  .sellingStatus.timeLeft
duration Conditionally Time left before the listing ends. The duration is represented in the ISO 8601 duration format (PnYnMnDTnHnMnS). For listings that have ended, the time left is PT0S (zero seconds). See the "duration" type for information about this time format.

outputSelector: none (not controlled by outputSelector)
searchResult.item.shippingInfo ShippingInfo Conditionally Container for data about a listing's shipping details.

outputSelector: none (not controlled by outputSelector)
searchResult.item.shippingInfo
  .shippingServiceCost
Amount (double) Conditionally The basic shipping cost of the item.

outputSelector: none (not controlled by outputSelector)
searchResult.item.shippingInfo
  .shippingServiceCost
  [ attribute currencyId ]
string Always Currency in which the monetary amount is specified.

For a list of currencyId enumeration values, see currencyId Values.
searchResult.item.shippingInfo
  .shippingType
token Conditionally The shipping method that was used for determining the cost of shipping. For example: flat rate, calculated, or free. The seller specifies the available shipping services when they list the item.
shippingType values:
Calculated
The calculated shipping model: The posted cost of shipping is based on the buyer-selected shipping service, chosen by the buyer from the different shipping services offered by the seller. The shipping costs are calculated by eBay and the shipping carrier, based on the buyer's address. Any packaging and handling costs established by the seller are automatically rolled into the total.
CalculatedDomesticFlatInternational
The seller specified one or more calculated domestic shipping services and one or more flat international shipping services.
Flat
The flat-rate shipping model: The seller establishes the cost of shipping and any shipping insurance, regardless of what any buyer-selected shipping service might charge the seller.
FlatDomesticCalculatedInternational
The seller specified one or more flat domestic shipping services and one or more calculated international shipping services.
Free
Free is used when the seller has declared that shipping is free for the buyer.
FreePickup
No shipping available, the buyer must pick up the item from the seller.
Freight
The freight shipping model: the cost of shipping is determined by a third party, FreightQuote.com, based on the buyer's address (postal code).
FreightFlat
The flat rate shipping model: the seller establishes the cost of freight shipping and freight insurance, regardless of what any buyer-selected shipping service might charge the seller.
NotSpecified
The seller did not specify the shipping type.


outputSelector: none (not controlled by outputSelector)
searchResult.item.shippingInfo
  .shipToLocations
string Conditionally,
repeatable: [0..*]
An international location or region to which the seller is willing to ship the item. Returned only for items that have shipToLocations specified. For a complete list of shipping locations, see shipToLocations.

outputSelector: none (not controlled by outputSelector)
searchResult.item.storeInfo Storefront Conditionally Information about the eBay store in which the item is listed. Only returned if the item is listed in a store and StoreInfo is specified in the outputSelector field in the request.

outputSelector: StoreInfo
searchResult.item.storeInfo
  .storeName
string Conditionally The name of the seller's eBay Store.
Max length: 200.

outputSelector: StoreInfo
searchResult.item.storeInfo
  .storeURL
anyURI Conditionally The URL of the seller's eBay Store page.

outputSelector: StoreInfo
searchResult.item.subtitle string Conditionally Subtitle of the item. Only returned if the seller included a subtitle for the listing.

outputSelector: none (not controlled by outputSelector)
searchResult.item.title string Conditionally Name of the item as it appears in the listing title, or in search and browse results.

outputSelector: none (not controlled by outputSelector)
searchResult.item.viewItemURL anyURI Conditionally The URL to view this specific listing on eBay.

The returned URL is optimized to support natural search. That is, the URL is designed to make items on eBay easier to find via popular internet search engines. The URL includes the item title along with other optimizations. To note, "?" (question mark) optimizes to "_W0QQ", "&" (ampersand) optimizes to "QQ", and "=" (equals sign) optimizes to "Z".

Do not modify the returned URLs in your application queries (for example, eBay won't recognize the URL if you change QQ to &). In the Sandbox environment (and on the Hong Kong site), the data returned in this field is a standard ViewItem URL rather than the ViewItemURL for natural search.

If you enabled affiliate tracking in the call, viewItemURL contains a string that includes affiliate tracking information (see the eBay Partner Network).

outputSelector: none (not controlled by outputSelector)
timestamp dateTime Always This value represents the date and time when eBay processed the request. This value is returned in GMT, the ISO 8601 date and time format (YYYY- MM- DDTHH:MM:SS.SSSZ). See the "dateTime" type for information about the time format, and for details on converting to and from the GMT time zone.

outputSelector: none (not controlled by outputSelector)
version string Always The release version that eBay used to process the request. Developer Technical Support may ask you for the version value if you work with them to troubleshoot issues.

Note: The version in use is normally the latest release version, as specified in the release notes. Note that eBay releases the API to international sites about a week after the API version is released to the US site.

outputSelector: none (not controlled by outputSelector)
Call-specific Output Fields
aspectHistogramContainer AspectHistogramContainer Conditionally Response container for aspect histograms.

outputSelector: AspectHistogram
aspectHistogramContainer
  .aspect
Aspect Conditionally,
repeatable: [1..*]
A characteristic of an item in a domain. For example, "Optical Zoom", "Brand", and "Megapixels" could be aspects of the Digital Cameras domain. Aspects are well-known, standardized characteristics of a domain, and they vary from domain to domain (the aspects of "Men's Shoes" are different from those of "Digital Cameras"). A search request on the eBay site will often display aspects and their respective aspect values on the left-had side of a query response.

Aspects are extracted from item listing properties (such as item titles and subtitles), and represent the characteristics of active items. Values returned in the Aspect container can be used as inputs to the aspectFilter fields in a query to distill the items returned by the query. eBay generates aspects dynamically from the items currently listed; aspects provide a view into what is currently available on eBay. Because of this, aspect values returned one day cannot be guaranteed to be valid the next day.

The following graphic shows how eBay might return a set of aspects for the Digital Cameras domain. In this graphic, "Product Type", "Brand", and "Megapixels" are aspects, and "Point & Shoot", "Canon", and "12.0 to 12.9 MP" are aspect values. Histogram values (item counts) are shown for each aspect value.

eBay Aspects

outputSelector: AspectHistogram
aspectHistogramContainer
  .aspect
  [ attribute name ]
string Conditionally Name of an aspect that is part of a domain. For example, "Optical Zoom" or "Megapixels" could be aspects of the Digital Cameras domain. For the current aspect names associated with a specific item, refer to the aspectHistogramContainer returned for the respective item.

This value is not returned if there are no matching aspects for the associated domain.
aspectHistogramContainer
  .aspect.valueHistogram
AspectValueHistogram Conditionally,
repeatable: [0..*]
Container that returns the name of the respective aspect value and the histogram (the number of available items) that share that item characteristic.

This value is not returned if there are no matching aspects for the associated domain.

outputSelector: AspectHistogram
aspectHistogramContainer
  .aspect.valueHistogram
  [ attribute valueName ]
string Conditionally Name of an aspect value. For example, "Short Sleeve" could be an aspect value of the Sleeve Style aspect in the Women's Dresses domain, or "Athletic" could be an aspect value of the Style aspect in the Men's Shoes domain.
aspectHistogramContainer
  .aspect.valueHistogram.count
long Conditionally Number of items that share the characteristic the respective aspect value.

outputSelector: AspectHistogram
aspectHistogramContainer
  .domainDisplayName
token Conditionally A buy-side group of items, for example "Shoes." Domains are extracted from item listing properties, such as the title, descriptions, and so on.

outputSelector: AspectHistogram
aspectHistogramContainer
  .domainName
string Conditionally A buy-side group of items that share aspects, but not necessarily an eBay category. For example "Women's Dresses" or "Digital Cameras" could be domains. You can use a domainName to label a set of aspects that you display.

Domains are extracted from item listing properties (such as item titles and subtitles).

outputSelector: AspectHistogram
categoryHistogramContainer CategoryHistogramContainer Conditionally Response container for category histograms. Only returned when one or more category histograms are returned. A category histogram is not returned if the search query returns no matching items.

Note: When searching the eBay Motors site, category histograms may not be available for some parent categories. In these cases, aspect histograms should be used to refine search results. This behavior is consistent with eBay Motors site search behavior.

outputSelector: CategoryHistogram
categoryHistogramContainer
  .categoryHistogram
CategoryHistogram Conditionally,
repeatable: [0..*]
Statistical (item count) information on the categories that contain items that match the search criteria or specified category or categories. A category histogram contains information for up to 10 child categories. Search result total entries may not necessarily match the sum of category histogram item counts.

For search calls, the item count shows the distribution of matching items across each of the returned categories. A category histogram is not returned if there are no matching items or if the search is restricted to a single leaf category.

For getHistograms, the category histogram contains the total item count for the specified category and item counts for the child categories containing the most item listings. A category histogram is not returned if the specified category is a leaf category.

For categories associated with specific items, review the individual item containers returned in the search result.

outputSelector: CategoryHistogram
categoryHistogramContainer
  .categoryHistogram.categoryId
string Conditionally The unique ID of a category on the specified eBay site.
Max length: 10.

outputSelector: CategoryHistogram
categoryHistogramContainer
  .categoryHistogram
  .categoryName
string Conditionally Display name of a category as it appears on the eBay Web site.
Max length: 30.

outputSelector: CategoryHistogram
categoryHistogramContainer
  .categoryHistogram
  .childCategoryHistogram
CategoryHistogram Conditionally,
repeatable: [0..10]
Container for histogram information pertaining to a child of the category specified in the request. Histograms return data on up to 10 children. Histograms are only a single level deep. That is, a given category histogram contains only immediate children.

outputSelector: CategoryHistogram
categoryHistogramContainer
  .categoryHistogram
  .childCategoryHistogram
  .categoryId
string Conditionally The unique ID of a category on the specified eBay site.
Max length: 10.

outputSelector: CategoryHistogram
categoryHistogramContainer
  .categoryHistogram
  .childCategoryHistogram
  .categoryName
string Conditionally Display name of a category as it appears on the eBay Web site.
Max length: 30.

outputSelector: CategoryHistogram
categoryHistogramContainer
  .categoryHistogram
  .childCategoryHistogram.count
long Conditionally The total number of items in the associated category that match the search criteria.

outputSelector: CategoryHistogram
categoryHistogramContainer
  .categoryHistogram.count
long Conditionally The total number of items in the associated category that match the search criteria.

outputSelector: CategoryHistogram



Back to top

findItemsByKeywords Detail Controls


Detail Control: outputSelector

The outputSelector input field gives you control over which call-specific output fields may be returned from your queries. outputSelector accepts a set of preset values, each of which permits the return of a different set of fields. (All standard output fields are returned regardless of outputSelector.)

The table below details the fields that each outputSelector value controls. In addition, the table includes a none column that shows the fields that are not controlled by outputSelector settings. Note that some fields are returned only when certain conditions are met; see the associated field description for a clarification of these conditions.

YThe field is always returned.
(Y)The field is conditionally returned. See the field description for clarification of conditions.

Output Field none AspectHistogram CategoryHistogram SellerInfo StoreInfo
ackY----
aspectHistogramContainer-(Y)---
aspectHistogramContainer.aspect-(Y)---
aspectHistogramContainer.aspect.valueHistogram-(Y)---
aspectHistogramContainer.aspect.valueHistogram.count-(Y)---
aspectHistogramContainer.domainDisplayName-(Y)---
aspectHistogramContainer.domainName-(Y)---
categoryHistogramContainer--(Y)--
categoryHistogramContainer.categoryHistogram--(Y)--
categoryHistogramContainer.categoryHistogram.categoryId--(Y)--
categoryHistogramContainer.categoryHistogram.categoryName--(Y)--
categoryHistogramContainer.categoryHistogram
  .childCategoryHistogram
--(Y)--
categoryHistogramContainer.categoryHistogram
  .childCategoryHistogram.categoryId
--(Y)--
categoryHistogramContainer.categoryHistogram
  .childCategoryHistogram.categoryName
--(Y)--
categoryHistogramContainer.categoryHistogram
  .childCategoryHistogram.count
--(Y)--
categoryHistogramContainer.categoryHistogram.count--(Y)--
errorMessage(Y)----
errorMessage.error(Y)----
errorMessage.error.category(Y)----
errorMessage.error.domain(Y)----
errorMessage.error.errorId(Y)----
errorMessage.error.exceptionId(Y)----
errorMessage.error.message(Y)----
errorMessage.error.parameter(Y)----
errorMessage.error.severity(Y)----
errorMessage.error.subdomain(Y)----
paginationOutput(Y)----
paginationOutput.entriesPerPage(Y)----
paginationOutput.pageNumber(Y)----
paginationOutput.totalEntries(Y)----
paginationOutput.totalPages(Y)----
searchResultY----
searchResult.itemY----
searchResult.item.autoPayY----
searchResult.item.charityId(Y)----
searchResult.item.compatibility(Y)----
searchResult.item.country(Y)----
searchResult.item.distance(Y)----
searchResult.item.galleryPlusPictureURL(Y)----
searchResult.item.galleryURL(Y)----
searchResult.item.globalIdY----
searchResult.item.itemIdY----
searchResult.item.listingInfo(Y)----
searchResult.item.listingInfo.bestOfferEnabled(Y)----
searchResult.item.listingInfo.buyItNowAvailable(Y)----
searchResult.item.listingInfo.buyItNowPrice(Y)----
searchResult.item.listingInfo.convertedBuyItNowPrice(Y)----
searchResult.item.listingInfo.endTime(Y)----
searchResult.item.listingInfo.gift(Y)----
searchResult.item.listingInfo.listingType(Y)----
searchResult.item.listingInfo.startTime(Y)----
searchResult.item.location(Y)----
searchResult.item.paymentMethod(Y)----
searchResult.item.postalCode(Y)----
searchResult.item.primaryCategoryY----
searchResult.item.primaryCategory.categoryIdY----
searchResult.item.primaryCategory.categoryNameY----
searchResult.item.productId(Y)----
searchResult.item.secondaryCategory(Y)----
searchResult.item.secondaryCategory.categoryId(Y)----
searchResult.item.secondaryCategory.categoryName(Y)----
searchResult.item.sellerInfo---(Y)-
searchResult.item.sellerInfo.feedbackRatingStar---(Y)-
searchResult.item.sellerInfo.feedbackScore---(Y)-
searchResult.item.sellerInfo.positiveFeedbackPercent---(Y)-
searchResult.item.sellerInfo.sellerUserName---(Y)-
searchResult.item.sellerInfo.topRatedSeller---(Y)-
searchResult.item.sellingStatus(Y)----
searchResult.item.sellingStatus.bidCount(Y)----
searchResult.item.sellingStatus.convertedCurrentPrice(Y)----
searchResult.item.sellingStatus.currentPrice(Y)----
searchResult.item.sellingStatus.sellingState(Y)----
searchResult.item.sellingStatus.timeLeft(Y)----
searchResult.item.shippingInfo(Y)----
searchResult.item.shippingInfo.shippingServiceCost(Y)----
searchResult.item.shippingInfo.shippingType(Y)----
searchResult.item.shippingInfo.shipToLocations(Y)----
searchResult.item.storeInfo----(Y)
searchResult.item.storeInfo.storeName----(Y)
searchResult.item.storeInfo.storeURL----(Y)
searchResult.item.subtitle(Y)----
searchResult.item.title(Y)----
searchResult.item.viewItemURL(Y)----
timestampY----
versionY----



Back to top

findItemsByKeywords Samples

New to making API calls? Please see Making an API Call.

Note: Some item IDs, user IDs, or other data in these samples might no longer be active on eBay. If necessary, you can substitute current eBay data in your requests.

Available samples:

Sample: Basic Call

Retrieves a set of items based on the keywords you provide.

Description

The user is looking for a specific Harry Potter title.

Input

The keywords field specifies keywords for which items are returned. Multiple keywords are separated by spaces, which are coded as %20 in URL requests.

Note: URL samples have been wrapped for readability. To run the samples, undo the line wrapping and insert your own SECURITY-APPNAME.

URL format (HTTP GET). See also the non-wrapped version of this URL. For results in a format other than XML, 
specify a different value for responseencoding.
http://svcs.ebay.com/services/search/FindingService/v1?OPERATION-NAME=findItemsByKeywords
   &SERVICE-VERSION=1.0.0
   &SECURITY-APPNAME=YourAppID
   &RESPONSE-DATA-FORMAT=XML
   &REST-PAYLOAD
   &keywords=harry%20potter%20phoenix
   &paginationInput.entriesPerPage=2

   Here is the same input in XML format (HTTP POST). Note that this does not include standard values.

XML format (HTTP POST). Also available is the .txt version of this XML.

<?xml version="1.0" encoding="UTF-8"?>
<findItemsByKeywordsRequest xmlns="http://www.ebay.com/marketplace/search/v1/services">
  <keywords>harry potter phoenix</keywords>
  <paginationInput>
    <entriesPerPage>2</entriesPerPage>
  </paginationInput>
</findItemsByKeywordsRequest>

Output

XML format. Also available are the .txt version of this XML.

<?xml version="1.0" encoding="UTF-8"?>
<findItemsByKeywordsResponse xmlns:ms="http://www.ebay.com/marketplace/services"
xmlns="http://www.ebay.com/marketplace/search/v1/services">
   <ack>Success</ack>
   <version>1.0.0</version>
   <timestamp>2009-09-04T00:46:55.581Z</timestamp>
   <searchResult count="2">
      <item>
         <itemId>140343270924</itemId>
         <title>NINTENDO WII GAME HARRY POTTER ORDER OF THE PHOENIX NEW</title>
         <globalId>EBAY-US</globalId>
         <subtitle>??FAST SECURE SHIPPING SEE OUR STORE 100,000+ GAMES??</subtitle>
         <primaryCategory>
            <categoryId>139973</categoryId>
            <categoryName>Games</categoryName>
         </primaryCategory>
         <galleryURL>
         http://thumbs1.ebaystatic.com/pict/1403432709248080_1.jpg</galleryURL>
         <viewItemURL>http://cgi.ebay.com/NINTENDO-WII-GAME-HARRY-POTTER-ORDER-OF-THE-
         PHOENIX-NEW_W0QQitemZ140343270924QQcmdZViewItemQQptZVideo_Games_Games?hash=
         item20ad1c5e0c</viewItemURL>
         <productId type="ReferenceID">56277256</productId>
         <paymentMethod>PayPal</paymentMethod>
         <paymentMethod>VisaMC</paymentMethod>
         <paymentMethod>Discover</paymentMethod>
         <autoPay>false</autoPay>
         <postalCode>42266</postalCode>
         <location>Pembroke,KY,USA</location>
         <country>US</country>
         <shippingInfo>
            <shippingServiceCost currencyId="USD">0.0</shippingServiceCost>
            <shippingType>Free</shippingType>
            <shipToLocations>Worldwide</shipToLocations>
         </shippingInfo>
         <sellingStatus>
            <currentPrice currencyId="USD">30.99</currentPrice>
            <convertedCurrentPrice currencyId="USD">30.99</convertedCurrentPrice>
            <bidCount>0</bidCount>
            <sellingState>Active</sellingState>
            <timeLeft>P0DT5H35M49S</timeLeft>
         </sellingStatus>
         <listingInfo>
            <bestOfferEnabled>false</bestOfferEnabled>
            <buyItNowAvailable>true</buyItNowAvailable>
            <buyItNowPrice currencyId="USD">33.94</buyItNowPrice>
            <convertedBuyItNowPrice currencyId="USD">33.94</convertedBuyItNowPrice>
            <startTime>2009-09-01T06:22:44.000Z</startTime>
            <endTime>2009-09-04T06:22:44.000Z</endTime>
            <listingType>AuctionWithBIN</listingType>
            <gift>false</gift>
         </listingInfo>
      </item>
      <item>
         <itemId>230371938681</itemId>
         <title>Harry Potter and the Order of the Phoenix HD-DVD</title>
         <globalId>EBAY-US</globalId>
         <primaryCategory>
            <categoryId>617</categoryId>
            <categoryName>DVD, HD DVD & Blu-ray</categoryName>
         </primaryCategory>
         <galleryURL>
         http://thumbs1.ebaystatic.com/pict/2303719386818080_1.jpg</galleryURL>
         <viewItemURL>http://cgi.ebay.com/Harry-Potter-and-the-Order-of-the-Phoenix-HD-
         DVD_W0QQitemZ230371938681QQcmdZViewItemQQptZUS_DVD_HD_DVD_Blu_ray?hash=
         item35a33cd179</viewItemURL>
         <productId type="ReferenceID">62929195</productId>
         <paymentMethod>PayPal</paymentMethod>
         <autoPay>false</autoPay>
         <postalCode>21702</postalCode>
         <location>Frederick,MD,USA</location>
         <country>US</country>
         <shippingInfo>
            <shippingType>Calculated</shippingType>
            <shipToLocations>US</shipToLocations>
         </shippingInfo>
         <sellingStatus>
            <currentPrice currencyId="USD">2.5</currentPrice>
            <convertedCurrentPrice currencyId="USD">2.5</convertedCurrentPrice>
            <bidCount>8</bidCount>
            <sellingState>Active</sellingState>
            <timeLeft>P0DT0H1M28S</timeLeft>
         </sellingStatus>
         <listingInfo>
            <bestOfferEnabled>false</bestOfferEnabled>
            <buyItNowAvailable>false</buyItNowAvailable>
            <startTime>2009-08-28T00:48:23.000Z</startTime>
            <endTime>2009-09-04T00:48:23.000Z</endTime>
            <listingType>Auction</listingType>
            <gift>false</gift>
         </listingInfo>
      </item>
   </searchResult>
   <paginationOutput>
      <totalPages>433</totalPages>
      <totalEntries>866</totalEntries>
      <pageNumber>1</pageNumber>
      <entriesPerPage>2</entriesPerPage>
   </paginationOutput>
</findItemsByKeywordsResponse>

Back to list of samples

Sample: MaxPrice Item Filter

Retrieves a set of items based on the keywords you provide and a price filter.

Description

The user is looking for a specific Harry Potter title and has a maximum price ceiling.

Input

To specify a MaxPrice item filter, you set itemFilter.name to MaxPrice and itemFilter.value to the maximum price, $10.00. The user uses itemFilter.paramName and

and itemFilter.paramValue to specify the currency for the filter, US dollars, in this case.

Note: URL samples have been wrapped for readability. To run the samples, undo the line wrapping and insert your own SECURITY-APPNAME.

URL format (HTTP GET). See also the non-wrapped version of this URL. For results in a format other than XML, 
specify a different value for responseencoding.
http://svcs.ebay.com/services/search/FindingService/v1?OPERATION-NAME=findItemsByKeywords
   &SERVICE-VERSION=1.0.0
   &SECURITY-APPNAME=YourAppID
   &RESPONSE-DATA-FORMAT=XML
   &REST-PAYLOAD
   &keywords=harry%20potter%20phoenix
   &itemFilter.name=MaxPrice
   &itemFilter.value=10.00
   &itemFilter.paramName=Currency
   &itemFilter.paramValue=USD
   &paginationInput.entriesPerPage=2

   Here is the same input in XML format (HTTP POST). Note that this does not include standard values.

XML format (HTTP POST). Also available is the .txt version of this XML.

<?xml version="1.0" encoding="UTF-8"?>
<findItemsByKeywordsRequest xmlns="http://www.ebay.com/marketplace/search/v1/services">
  <keywords>harry potter phoenix</keywords>
  <itemFilter>
    <name>MaxPrice</name>
    <value>10.00</value>
    <paramName>Currency</paramName>
    <paramValue>USD</paramValue>
  </itemFilter>
  <paginationInput>
    <entriesPerPage>2</entriesPerPage>
  </paginationInput>
</findItemsByKeywordsRequest>

Output

The response contains matching items with a current price of $10 or less.

XML format. Also available is the .txt version of this XML.

<?xml version="1.0" encoding="UTF-8"?>
<findItemsByKeywordsResponse xmlns:ms="http://www.ebay.com/marketplace/services"
xmlns="http://www.ebay.com/marketplace/search/v1/services">
   <ack>Success</ack>
   <version>1.0.0</version>
   <timestamp>2009-09-04T00:47:12.456Z</timestamp>
   <searchResult count="2">
      <item>
         <itemId>230371938681</itemId>
         <title>Harry Potter and the Order of the Phoenix HD-DVD</title>
         <globalId>EBAY-US</globalId>
         <primaryCategory>
            <categoryId>617</categoryId>
            <categoryName>DVD, HD DVD & Blu-ray</categoryName>
         </primaryCategory>
         <galleryURL>
         http://thumbs1.ebaystatic.com/pict/2303719386818080_1.jpg</galleryURL>
         <viewItemURL>http://cgi.ebay.com/Harry-Potter-and-the-Order-of-the-Phoenix-HD-
         DVD_W0QQitemZ230371938681QQcmdZViewItemQQptZUS_DVD_HD_DVD_Blu_ray?hash=
         item35a33cd179</viewItemURL>
         <productId type="ReferenceID">62929195</productId>
         <paymentMethod>PayPal</paymentMethod>
         <autoPay>false</autoPay>
         <postalCode>21702</postalCode>
         <location>Frederick,MD,USA</location>
         <country>US</country>
         <shippingInfo>
            <shippingType>Calculated</shippingType>
            <shipToLocations>US</shipToLocations>
         </shippingInfo>
         <sellingStatus>
            <currentPrice currencyId="USD">2.5</currentPrice>
            <convertedCurrentPrice currencyId="USD">2.5</convertedCurrentPrice>
            <bidCount>8</bidCount>
            <sellingState>Active</sellingState>
            <timeLeft>P0DT0H1M11S</timeLeft>
         </sellingStatus>
         <listingInfo>
            <bestOfferEnabled>false</bestOfferEnabled>
            <buyItNowAvailable>false</buyItNowAvailable>
            <startTime>2009-08-28T00:48:23.000Z</startTime>
            <endTime>2009-09-04T00:48:23.000Z</endTime>
            <listingType>Auction</listingType>
            <gift>false</gift>
         </listingInfo>
      </item>
      <item>
         <itemId>140342419442</itemId>
         <title>*HARRY POTTER* 'Order Of The Phoenix' Adjustable Cap!</title>
         <globalId>EBAY-US</globalId>
         <primaryCategory>
            <categoryId>29798</categoryId>
            <categoryName>Other</categoryName>
         </primaryCategory>
         <galleryURL>
         http://thumbs3.ebaystatic.com/pict/1403424194428080_1.jpg</galleryURL>
         <viewItemURL>http://cgi.ebay.com/HARRY-POTTER-Order-Of-The-Phoenix-Adjustable-
         Cap_W0QQitemZ140342419442QQcmdZViewItemQQptZLH_DefaultDomain_0?hash=
         item20ad0f5ff2</viewItemURL>
         <paymentMethod>PayPal</paymentMethod>
         <autoPay>false</autoPay>
         <postalCode>45623</postalCode>
         <location>Crown City,OH,USA</location>
         <country>US</country>
         <shippingInfo>
            <shippingServiceCost currencyId="USD">4.19</shippingServiceCost>
            <shippingType>Flat</shippingType>
            <shipToLocations>US</shipToLocations>
         </shippingInfo>
         <sellingStatus>
            <currentPrice currencyId="USD">1.99</currentPrice>
            <convertedCurrentPrice currencyId="USD">1.99</convertedCurrentPrice>
            <bidCount>0</bidCount>
            <sellingState>Active</sellingState>
            <timeLeft>P0DT0H54M50S</timeLeft>
         </sellingStatus>
         <listingInfo>
            <bestOfferEnabled>false</bestOfferEnabled>
            <buyItNowAvailable>false</buyItNowAvailable>
            <startTime>2009-08-28T01:42:02.000Z</startTime>
            <endTime>2009-09-04T01:42:02.000Z</endTime>
            <listingType>Auction</listingType>
            <gift>false</gift>
         </listingInfo>
      </item>
   </searchResult>
   <paginationOutput>
      <totalPages>212</totalPages>
      <totalEntries>424</totalEntries>
      <pageNumber>1</pageNumber>
      <entriesPerPage>2</entriesPerPage>
   </paginationOutput>
</findItemsByKeywordsResponse>

Back to list of samples

Sample: Filter by Price and Free Shipping

Retrieves a set of items with free shipping based on the keywords you provide and a price filter.

Description

The user is looking for a specific Harry Potter title and has a maximum price ceiling and doesn't want to pay for shipping, either.

Input

When you specify multiple item filters in a name-value request, you must index each item filter, starting with "0."

Note: URL samples have been wrapped for readability. To run the samples, undo the line wrapping and insert your own SECURITY-APPNAME.

URL format (HTTP GET). See also the non-wrapped version of this URL. For results in a format other than XML, 
specify a different value for responseencoding.
http://svcs.ebay.com/services/search/FindingService/v1?OPERATION-NAME=findItemsByKeywords
   &SERVICE-VERSION=1.0.0
   &SECURITY-APPNAME=YourAppID
   &RESPONSE-DATA-FORMAT=XML
   &REST-PAYLOAD
   &keywords=harry%20potter%20phoenix
   &itemFilter(0).name=MaxPrice
   &itemFilter(0).value=10.00
   &itemFilter(0).paramName=Currency
   &itemFilter(0).paramValue=USD
   &itemFilter(1).name=FreeShippingOnly
   &itemFilter(1).value=true
   &paginationInput.entriesPerPage=2

   Here is the same input in XML format (HTTP POST). Note that this does not include standard values.

XML format (HTTP POST). Also available is the .txt version of this XML.

<?xml version="1.0" encoding="UTF-8"?>
<findItemsByKeywordsRequest xmlns="http://www.ebay.com/marketplace/search/v1/services">
  <keywords>harry potter phoenix</keywords>
  <itemFilter>
    <name>MaxPrice</name>
    <value>10.00</value>
    <paramName>Currency</paramName>
    <paramValue>USD</paramValue>
  </itemFilter>
  <itemFilter>
    <name>FreeShippingOnly</name>
    <value>true</value>
  </itemFilter>
  <paginationInput>
    <entriesPerPage>2</entriesPerPage>
  </paginationInput>
</findItemsByKeywordsRequest>

Output

The response contains matching items with a current price of $10 or less, and no shipping charges.

XML format. Also available is the .txt version of this XML.

<?xml version="1.0" encoding="UTF-8"?>
<findItemsByKeywordsResponse xmlns:ms="http://www.ebay.com/marketplace/services"
xmlns="http://www.ebay.com/marketplace/search/v1/services">
   <ack>Success</ack>
   <version>1.0.0</version>
   <timestamp>2009-09-04T18:40:34.579Z</timestamp>
   <searchResult count="2">
      <item>
         <itemId>350241298435</itemId>
         <title>Harry Potter and the Order of the Phoenix DVD NEW</title>
         <globalId>EBAY-US</globalId>
         <subtitle>Authentic Guaranteed Free Shipping Buy 10 Get 1 Free</subtitle>
         <primaryCategory>
            <categoryId>617</categoryId>
            <categoryName>DVD, HD DVD & Blu-ray</categoryName>
         </primaryCategory>
         <galleryURL>
         http://thumbs2.ebaystatic.com/pict/3502412984358080_1.jpg</galleryURL>
         <viewItemURL>http://cgi.ebay.com/Harry-Potter-and-the-Order-of-the-Phoenix-DVD-
         NEW_W0QQitemZ350241298435QQcmdZViewItemQQptZUS_DVD_HD_DVD_Blu_ray?hash=
         item518c021803</viewItemURL>
         <productId type="ReferenceID">62940319</productId>
         <paymentMethod>PayPal</paymentMethod>
         <autoPay>false</autoPay>
         <location>China</location>
         <country>CN</country>
         <shippingInfo>
            <shippingServiceCost currencyId="USD">0.0</shippingServiceCost>
            <shippingType>Free</shippingType>
            <shipToLocations>Worldwide</shipToLocations>
         </shippingInfo>
         <sellingStatus>
            <currentPrice currencyId="USD">7.99</currentPrice>
            <convertedCurrentPrice currencyId="USD">7.99</convertedCurrentPrice>
            <sellingState>Active</sellingState>
            <timeLeft>P12DT0H33M48S</timeLeft>
         </sellingStatus>
         <listingInfo>
            <bestOfferEnabled>false</bestOfferEnabled>
            <buyItNowAvailable>false</buyItNowAvailable>
            <startTime>2009-08-17T19:14:22.000Z</startTime>
            <endTime>2009-09-16T19:14:22.000Z</endTime>
            <listingType>FixedPrice</listingType>
            <gift>false</gift>
         </listingInfo>
      </item>
      <item>
         <itemId>170377305715</itemId>
         <title>Harry Potter and the Order of the Phoenix (Wii)</title>
         <globalId>EBAY-US</globalId>
         <subtitle>Great Graphics, Action Packed, Follows Movie</subtitle>
         <primaryCategory>
            <categoryId>139973</categoryId>
            <categoryName>Games</categoryName>
         </primaryCategory>
         <galleryURL>
         http://thumbs2.ebaystatic.com/pict/1703773057158080_1.jpg</galleryURL>
         <viewItemURL>http://cgi.ebay.com/Harry-Potter-and-the-Order-of-the-Phoenix-
         Wii_W0QQitemZ170377305715QQcmdZViewItemQQptZVideo_Games_Games?hash=
         item27ab475e73</viewItemURL>
         <productId type="ReferenceID">56277256</productId>
         <paymentMethod>PayPal</paymentMethod>
         <autoPay>false</autoPay>
         <postalCode>36695</postalCode>
         <location>Mobile,AL,USA</location>
         <country>US</country>
         <shippingInfo>
            <shippingServiceCost currencyId="USD">0.0</shippingServiceCost>
            <shippingType>Free</shippingType>
            <shipToLocations>US</shipToLocations>
         </shippingInfo>
         <sellingStatus>
            <currentPrice currencyId="USD">9.99</currentPrice>
            <convertedCurrentPrice currencyId="USD">9.99</convertedCurrentPrice>
            <bidCount>1</bidCount>
            <sellingState>Active</sellingState>
            <timeLeft>P1DT3H21M56S</timeLeft>
         </sellingStatus>
         <listingInfo>
            <bestOfferEnabled>false</bestOfferEnabled>
            <buyItNowAvailable>false</buyItNowAvailable>
            <startTime>2009-08-29T22:02:30.000Z</startTime>
            <endTime>2009-09-05T22:02:30.000Z</endTime>
            <listingType>Auction</listingType>
            <gift>false</gift>
         </listingInfo>
      </item>
   </searchResult>
   <paginationOutput>
      <totalPages>26</totalPages>
      <totalEntries>52</totalEntries>
      <pageNumber>1</pageNumber>
      <entriesPerPage>2</entriesPerPage>
   </paginationOutput>
</findItemsByKeywordsResponse>

Back to list of samples

Sample: Proximity Search

Retrieves a set of items based on the keywords you provide. Only items located within the specified distance from a supplied postal code are returned.

Description

The user is looking for a specific item and wants to see what items are local to their location.

Input

Supply a postal code in the buyerPostalCode field and specify the maximum distance to search for items in the item filter Distance field. eBay returns only those items that are found within the specified distance from the supplied postal code. The distance will be calculated in the units that are local to the specified postal code (kilometers or miles).This type of search is called a "proximity" search.

Note: URL samples have been wrapped for readability. To run the samples, undo the line wrapping and insert your own SECURITY-APPNAME.

URL format (HTTP GET). See also the non-wrapped version of this URL. For results in a format other than XML, 
specify a different value for responseencoding.
http://svcs.ebay.com/services/search/FindingService/v1?OPERATION-NAME=findItemsByKeywords
   &SERVICE-VERSION=1.0.0
   &GLOBAL-ID=EBAY-US
   &SECURITY-APPNAME=YourAppID
   &RESPONSE-DATA-FORMAT=XML
   &REST-PAYLOAD=TRUE
   &keywords=bagpipes
   &buyerPostalCode=95125
   &itemFilter.name=MaxDistance
   &itemFilter.value=25

   Here is the same input in XML format (HTTP POST). Note that this does not include standard values.

XML format (HTTP POST). Also available is the .txt version of this XML.

<?xml version="1.0" encoding="UTF-8"?>
<findItemsByKeywordsRequest xmlns="http://www.ebay.com/marketplace/search/v1/services">
  <keywords>bagpipes</keywords>
  <buyerPostalCode>95125</buyerPostalCode>
  <itemFilter>
    <name>MaxDistance</name>
    <value>25</value>
  </itemFilter>
</findItemsByKeywordsRequest>

Output

XML format. Also available are the .txt version of this XML.

<?xml version="1.0" encoding="utf-8"?>
<findItemsByKeywordsResponse xmlns:ms="http://www.ebay.com/marketplace/services"
xmlns="http://www.ebay.com/marketplace/search/v1/services">
   <ack>Success</ack>
   <version>1.0.0</version>
   <timestamp>2009-09-10T18:15:23.966Z</timestamp>
   <searchResult count="1">
      <item>
         <itemId>250496290774</itemId>
         <title>1950 union pacific railroad ad scottish play BAGPIPE</title>
         <globalId>EBAY-US</globalId>
         <primaryCategory>
            <categoryId>35</categoryId>
            <categoryName>Other</categoryName>
         </primaryCategory>
         <galleryURL>
         http://thumbs2.ebaystatic.com/pict/2504962907748080_1.jpg</galleryURL>
         <viewItemURL>http://cgi.ebay.com/1950-union-pacific-railroad-ad-scottish-play-
         BAGPIPE_W0QQitemZ250496290774QQcmdZViewItemQQptZLH_DefaultDomain_0?hash=
         item3a52be0fd6</viewItemURL>
         <paymentMethod>PayPal</paymentMethod>
         <autoPay>false</autoPay>
         <postalCode>95125</postalCode>
         <location>San Jose,CA,USA</location>
         <country>US</country>
         <shippingInfo>
            <shippingServiceCost currencyId="USD">6.7</shippingServiceCost>
            <shippingType>Flat</shippingType>
            <shipToLocations>Worldwide</shipToLocations>
         </shippingInfo>
         <sellingStatus>
            <currentPrice currencyId="USD">9.99</currentPrice>
            <convertedCurrentPrice currencyId="USD">9.99</convertedCurrentPrice>
            <bidCount>0</bidCount>
            <sellingState>Active</sellingState>
            <timeLeft>P2DT11H37M29S</timeLeft>
         </sellingStatus>
         <listingInfo>
            <bestOfferEnabled>false</bestOfferEnabled>
            <buyItNowAvailable>true</buyItNowAvailable>
            <buyItNowPrice currencyId="USD">15.0</buyItNowPrice>
            <convertedBuyItNowPrice currencyId="USD">15.0</convertedBuyItNowPrice>
            <startTime>2009-09-10T05:52:52.000Z</startTime>
            <endTime>2009-09-13T05:52:52.000Z</endTime>
            <listingType>AuctionWithBIN</listingType>
            <gift>false</gift>
         </listingInfo>
         <distance unit="mi">5.0</distance>
      </item>
   </searchResult>
   <paginationOutput>
      <totalPages>1</totalPages>
      <totalEntries>1</totalEntries>
      <pageNumber>1</pageNumber>
      <entriesPerPage>100</entriesPerPage>
   </paginationOutput>
</findItemsByKeywordsResponse>

Back to list of samples

Sample: Reviewing Seller Information, Items Sorted by Distance

Sort the responses by the distance from the buyer, as determined by the buyer's postal code.

Description

Using the buyers postal code, eBay sorts the responses by the items closest to the buyer. The query uses an outputSelector to include seller information in the response. In addition, both a minimum and a maximum price are specified, so the results return only the items that fall within the set price range.

Input

Query for "Pre-CBS" within a specified price range. The response includes seller information and items are sorted by distance, with the closest to the seller listed first.

URL format (HTTP GET). See also the non-wrapped version of this URL. For results in a format other than XML, 
specify a different value for responseencoding.
http://svcs.ebay.com/services/search/FindingService/v1?OPERATION-NAME=findItemsByKeywords
   &SERVICE-VERSION=1.0.0
   &SECURITY-APPNAME=YourAppID
   &RESPONSE-DATA-FORMAT=XML
   &REST-PAYLOAD
   &buyerPostalCode=95060
   &sortOrder=Distance
   &outputSelector=SellerInfo
   &itemFilter(0).name=MaxPrice
   &itemFilter(0).value=2500.00
   &itemFilter(0).paramName=Currency
   &itemFilter(0).paramValue=USD
   &itemFilter(1).name=MinPrice
   &itemFilter(1).value=2000.00
   &itemFilter(1).paramName=Currency
   &itemFilter(1).paramValue=USD
   &keywords=%22pre-CBS%22

   Here is the same input in XML format (HTTP POST). Note that this does not include standard values.

XML format (HTTP POST). Also available is the .txt version of this XML.

<?xml version="1.0" encoding="UTF-8"?>
<findItemsByKeywordsRequest xmlns="http://www.ebay.com/marketplace/search/v1/services">
  <keywords>pre-CBS</keywords>
  <buyerPostalCode>95060</buyerPostalCode>
  <sortOrder>Distance</sortOrder>
  <outputSelector>SellerInfo</outputSelector>
  <itemFilter>
    <name>MaxPrice</name>
    <value>2500.00</value>
    <paramName>Currency</paramName>
    <paramValue>USD</paramValue>
  </itemFilter>
  <itemFilter>
    <name>MinPrice</name>
    <value>1000.00</value>
    <paramName>Currency</paramName>
    <paramValue>USD</paramValue>
  </itemFilter>
</findItemsByKeywordsRequest>

Output

XML format. Also available is the .txt version of this XML.

<findItemsAdvancedResponse xmlns:ms="http://www.ebay.com/marketplace/services"
xmlns="http://www.ebay.com/marketplace/search/v1/services">
   <ack>Success</ack>
   <version>1.1.0</version>
   <timestamp>2009-12-05T00:05:48.118Z</timestamp>
   <searchResult count="3">
      <item>
         <itemId>220521054527</itemId>
         <title>Fender Bassman Head and 2x12 Cabinet 1964 AA864 Pre-CBS</title>
         <globalId>EBAY-US</globalId>
         <subtitle>Super Clean! New Tubes, custom J&L Covers ROCK MACHINE!</subtitle>
         <primaryCategory>
            <categoryId>10171</categoryId>
            <categoryName>Electric</categoryName>
         </primaryCategory>
         <galleryURL>
         http://thumbs4.ebaystatic.com/pict/2205210545278080_1.jpg</galleryURL>
         <viewItemURL>http://cgi.ebay.com/Fender-Bassman-Head-and-2x12-Cabinet-1964-AA864-
         Pre-CBS_W0QQitemZ220521054527QQcmdZViewItemQQptZLH_DefaultDomain_0?hash=
         item335814413f</viewItemURL>
         <paymentMethod>PayPal</paymentMethod>
         <autoPay>false</autoPay>
         <postalCode>67211</postalCode>
         <location>Wichita,KS,USA</location>
         <country>US</country>
         <sellerInfo>
            <sellerUserName>wichitaband</sellerUserName>
            <feedbackScore>2965</feedbackScore>
            <positiveFeedbackPercent>100.0</positiveFeedbackPercent>
            <feedbackRatingStar>Red</feedbackRatingStar>
            <topRatedSeller>false</topRatedSeller>
         </sellerInfo>
         <shippingInfo>
            <shippingType>Calculated</shippingType>
            <shipToLocations>Worldwide</shipToLocations>
         </shippingInfo>
         <sellingStatus>
            <currentPrice currencyId="USD">1399.0</currentPrice>
            <convertedCurrentPrice currencyId="USD">1399.0</convertedCurrentPrice>
            <bidCount>0</bidCount>
            <sellingState>Active</sellingState>
            <timeLeft>P5DT19H1M50S</timeLeft>
         </sellingStatus>
         <listingInfo>
            <bestOfferEnabled>false</bestOfferEnabled>
            <buyItNowAvailable>true</buyItNowAvailable>
            <buyItNowPrice currencyId="USD">1599.0</buyItNowPrice>
            <convertedBuyItNowPrice currencyId="USD">1599.0</convertedBuyItNowPrice>
            <startTime>2009-12-03T19:07:38.000Z</startTime>
            <endTime>2009-12-10T19:07:38.000Z</endTime>
            <listingType>AuctionWithBIN</listingType>
            <gift>false</gift>
         </listingInfo>
         <galleryPlusPictureURL>
         http://galleryplus.ebay.com/ws/web/220521054527_1_0_1.jpg</galleryPlusPictureURL>
         <distance unit="mi">1360.0</distance>
      </item>
      <item>
         <itemId>130347910088</itemId>
         <title>Vintage 1964 Pre-CBS Fender Precision Bass Guitar Neck</title>
         <globalId>EBAY-US</globalId>
         <subtitle>ORIGINAL PRE-CBS FENDER NECK. CLAY DOTS!</subtitle>
         <primaryCategory>
            <categoryId>41423</categoryId>
            <categoryName>Necks</categoryName>
         </primaryCategory>
         <galleryURL>
         http://thumbs1.ebaystatic.com/pict/1303479100888080_1.jpg</galleryURL>
         <viewItemURL>http://cgi.ebay.com/Vintage-1964-Pre-CBS-Fender-Precision-Bass-
         Guitar-Neck_W0QQitemZ130347910088QQcmdZViewItemQQptZGuitar_Accessories?hash=
         item1e595743c8</viewItemURL>
         <paymentMethod>PayPal</paymentMethod>
         <paymentMethod>VisaMC</paymentMethod>
         <paymentMethod>AmEx</paymentMethod>
         <paymentMethod>Discover</paymentMethod>
         <autoPay>false</autoPay>
         <postalCode>91403</postalCode>
         <location>Sherman Oaks,CA,USA</location>
         <country>US</country>
         <sellerInfo>
            <sellerUserName>vintage_sales_inc_parts_dept</sellerUserName>
            <feedbackScore>456</feedbackScore>
            <positiveFeedbackPercent>100.0</positiveFeedbackPercent>
            <feedbackRatingStar>Turquoise</feedbackRatingStar>
            <topRatedSeller>true</topRatedSeller>
         </sellerInfo>
         <shippingInfo>
            <shippingServiceCost currencyId="USD">20.0</shippingServiceCost>
            <shippingType>Flat</shippingType>
            <shipToLocations>Worldwide</shipToLocations>
         </shippingInfo>
         <sellingStatus>
            <currentPrice currencyId="USD">1595.0</currentPrice>
            <convertedCurrentPrice currencyId="USD">1595.0</convertedCurrentPrice>
            <sellingState>Active</sellingState>
            <timeLeft>P3DT2H56M48S</timeLeft>
         </sellingStatus>
         <listingInfo>
            <bestOfferEnabled>true</bestOfferEnabled>
            <buyItNowAvailable>false</buyItNowAvailable>
            <startTime>2009-11-28T03:02:36.000Z</startTime>
            <endTime>2009-12-08T03:02:36.000Z</endTime>
            <listingType>FixedPrice</listingType>
            <gift>false</gift>
         </listingInfo>
         <distance unit="mi">285.0</distance>
      </item>
      <item>
         <itemId>230406185397</itemId>
         <title>1960 Pre-CBS FENDER Musicmaster Guitar Slab board Clean</title>
         <globalId>EBAY-US</globalId>
         <primaryCategory>
            <categoryId>118985</categoryId>
            <categoryName>Electric</categoryName>
         </primaryCategory>
         <galleryURL>
         http://thumbs2.ebaystatic.com/pict/2304061853978080_1.jpg</galleryURL>
         <viewItemURL>http://cgi.ebay.com/1960-Pre-CBS-FENDER-Musicmaster-Guitar-Slab-
         board-Clean_W0QQitemZ230406185397QQcmdZViewItemQQptZGuitar?hash=
         item35a54761b5</viewItemURL>
         <paymentMethod>PayPal</paymentMethod>
         <autoPay>false</autoPay>
         <postalCode>44256</postalCode>
         <location>Medina,OH,USA</location>
         <country>US</country>
         <sellerInfo>
            <sellerUserName>axehax</sellerUserName>
            <feedbackScore>1833</feedbackScore>
            <positiveFeedbackPercent>100.0</positiveFeedbackPercent>
            <feedbackRatingStar>Red</feedbackRatingStar>
            <topRatedSeller>true</topRatedSeller>
         </sellerInfo>
         <shippingInfo>
            <shippingServiceCost currencyId="USD">0.0</shippingServiceCost>
            <shippingType>FlatDomesticCalculatedInternational</shippingType>
            <shipToLocations>Worldwide</shipToLocations>
         </shippingInfo>
         <sellingStatus>
            <currentPrice currencyId="USD">1200.0</currentPrice>
            <convertedCurrentPrice currencyId="USD">1200.0</convertedCurrentPrice>
            <sellingState>Active</sellingState>
            <timeLeft>P2DT17H46M23S</timeLeft>
         </sellingStatus>
         <listingInfo>
            <bestOfferEnabled>false</bestOfferEnabled>
            <buyItNowAvailable>false</buyItNowAvailable>
            <startTime>2009-11-30T17:52:11.000Z</startTime>
            <endTime>2009-12-07T17:52:11.000Z</endTime>
            <listingType>FixedPrice</listingType>
            <gift>false</gift>
         </listingInfo>
         <distance unit="mi">2160.0</distance>
      </item>
   </searchResult>
   <paginationOutput>
      <pageNumber>1</pageNumber>
      <entriesPerPage>100</entriesPerPage>
      <totalPages>1</totalPages>
      <totalEntries>3</totalEntries>
   </paginationOutput>
</findItemsAdvancedResponse>

Back to list of samples

Sample: Specifying Affiliate Information

This sample specifies affiliate information and sorts the response according to the end time of the auction.

Description

Affiliates earn money from eBay for driving traffic to eBay. For more information, see eBay Partner Network. eBay knows that a sale came from your application because you include your affiliate ID in API calls. Affiliate tracking is enabled for all of the search calls in the Finding API.

Affiliate-related fields enable the tracking of user activity.

Input

The affiliate container has the following fields: networkId, trackingId, and customId.

The networkId specifies the third party who is your tracking partner. This number is 9 if you are registered with eBay Partner Network. The trackingId (a number obtained from your tracking partner) specifies an ID to identify you to your tracking partner. The customId need not be specified, but you can use up to 256 characters to create an ID to better monitor your marketing efforts.

In addition to specifying affiliate information, this sample also specifies the sort order of EndTime, the auctions ending soonest are listed first in the response. By default, items are sorted by BestMatch.

URL format (HTTP GET). See also the non-wrapped version of this URL. For results in a format other than XML, 
specify a different value for responseencoding.
http://svcs.ebay.com/services/search/FindingService/v1?OPERATION-NAME=findItemsByKeywords
   &SERVICE-VERSION=1.0.0
   &SECURITY-APPNAME=YourAppID
   &RESPONSE-DATA-FORMAT=XML
   &REST-PAYLOAD
   &affiliate.networkId=9
   &affiliate.trackingId=1234567890
   &affiliate.customId=k-man
   &sortOrder=EndTime
   &paginationInput.entriesPerPage=2
   &keywords=camalots

   Here is the same input in XML format (HTTP POST). Note that this does not include standard values.

XML format (HTTP POST). Also available is the .txt version of this XML.

<?xml version="1.0" encoding="UTF-8"?>
<findItemsByKeywordsRequest xmlns="http://www.ebay.com/marketplace/search/v1/services">
  <affiliate>
    <networkId>9</networkId>
    <trackingId>1234567890</trackingId>
    <customId>k-man</customId>
  </affiliate>
  <sortOrder>EndTime</sortOrder>
  <paginationInput>
    <entriesPerPage>2</entriesPerPage>
  </paginationInput>
  <keywords>camalots</keywords>
</findItemsByKeywordsRequest>

Output

XML format. Also available is the .txt version of this XML.

<findItemsAdvancedResponse xmlns:ms="http://www.ebay.com/marketplace/services"
xmlns="http://www.ebay.com/marketplace/search/v1/services">
   <ack>Success</ack>
   <version>1.1.0</version>
   <timestamp>2009-12-04T23:57:45.584Z</timestamp>
   <searchResult count="2">
      <item>
         <itemId>260515819366</itemId>
         <title>Black Diamond Camalots Sizes 3 and 3.5 used.</title>
         <globalId>EBAY-US</globalId>
         <primaryCategory>
            <categoryId>50814</categoryId>
            <categoryName>Carabiners & Hardware</categoryName>
         </primaryCategory>
         <galleryURL>
         http://thumbs3.ebaystatic.com/pict/2605158193668080_1.jpg</galleryURL>
         <viewItemURL>http://rover.ebay.com/rover/1/711-53200-19255-0/1?campid=
         1234567890&customid=k-man&toolid=0&mpre=
         http%3A%2F%2Fcgi.ebay.com%2FBlack-Diamond-Camalots-Sizes-3-and-3-5-
         used_W0QQitemZ260515819366QQcmdZViewItemQQptZLH_DefaultDomain_0%3Fhash%3Ditem3ca7
         f3ef66</viewItemURL>
         <paymentMethod>PayPal</paymentMethod>
         <autoPay>false</autoPay>
         <postalCode>37042</postalCode>
         <location>Clarksville,TN,USA</location>
         <country>US</country>
         <shippingInfo>
            <shippingType>Calculated</shippingType>
            <shipToLocations>US</shipToLocations>
         </shippingInfo>
         <sellingStatus>
            <currentPrice currencyId="USD">30.6</currentPrice>
            <convertedCurrentPrice currencyId="USD">30.6</convertedCurrentPrice>
            <bidCount>4</bidCount>
            <sellingState>Active</sellingState>
            <timeLeft>P2DT18H9M19S</timeLeft>
         </sellingStatus>
         <listingInfo>
            <bestOfferEnabled>false</bestOfferEnabled>
            <buyItNowAvailable>false</buyItNowAvailable>
            <startTime>2009-11-30T18:07:04.000Z</startTime>
            <endTime>2009-12-07T18:07:04.000Z</endTime>
            <listingType>Auction</listingType>
            <gift>false</gift>
         </listingInfo>
      </item>
      <item>
         <itemId>140361562585</itemId>
         <title>Camalots!  Black Diamond protection cams NICE!</title>
         <globalId>EBAY-US</globalId>
         <primaryCategory>
            <categoryId>50814</categoryId>
            <categoryName>Carabiners & Hardware</categoryName>
         </primaryCategory>
         <galleryURL>
         http://thumbs2.ebaystatic.com/pict/1403615625858080_1.jpg</galleryURL>
         <viewItemURL>http://rover.ebay.com/rover/1/711-53200-19255-0/1?campid=
         1234567890&customid=k-man&toolid=0&mpre=
         http%3A%2F%2Fcgi.ebay.com%2FCamalots-Black-Diamond-protection-cams-
         NICE_W0QQitemZ140361562585QQcmdZViewItemQQptZLH_DefaultDomain_0%3Fhash%3Ditem20ae
         3379d9</viewItemURL>
         <paymentMethod>PayPal</paymentMethod>
         <autoPay>false</autoPay>
         <postalCode>80521</postalCode>
         <location>Fort Collins,CO,USA</location>
         <country>US</country>
         <shippingInfo>
            <shippingServiceCost currencyId="USD">10.0</shippingServiceCost>
            <shippingType>Flat</shippingType>
            <shipToLocations>Worldwide</shipToLocations>
         </shippingInfo>
         <sellingStatus>
            <currentPrice currencyId="USD">150.0</currentPrice>
            <convertedCurrentPrice currencyId="USD">150.0</convertedCurrentPrice>
            <sellingState>Active</sellingState>
            <timeLeft>P27DT3H20M21S</timeLeft>
         </sellingStatus>
         <listingInfo>
            <bestOfferEnabled>true</bestOfferEnabled>
            <buyItNowAvailable>false</buyItNowAvailable>
            <startTime>2009-12-02T03:18:06.000Z</startTime>
            <endTime>2010-01-01T03:18:06.000Z</endTime>
            <listingType>FixedPrice</listingType>
            <gift>false</gift>
         </listingInfo>
      </item>
   </searchResult>
   <paginationOutput>
      <pageNumber>1</pageNumber>
      <entriesPerPage>2</entriesPerPage>
      <totalPages>4</totalPages>
      <totalEntries>7</totalEntries>
   </paginationOutput>
</findItemsAdvancedResponse>

Back to list of samples



Back to top

findItemsByKeywords Change History
Version Description
1.2.0
01/20/2009
  • searchResult.item.compatibility (added): Returns compatible application matches for items listed with parts compatibility information.
1.1.0
11/11/2009
  • searchResult.item.galleryPlusPictureURL (added): Image URL for items listed with Gallery Plus upgrade.
  • itemFilter.name.SellerBusinessType (doc change): Corrected the allowed filter values to include Business and Private only.
  • itemFilter.name.Condition (doc change): Corrected the allowed filter values to include Unspecified.
1.0.1
09/29/2009
  • itemFilter.name.TopRatedSellerOnly (added): New item filter to limit search results to items listed by Top-rated Sellers only.
  • searchResult.item.sellerInfo.topRatedSeller (added): Indicates whether or not the seller is a Top-rated Seller.
1.0.0
06/24/2009
  • (added) New call.



Back to top

User-Contributed Notes
   
 
 
 

This document was generated with a customized version of the apireferencedocs tool.

© 2009–2010 eBay, Inc. All rights reserved. This documentation and the API may only be used in accordance with the eBay Developers Program and API License Agreement.