eBay data API for 14 eBay sites
eBay Data API returns eBay listings as JSON: keyword search results, item details by item ID, listings for a UPC, EAN or ISBN, a seller’s feedback profile and a seller’s active listings. It reads the public eBay page for each request, so you need a RapidAPI key and no eBay developer account. It is sold on RapidAPI, and the free plan covers 20 requests a month.
5 endpoints
Every endpoint takes a country parameter. Text comes back in that eBay site’s language and prices in its currency. Need Amazon listings too? Amazon Data API uses the same response shape.
- GET/searchSearch listings by keyword
- GET/item-detailsItem details by item ID
- GET/product-lookupListings for a UPC, EAN or ISBN
- GET/seller-profileA seller's feedback profile
- GET/seller-itemsA seller's active listings
Item details by item ID
Pass an eBay item ID and a country code to /item-details. The item ID is the number in the listing’s URL after /itm/. The response holds the listing’s title, price, shipping cost, condition, availability, quantity sold, images, the item specifics table, the category path, the returns policy, the item location and the seller’s user name with feedback score and percent positive.
meta.cached says whether the result came from cache and meta.fetched_at says when eBay’s page was read. The API can spend up to 60 seconds fetching a page, so set your client timeout to 75 seconds.
curl --request GET \
--url 'https://ebay-data-api-search-item-details-seller.p.rapidapi.com/item-details?item_id=376333147656&country=US' \
--header 'X-RapidAPI-Key: YOUR_RAPIDAPI_KEY' \
--header 'X-RapidAPI-Host: ebay-data-api-search-item-details-seller.p.rapidapi.com'import requests
resp = requests.get(
"https://ebay-data-api-search-item-details-seller.p.rapidapi.com/item-details",
params={"item_id": "376333147656", "country": "US"},
headers={
"X-RapidAPI-Key": "YOUR_RAPIDAPI_KEY",
"X-RapidAPI-Host": "ebay-data-api-search-item-details-seller.p.rapidapi.com",
},
timeout=75,
)
resp.raise_for_status()
body = resp.json()
if "error" in body: # bad input or not found: HTTP 200 with an error body
raise RuntimeError(f"{body['error']['code']}: {body['error']['message']}")
item = body["data"]
print(item["title"], item["price"], item["currency"])const url = new URL('https://ebay-data-api-search-item-details-seller.p.rapidapi.com/item-details');
url.search = new URLSearchParams({ item_id: '376333147656', country: 'US' });
const res = await fetch(url, {
headers: {
'X-RapidAPI-Key': process.env.RAPIDAPI_KEY,
'X-RapidAPI-Host': 'ebay-data-api-search-item-details-seller.p.rapidapi.com',
},
});
const { data, meta } = await res.json();
console.log(data.title, data.price, data.currency, meta.fetched_at);{
"data": {
"item_id": "376333147656",
"title": "NOCO XGrid XC2: 240W USB-C to USB-C Cable with E-Marker Chip - 6-Foot (White)",
"url": "https://www.ebay.com/itm/376333147656",
"price": 14.95,
"price_max": null,
"currency": "USD",
"is_price_approximate": false,
"shipping": 0,
"condition": "New",
"availability": "More than 10 available",
"quantity_sold": 78,
"images": [
"https://i.ebayimg.com/images/g/lN8AAeSwfEZqsW12/s-l1600.webp"
],
"specifics": {
"Brand": "NOCO",
"Type": "USB-C Cable"
},
"categories": [
"Electronics",
"Cell Phones & Accessories",
"Cell Phone Accessories",
"Cables & Adapters"
],
"seller": {
"name": "officialnoco",
"feedback_score": 14744,
"percent_positive": 99.9
},
"returns": "30 days returns. Buyer pays for return shipping. If you use an eBay shipping label, it will be deducted from your refund amount.",
"location": "Solon, Ohio, United States"
},
"meta": {
"country": "US",
"cached": false,
"fetched_at": "2026-11-15T07:36:43.000Z"
}
}14 eBay sites
- US ebay.com
- GB ebay.co.uk
- DE ebay.de
- FR ebay.fr
- IT ebay.it
- ES ebay.es
- CA ebay.ca
- AU ebay.com.au
- AT ebay.at
- BE befr.ebay.be
- CH ebay.ch
- PL ebay.pl
- HK ebay.com.hk
- MY ebay.com.my
Each page is checked against the eBay site you asked for. If eBay serves a page from another site, the API returns the wrong_marketplace error and no data. Belgium (BE) is eBay’s French-language Belgian site.
An alternative to the eBay Finding API
eBay decommissioned the Finding API and the Shopping API on February 5, 2025 and points developers to the Browse API, which needs an eBay developer account and an OAuth token. If your app only reads public listing data, /search covers keyword search with sort, condition, price range, buying format and category filters, and /item-details returns one listing with its item specifics table.
The field names differ from eBay’s, so plan a small mapping step. Completed-item searches (findCompletedItems) have no equivalent here, because eBay shows sold and completed listings only to signed-in users. To check sold prices by hand, see how to see sold and completed listings on eBay.
What people build with the eBay API
eBay price tracker
Call
/item-detailson a schedule and comparepriceandshipping. A listing that has ended returnsnot_found.Reseller and arbitrage research
/searchwithcondition,min_price,max_priceandsort=price_ascreturns the cheapest matching listings on each eBay site.Book and product lookup by barcode
/product-lookupwith an ISBN, UPC or EAN returns the listings eBay finds for that code.Seller checks
/seller-profilegives a seller’s feedback score and percent positive, and/seller-itemslists what they have for sale.Auction monitoring
/searchwithbuying_format=auctionandsort=ending_soonestreturns each auction’s bids and time left.Shopping assistants and AI agents
Five GET endpoints share one response shape, so they are short to describe as tools. The OpenAPI spec lists every parameter.
Prices, currencies and known limits
Converted prices are marked
When a seller priced a listing in another currency,
priceis eBay’s approximate conversion andis_price_approximateistrue. If an item page shows a foreign price with no conversion,priceisnull.Local number formats are parsed
1.234,56 €comes back as1234.56andCHF 1'234.50as1234.5.Missing fields are null
A field eBay does not show is
null. A page the API cannot read returns theparse_failederror instead of a half-filled result.Shipping depends on eBay’s assumed location
shippingis the cost to the delivery location eBay assumes for the request, which may be outside the market’s country.Barcode matches are not verified
/product-lookupreturns eBay’s search results for the code and does not verify them against it.Active listings only
Sold and completed listings are not available. A listing that has ended returns the
not_founderror.
Bad input and missing items come back with HTTP 200 and an error body that names the problem. Retry 500, 502, 503 and 429 up to 3 times, waiting for the Retry-After header when it is present.
eBay Data API pricing
Billed monthly by RapidAPI. The free Basic plan includes 20 requests a month. Prices as listed on RapidAPI on . Every API’s plans are on the pricing page.
| Plan | Price a month | Requests a month | Over quota |
|---|---|---|---|
| Basic | $0 | 20 | Hard limit |
| Pro | $15 | 15,000 | $0.003 a request |
| Ultra | $49 | 75,000 | $0.002 a request |
| Mega | $129 | 300,000 | $0.001 a request |
Guides and examples
FAQ
- Is there a free eBay API plan?
- Yes. The free plan on RapidAPI includes 20 requests a month. RapidAPI asks for a card even on free plans.
- Is this the official eBay API?
- No. eBay Data API is a third-party service that reads eBay’s public listing pages and returns JSON. It is not affiliated with eBay.
- Do I need an eBay developer account or OAuth token?
- No. You need a RapidAPI key. Every endpoint reads the pages eBay shows visitors who are not signed in.
- Is this an eBay scraper API?
- Yes, in the sense that it reads eBay’s public web pages for you and returns structured JSON, so you do not run proxies or maintain HTML parsers yourself.
- How fresh is the eBay data?
- Each result is read from the live eBay page and cached for 10 minutes, or 6 hours for seller profiles. meta.fetched_at gives the time the page was read.
- Can I get eBay sold prices or completed listings?
- No. eBay shows sold and completed listings only to signed-in users, so the API returns active listings only.
- How do I search eBay by UPC, EAN or ISBN?
- Call GET /product-lookup with the code, for example code=9780735211292. Hyphens and spaces are ignored. The matches are eBay’s search results for the code and are not verified against it.
- Which country code is the United Kingdom?
- Use GB for ebay.co.uk. UK is not a valid country code.