eBay Product
Retrieve structured eBay product details, pricing, seller data, and marketplace metadata.

Use eBay Product when you need product-level data for a single eBay listing. The response includes listing metadata, price and offer data, seller context, images, categories, shipping information, and review signals when eBay exposes them.
Set engine=ebay and type=product.
Request
curl --get "https://ecom.webscrapingapi.com/v1" \
--data-urlencode "api_key=<YOUR_API_KEY>" \
--data-urlencode "engine=ebay" \
--data-urlencode "type=product" \
--data-urlencode "epid=235022741770"const API_KEY = "<YOUR_API_KEY>";
const SCRAPER_URL = "https://ecom.webscrapingapi.com/v1";
const params = new URLSearchParams({
api_key: API_KEY,
engine: "ebay",
type: "product",
epid: "235022741770",
});
const response = await fetch(`${SCRAPER_URL}?${params}`);
const data = await response.text();
console.log(data);import requests
API_KEY = "<YOUR_API_KEY>"
SCRAPER_URL = "https://ecom.webscrapingapi.com/v1"
PARAMS = {
"api_key": API_KEY,
"engine": "ebay",
"type": "product",
"epid": "235022741770",
}
response = requests.get(SCRAPER_URL, params=PARAMS)
print(response.text)<?php
$apiKey = '<YOUR_API_KEY>';
$scraperUrl = 'https://ecom.webscrapingapi.com/v1';
$query = http_build_query([
'api_key' => $apiKey,
'engine' => 'ebay',
'type' => 'product',
'epid' => '235022741770',
]);
$response = file_get_contents("{$scraperUrl}?{$query}");
echo $response;package main
import (
"fmt"
"io"
"net/http"
"net/url"
)
func main() {
apiKey := "<YOUR_API_KEY>"
baseURL := "https://ecom.webscrapingapi.com/v1"
params := url.Values{}
params.Add("api_key", apiKey)
params.Add("engine", "ebay")
params.Add("type", "product")
params.Add("epid", "235022741770")
req, _ := http.NewRequest("GET", baseURL+"?"+params.Encode(), nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}import java.net.URI;
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
import java.net.URLEncoder;
import java.nio.charset.StandardCharsets;
public class Main {
public static void main(String[] args) throws Exception {
String apiKey = "<YOUR_API_KEY>";
String url = "https://ecom.webscrapingapi.com/v1"
+ "?api_key=" + URLEncoder.encode(apiKey, StandardCharsets.UTF_8)
+ "&engine=ebay"
+ "&type=product"
+ "&epid=235022741770";
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create(url))
.GET()
.build();
HttpResponse<String> response = HttpClient.newHttpClient().send(
request,
HttpResponse.BodyHandlers.ofString()
);
System.out.println(response.body());
}
}using System;
using System.Net;
using System.Net.Http;
using System.Threading.Tasks;
class Program
{
static async Task Main()
{
var apiKey = "<YOUR_API_KEY>";
var url = "https://ecom.webscrapingapi.com/v1"
+ "?api_key=" + WebUtility.UrlEncode(apiKey)
+ "&engine=ebay"
+ "&type=product"
+ "&epid=235022741770";
using var client = new HttpClient();
var response = await client.GetAsync(url);
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
}require "net/http"
require "uri"
api_key = "<YOUR_API_KEY>"
uri = URI("https://ecom.webscrapingapi.com/v1")
uri.query = URI.encode_www_form({
api_key: api_key,
engine: "ebay",
type: "product",
epid: "235022741770",
})
response = Net::HTTP.get_response(uri)
puts response.body| Parameter | Type | Required | Description |
|---|---|---|---|
api_key | string | ✅ | Your WebScrapingAPI key. |
engine | string | ✅ | Use ebay. |
type | string | ✅ | Use product. |
epid | string | Required unless url is sent | eBay product or item identifier. |
url | string | Required unless epid is sent | Full eBay product URL. Do not send epid and url in the same request. |
Finding an eBay ID
For most item pages, the product identifier is visible in the URL:
https://www.ebay.com/itm/235022741770Use the numeric segment after /itm/ as epid. If you already have the complete item URL, you can send it as url instead.
Response Fields
| Field | Type | Description |
|---|---|---|
search_parameters | object | Request details, selected engine, eBay URL, and normalized item identifier. |
product_results.product | object | Core product data such as title, brand, description, attributes, images, categories, and model identifiers. |
product_results.condition | object | Listing condition metadata, including normalized condition flags when available. |
product_results.offer | object | Price, currency, regular price, discount, and sale-state fields when available. |
product_results.seller | object | Seller name, feedback, location, rating, and seller profile links when returned by eBay. |
product_results.shipping | object | Shipping options, delivery estimates, and cost metadata when shown on the page. |
product_results.rating | object | Rating score, review count, and rating distribution. |
product_results.related_products_also_viewed | array | Related products shown by eBay. |
product_results.reviews | array | Review excerpts and ratings when available. |
Response example
{
"search_parameters": {
"engine": "ebay",
"type": "product",
"epid": "235022741770",
"ebay_domain": "ebay.com",
"ebay_url": "https://www.ebay.com/itm/235022741770",
"device": "desktop"
},
"product_results": {
"product": {
"title": "Autopilot APCEM2 Hydroponic Gardening CO2 RH Temperature Monitor and Data Logger",
"brand": "Autopilot",
"epid": "235022741770",
"link": "https://www.ebay.com/itm/235022741770",
"primary_image": {
"link": "https://i.ebayimg.com/images/g/VqEAAOSw2sNkbQfo/s-l1600.jpg"
},
"categories": [
{
"name": "Home & Garden",
"link": "https://www.ebay.com/b/Home-Garden/11700/bn_1853126"
}
]
},
"condition": {
"raw": "New",
"is_new": true,
"is_used": false
},
"offer": {
"price": 121.99,
"currency": "USD",
"price_regular": 219.99,
"price_is_discounted": true
},
"rating": {
"score": 4.9,
"rating_count": 20,
"reviews_count": 12
}
}
}Notes
Keep one identifier per request. Use epid for the smallest request, or url when your system already stores canonical eBay listing URLs. Product page modules can vary by marketplace, listing state, seller settings, and buyer location, so optional objects may be absent when eBay does not render that data.