eBay Seller Shop
提取 eBay 卖家店铺 - 店铺信息、评分、总反馈数以及当前在售商品的样本。
部分 eBay 页面通过 JavaScript 或 iframe 加载内容。为获取完整数据,请使用您的 JavaScript token。
API 用法
在 Crawling API 请求中添加 &scraper=ebay-seller-shop。在 url 参数中对目标 URL 进行 URL 编码。
curl 'https://api.crawlbase.com/?token=YOUR_TOKEN' \
--data-urlencode 'url=https://www.ebay.com/str/watcheshalfprice' \
--data-urlencode 'scraper=ebay-seller-shop' -Gfrom crawlbase import CrawlingAPI
api = CrawlingAPI({'token': 'YOUR_TOKEN'})
res = api.get(
'https://www.ebay.com/str/watcheshalfprice',
{'scraper': 'ebay-seller-shop'}
)
import json
data = json.loads(res['body'])const { CrawlingAPI } = require('crawlbase');
const api = new CrawlingAPI({ token: 'YOUR_TOKEN' });
const res = await api.get(
'https://www.ebay.com/str/watcheshalfprice',
{ scraper: 'ebay-seller-shop' }
);
const data = JSON.parse(res.body);require 'crawlbase'
api = Crawlbase::API.new(token: 'YOUR_TOKEN')
res = api.get('https://www.ebay.com/str/watcheshalfprice', scraper: 'ebay-seller-shop')
data = JSON.parse(res.body)示例输入 URL
传入 url 参数的 URL(已 URL 解码以便阅读):
https://www.ebay.com/str/watcheshalfprice响应结构
JSON 响应体。当源页面缺少对应值时,字段类型可能为 null。
示例响应
{
"shop_name": "Watches Half Price",
"seller_username": "watcheshalfprice",
"feedback_score": 8420,
"positive_feedback_pct": "99.8%",
"items_for_sale": 120
}