eBay Sniper
Bid your maximum at the last moment eBay still records it, with no time left for anyone to answer.
eBay Sniper places one bid on an eBay auction, timed so that eBay records it about half a second before the end. It's free and open source, and it runs on your computer with your own eBay account.
uvx ebay-sniper 'https://www.ebay.com/itm/123456789012' --max 120
Why the timing matters
eBay doesn't record a bid the moment it arrives: it takes 1.3–1.6 seconds. We measured this with real bids against eBay's own server clock. A bid sent in the final second is recorded after the end.
So eBay Sniper doesn't guess:
- It measures. One minute before the end, it times how long eBay takes to handle a bid right now.
- It sends early enough. The bid goes out about 2 seconds before the end, and eBay records it about half a second before.
- It rehearses first. When you start it, it goes through eBay's bid form up to the confirm button, without clicking it. A too-low amount or a signed-out session shows up then, not in the last second.
- It corrects your clock against internet time servers.
A sniper can't beat a higher maximum: if someone else's is higher, they still win. What it prevents is others seeing your bid in time to raise theirs.
Install and use
You need Chrome, Brave, Edge or Chromium. uv installs Python by itself; with pip, you need Python 3.13 or later.
uv tool install ebay-sniper # or: pip install ebay-sniper
ebay-sniper '<item link>' --max <amount>
- A browser window opens. The first time, sign in to eBay. The session stays on your computer.
- The bot rehearses the bid, then shows the item, the end time and your maximum. Type
yto schedule it. - Leave the terminal, the browser and the computer on until the auction ends.
It works on every eBay site and language. Run one command per auction; several can run at once. If eBay shows a human check, complete it in the browser.
| Option | Effect |
|---|---|
--at HH:MM:SS |
For a test: treat this local time as the end. The bid is real. |
--browser PATH |
Use this browser if none is found automatically. |
Every bid is logged to ~/.ebay-sniper/history.jsonl.
Limits
- The browser window must stay visible: eBay blocks headless browsers.
- eBay allows sniping, but its User Agreement prohibits automated access without permission. Use at your own risk.
- If eBay changes its pages, update the selectors at the top of
browser.py.
Develop
uv sync && uv run ruff check . && uv run pytest
EBAY_ITEM='<item link>' EBAY_MAX=<amount> uv run pytest tests/test_live.py -s # real flow, never confirms
Metadata
Release files for ebay-sniper 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| ebay_sniper-0.2.0.tar.gz | 14.8 kB | Without provenance | Details for ebay_sniper-0.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| ebay_sniper-0.2.0-py3-none-any.whl | Python 3 | none | any | Details for ebay_sniper-0.2.0-py3-none-any.whl |
Total release size: 31.5 kB
Release files / ebay_sniper-0.2.0.tar.gz
| Download URL | ebay_sniper-0.2.0.tar.gz |
|---|---|
| Size | 14.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
480aac75d9d713e5bcfa67e88ba842748e4293294e5aaf3fae6a01c92e0d0787
|
|
BLAKE2b-256 checksum How to use checksums |
e1aebd5068901ac89c544b72e8810054bd6dc34fa07a8f4444b9bb3b4e721766
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.13.12 {"installer":{"name":"uv","version":"0.13.12","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / ebay_sniper-0.2.0-py3-none-any.whl
| Download URL | ebay_sniper-0.2.0-py3-none-any.whl |
|---|---|
| Size | 16.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
652b13b39642f1142445bc8d7f50d2a48e278fbee0211f64d2d56dbfb416ae70
|
|
BLAKE2b-256 checksum How to use checksums |
1c046d7c7d4bd3e74aa4cb72757e9562c577e8177f755f331907f993672881ad
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.13.12 {"installer":{"name":"uv","version":"0.13.12","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Security for ebay-sniper 0.2.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.