apiwren
eBay Data API · free plan 20 req/mo

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.

Get a free key on RapidAPISee all 5 endpointsOpenAPI spec

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.

Quickstart

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);
200 OK · 376333147656 on ebay.com
{
  "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

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.

Finding API shut down in 2025

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

Prices, currencies and known limits

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.

PlanPrice a monthRequests a monthOver quota
Basic$020Hard limit
Pro$1515,000$0.003 a request
Ultra$4975,000$0.002 a request
Mega$129300,000$0.001 a request

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.

Start with 20 free requests. A call to any endpoint counts as one request.

Get eBay Data API on RapidAPI
Free plan on every API

Give your app real data.

Every API has a free plan on RapidAPI, and one key works for all of them.