ebaysdk
eBay SDK for Python
What it is and what it does
ebaysdk is a Python wrapper around eBay's public APIs (Finding, Shopping, Trading, and Merchandising), designed to reduce boilerplate by standardizing how you construct requests, parse responses, handle errors, and debug API interactions. It provides dedicated Connection classes for each API type and supports both direct configuration and YAML-based setup.
The package wraps raw HTTP calls through lxml and requests, converting eBay's XML responses into Python objects with datetime parsing and dictionary conversion. It's intended for developers building eBay integrations who want to avoid repeating the same error-handling and response-parsing logic across multiple API calls.
Use it for:
- Search eBay listings programmatically using the Finding API with standardized keyword and filter parameters.
- Retrieve public product and item data via the Shopping API without managing raw HTTP requests and XML parsing.
- Authenticate and execute authenticated Trading API calls for private account data with valid credentials.
- Build concurrent eBay API queries using the Parallel class to fetch multiple items or search results in one batch.
- Integrate eBay marketplace data into a Python application with centralized error handling and response normalization.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Programmatic interface to eBay's Finding, Shopping, Trading, and Merchandising APIs, standardizing calls, response processing, error handling, and debugging across multiple eBay API endpoints.
No—not for new projects. The package is abandoned (last release 2020-04-20) and classifiers indicate support only for Python 2.6–3.5, which are out of support. eBay's API platform has likely evolved; compatibility is unverified. Only consider it if maintaining legacy code already using ebaysdk. For new integrations, verify current API compatibility or contact eBay for supported libraries.
Install
ebaysdk on PyPI
pip
pip install ebaysdkuv
uv add ebaysdkpoetry
poetry add ebaysdkInstalling ebaysdk
Before you install
Low install friction with only two runtime dependencies (lxml and requests). However, the package is abandoned—last release was 2020-04-20, with no active maintenance.
License in practice
Licensed under CDDL-1.0 (copyleft), which requires derivative works and modifications to be distributed under the same license. This may restrict commercial use or integration into proprietary projects without careful legal review.
Quickstart
from ebaysdk.finding import Connection
from ebaysdk.exception import ConnectionError
try:
api = Connection(appid='YOUR_APPID_HERE', config_file=None)
response = api.execute('findItemsAdvanced', {'keywords': 'legos'})
print(response.reply.ack)
except ConnectionError as e:
print(e)
Requires a valid eBay API appid; eBay API endpoints and authentication methods may have changed since the last release.
Verify before relying
- Whether eBay API endpoints and authentication protocols remain compatible with current eBay platform
- Current Python version support—classifiers list Python 2.6–3.5 but compatibility with modern versions is unverified
- Whether YAML configuration and parallel API call features are production-ready or documented
Package facts
| License | COMMON DEVELOPMENT AND DISTRIBUTION LICENSE (CDDL) Version 1.0 (copyleft) |
| Python support | not specified |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 2 — lxml, requests |
| Maintenance | abandoned — 2,307 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 116,675/month — #12,196 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: ebaysdk-2.2.0-py3-none-any.whl
Tags
More WWW/HTTP packages
urllib3 is an HTTP client library that provides…
permissive · top 100 on PyPI
requestsRequests is a Python HTTP library that…
permissive · top 100 on PyPI
h11h11 is a pure-Python HTTP/1.1 protocol…
permissive · top 100 on PyPI
httpxHTTPX is a fully featured HTTP client library…
permissive · top 100 on PyPI
httpcoreA minimal low-level HTTP client library that…
permissive · top 100 on PyPI
aiohttpaiohttp is an async HTTP client and server…
permissive · top 100 on PyPI
google-shopping-merchant-productsPython client library for Google Shopping…
permissive · top 15,000 on PyPI
bring-apiProvides async Python access to the Bring!…
permissive · top 15,000 on PyPI
google-shopping-typeProvides Python type definitions and client…
permissive · top 15,000 on PyPI
paypalhttpPayPalHttp is a generic HTTP client library…
permissive · top 5,000 on PyPI
serpapiOfficial Python client for SerpApi that queries…
permissive · top 15,000 on PyPI
python-kraken-sdkProvides REST and WebSocket clients for trading…
permissive · top 15,000 on PyPI
snaptrade-python-sdkPython SDK client for SnapTrade's brokerage…
permissive · top 15,000 on PyPI
polymarket-clientOfficial Python SDK for Polymarket that…
permissive · top 15,000 on PyPI
longbridgeLongbridge provides a Python SDK for accessing…
unclear · top 15,000 on PyPI
kagglesdkKagglesdk provides Python bindings to Kaggle's…
permissive · top 5,000 on PyPI