cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

API Usage Help

Hello.

I would like to do an API search, yet I don't know which api to use.

The data I want to pull is basically:

  1. search by keyword
  2. list only the sold items (completed + sold)
  3. ideally, have the "Part Number" included in the API reply

Where could I start to build this API request?

I currently tried "findCompletedItems, which does return results... yet it does not contain the "Part Number" for the item.

 

What would you suggest?

Thank you!

Message 1 of 5
latest reply
4 REPLIES 4

API Usage Help

Some additional information:

In this link --> https://developer.ebay.com/devzone/xml/docs/reference/ebay/fieldindex.html#MPN

 

It has a field: GetItem.Item.ProductListingDetails.BrandMPN

This is under "MotorVehicles --> MPN".

Is there a way to get this data in the API?

Message 2 of 5
latest reply

API Usage Help

@colmadopuertorico

 

If you are searching your own items, then use the Trading API.

 

If you are searching others' items, use the Finding API, findCompletedItems, to retrieve ended items by keyword or category. There is an immutable call limit of 5000 per day for ended items.

https://developer.ebay.com/Devzone/finding/CallRef/findCompletedItems.html

 

Once the item list is retrieved, you can use the Shopping API to retrieve Item Specifics for up to 20 items per call.

https://developer.ebay.com/devzone/shopping/docs/CallRef/index.html

 

Use the ItemSpecifics selector within GetMultipleItems or GetSingleItem:

https://developer.ebay.com/devzone/shopping/docs/CallRef/GetMultipleItems.html

 

ShipScript has been an eBay Community volunteer since 2003, specializing in HTML, CSS, Scripts, Photos, Active Content, Technical Solutions, and online Seller Tools.
Message 3 of 5
latest reply

API Usage Help

@shipscript

Thank you!

I am going to try what you said now.

Going to start with the findCompletedItems, as you say.

Then lets see if I can tak on top the Shopping API, to get the item specifics with getMultipleItems.

 

I am still reading the HowTo documetns for the API.

There is so much information that I am a little bit lost on how to build a proper API call.

 

I will update this thread with my progress.

Thanks again @shipscript !!

Message 4 of 5
latest reply

API Usage Help

@colmadopuertorico

 

Here is a sample Browser call to the shopping API

http://open.api.ebay.com/shopping
?callname=GetMultipleItems
&version=1063
&appid=YourKeyHere
&responseencoding=JSON
&IncludeSelector=ItemSpecifics
&ItemID=372269665687,352323104710,132084911698

Add your key, pull it together on one line line, and you will see the JSON response. You can change the responseencoding value to NV, or remove the value to receive an XML response.

ShipScript has been an eBay Community volunteer since 2003, specializing in HTML, CSS, Scripts, Photos, Active Content, Technical Solutions, and online Seller Tools.
Message 5 of 5
latest reply