Search live or SOLD eBay listings, read a listing in full, and look up a seller's profile card as structured JSON. 3 endpoints, 1 credit each. Sold-listing search is the price-research feature eBay itself hides.
---
name: scavio-ebay
description: Search live or SOLD eBay listings, read a listing in full, and look up a seller's profile card as structured JSON. 3 endpoints, 1 credit each. Sold-listing search is the price-research feature eBay itself hides.
version: 1.0.0
tags: ebay, ecommerce, marketplace, sold-listings, price-research, resale, auctions, product-data, listing-data, seller-profile, arbitrage, competitor-research, price-monitoring, agents, langchain, crewai, autogen, structured-data, json, ai-agents
metadata:
openclaw:
requires:
env:
- SCAVIO_API_KEY
primaryEnv: SCAVIO_API_KEY
timeout: 120
throttle: 1
emoji: "\U0001F4E6"
homepage: https://scavio.dev/docs/ebay-search
---
# eBay via Scavio
Search eBay's live listings or its SOLD listings, read a single listing in full, and pull a seller's public profile card. All endpoints return structured JSON and cost 1 credit each.
## When to trigger
Use this skill when the user asks to:
- Find what something actually SOLD for on eBay (comps, resale pricing, market value)
- Search live eBay listings by keyword, price band, condition or buying format
- Filter to auctions, Buy It Now or Best Offer listings
- Read one eBay listing in full: item specifics, shipping, returns, auction state
- List everything a particular eBay seller has for sale
- Look up an eBay seller's feedback score, items sold and location
- Compare eBay resale prices against retail (pair with scavio-amazon, scavio-walmart or scavio-target)
## Setup
Get a free API key at [scavio.dev](https://scavio.dev/?utm_source=clawhub&utm_medium=skill&utm_campaign=scavio-ebay) (50 free credits to get started, no card required):
```bash
export SCAVIO_API_KEY=sk_live_your_key
```
Every request is a `POST` with a JSON body and:
```
Authorization: Bearer $SCAVIO_API_KEY
```
## Endpoints
Base URL: `https://api.scavio.dev`. Every endpoint costs **1 credit**.
| Endpoint | Credits | Description |
|---|---|---|
| `POST /api/v1/ebay/search` | 1 | Search live or sold listings: price, condition, bids, shipping, seller, feedback |
| `POST /api/v1/ebay/product` | 1 | One listing in full: images, item specifics, shipping, returns, auction state, seller |
| `POST /api/v1/ebay/seller` | 1 | Seller profile card: store name, feedback score and percentage, items sold, followers, location, categories |
## Workflow
1. **Price research:** call `/ebay/search` with `query` and `sold: true`. This is the differentiating call. It searches completed listings that actually sold, which is what a comp is.
2. **Live listings:** call `/ebay/search` with `query` and no `sold` flag.
3. **Read a listing:** call `/ebay/product` with `item_id` (the eBay item number, or a full `ebay.com/itm/...` URL — tracking parameters are discarded).
4. **List a seller's inventory:** call `/ebay/search` with `seller` set and NO `query`. That is the paginated route through a seller's catalogue.
5. **Seller reputation:** call `/ebay/seller` with the username as it appears in `ebay.com/usr/<name>`.
`/search` paginates with `page`. `/product` and `/seller` do not paginate.
## Parameters
### Search (`/search`)
`query` or `seller` is required. At least one must be present.
| Parameter | Type | Default | Description |
|---|---|---|---|
| `query` | string | one of | Search keywords (1-500 chars) |
| `seller` | string | one of | Scope to one seller (1-64 chars). Usable with NO query to page their whole catalogue |
| `page` | integer >= 1 | -- | Results page, 1-based |
| `per_page` | integer | `60` | Accepts ONLY `60`, `120` or `240` |
| `sort_by` | string | `best_match` | `best_match`, `ending_soonest`, `newly_listed`, `price_low`, `price_high` |
| `min_price` | number >= 0 | -- | Minimum price filter |
| `max_price` | number >= 0 | -- | Maximum price filter |
| `condition` | string | -- | `new`, `open_box`, `refurbished`, `used`, `for_parts` |
| `buying_format` | string | -- | `auction`, `buy_it_now`, `best_offer` |
| `free_shipping` | boolean | -- | Only listings with free shipping |
| `sold` | boolean | -- | Search completed listings that actually SOLD |
| `category_id` | string | -- | Numeric eBay category id, e.g. `112529` |
### Product (`/product`)
| Parameter | Type | Default | Description |
|---|---|---|---|
| `item_id` | string | required | eBay item number (e.g. `168591664725`) or a full `ebay.com/itm/...` URL |
### Seller (`/seller`)
| Parameter | Type | Default | Description |
|---|---|---|---|
| `seller` | string | required | eBay username as in `ebay.com/usr/<name>`, e.g. `red-rock-uk` (1-64 chars) |
## Examples
```python
import requests
BASE = "https://api.scavio.dev"
# Your key from https://scavio.dev. Load it from your environment or secret
# store in real code - keep it out of source control.
API_KEY = "sk_your_key_here"
HEADERS = {"Authorization": f"Bearer {API_KEY}"}
# 1. What did it actually sell for? (the price-research call)
sold = requests.post(f"{BASE}/api/v1/ebay/search", headers=HEADERS,
json={"query": "nintendo switch oled", "sold": True, "condition": "used"}).json()
# 2. Live listings, cheapest first, 120 per page
live = requests.post(f"{BASE}/api/v1/ebay/search", headers=HEADERS,
json={"query": "nintendo switch oled", "sort_by": "price_low", "per_page": 120}).json()
# 3. One listing in full
item = requests.post(f"{BASE}/api/v1/ebay/product", headers=HEADERS,
json={"item_id": "168591664725"}).json()
# 4. A seller's whole catalogue: /search with seller and no query
catalogue = requests.post(f"{BASE}/api/v1/ebay/search", headers=HEADERS,
json={"seller": "red-rock-uk", "page": 1}).json()
# 5. That seller's reputation card
profile = requests.post(f"{BASE}/api/v1/ebay/seller", headers=HEADERS,
json={"seller": "red-rock-uk"}).json()
```
## Response
Every response uses the envelope `{ data, response_time, credits_used, credits_remaining }`.
- **search** returns the listing rows with price, condition, bids, shipping, seller and feedback, alongside `count` and `total_results`.
- **product** returns price, condition, images, item specifics, shipping, returns, auction state and seller.
- **seller** returns store name, feedback score and percentage, items sold, followers, location and categories.
`total_results` is **null when `sold: true`**. eBay publishes no headline count on the sold view, so a null there means "eBay did not say", not "zero results". Count the returned rows instead.
## Guardrails
- Never fabricate prices, item numbers, sold dates, feedback scores or seller names. Only return data the API returned.
- `/seller` is a PROFILE endpoint. It cannot enumerate a catalogue. If the user wants a seller's items, use `/search` with `seller` set and no keyword.
- `per_page` accepts only `60`, `120` or `240`. eBay silently falls back to 60 for any other value, so a request for 100 quietly returns 60 and looks successful.
- `category_id` must be numeric. An unrecognised category id returns the UNFILTERED result set under a `200`, which looks like a successful filter and is not one. Verify the id before relying on it.
- `condition: "refurbished"` is eBay's parent condition, not one of its three graded refurbished tiers. Do not present it as a specific grade.
- There is no "Distance: nearest first" sort. It ranks against the proxy exit rather than the caller's location, so it is deliberately absent. Never recommend it.
- Sold-listing prices are historical. When quoting them as a market value, say when the sale happened.
- Always include the listing URL so the user can verify.
## Failure handling
- `400` means an invalid or missing parameter, most often neither `query` nor `seller` being supplied. Fix and retry.
- `401` means the API key is invalid or missing. Check `SCAVIO_API_KEY`.
- `404` means the item or seller was not found. Check the item number or the `ebay.com/usr/<name>` spelling.
- `429` means a rate or usage limit was exceeded. Wait before retrying. See https://scavio.dev/docs/rate-limits.
- `502` / `503` mean the upstream is temporarily unavailable. Wait a few seconds before retrying.
- If a sold search returns nothing, widen the keywords before concluding the item never sold. Sold-view matching is stricter than the live view.
- If `SCAVIO_API_KEY` is not set, prompt the user to export it before continuing.
## Docs
- Search: https://scavio.dev/docs/ebay-search
- Product: https://scavio.dev/docs/ebay-product
- Seller: https://scavio.dev/docs/ebay-seller
don't have the plugin yet? install it then click "run inline in claude" again.
extracted implicit decision logic into explicit if-else branches, added edge cases (rate limits, auth expiry, unrecognized category ids, per_page rounding, sold search nulls), documented external connections with setup guidance, formalized input validation and error handling, clarified the three workflow branches with direct triggers, and added outcome signal criteria for user verification.
use this skill to search ebay's live or sold listings, pull a single listing in full detail, or fetch a seller's public profile card as structured json. all three endpoints return structured data and cost 1 credit per call. sold-listing search is the differentiating feature here, it's what ebay hides from the web ui but exposes via api. trigger this when a user needs market comps, resale pricing, inventory searches by seller, or seller reputation checks.
external connections:
required environment:
SCAVIO_API_KEY: bearer token for scavio. set via export SCAVIO_API_KEY=sk_live_your_keyrequest metadata:
https://api.scavio.devPOST for all endpointsAuthorization: Bearer $SCAVIO_API_KEYcontext from user:
step 1: validate api key availability
SCAVIO_API_KEYexport SCAVIO_API_KEY=<your_key> from https://scavio.devstep 2: determine endpoint and build request
/api/v1/ebay/search, /api/v1/ebay/product, or /api/v1/ebay/seller) and json payload/search with sold: true flag/search without sold flag/product with item_id/search with seller parameter and no query/seller with seller usernamestep 3: parse item_id or seller name from user input
step 4: apply search filters if present
per_page to one of 60, 120, or 240 only (ebay silently falls back to 60 for any other value)condition is one of: new, open_box, refurbished, used, for_partsbuying_format is one of: auction, buy_it_now, best_offersort_by is one of: best_match, ending_soonest, newly_listed, price_low, price_highpage is >= 1min_price and max_price are >= 0 and min <= maxcategory_id is provided, verify it is numeric (unrecognized ids return unfiltered results under 200, appearing successful)step 5: execute http request
step 6: parse response envelope
{ data, response_time, credits_used, credits_remaining } structurestep 7: format and return results
/search: list each row with price, condition, bids (if auction), shipping, seller name, feedback score, url/product: show price, condition, images, item specifics, shipping, returns policy, auction state, seller info/seller: show store name, feedback score/percentage, items sold, followers, location, categoriesif SCAVIO_API_KEY is not set:
export SCAVIO_API_KEY=sk_your_key from https://scavio.dev (free tier: 50 credits)"if the user asks for sold listings (comps, market value, what it sold for):
/search with sold: truetotal_results: null because ebay does not publish headline counts on the sold view, count returned rows insteadif the user asks for live listings or current inventory:
/search with no sold flag (or sold: false)total_results will be populatedif the user provides a seller name and no keyword:
/search with seller parameter and no query/seller endpoint for inventory, it only returns the seller's profile card, not itemsif the user asks for seller feedback, store name, or profile info:
/seller with the seller username/seller does not list items, it returns reputation metrics only/search with seller parameter insteadif the response status is 400:
query nor seller supplied)query or sellerif the response status is 401:
SCAVIO_API_KEYif the response status is 404:
if the response status is 429:
if the response status is 502 or 503:
if a sold search returns empty results:
if per_page is not one of 60, 120, or 240:
if category_id is numeric but unrecognized:
if condition: "refurbished" is returned:
if the user asks for "distance: nearest first" sort:
best_match or price_low insteadall responses follow the envelope:
{
"data": [ ... ],
"response_time": "150ms",
"credits_used": 1,
"credits_remaining": 49
}
for /search endpoint:
data is an array of listing objects with fields: price, condition, bids (if auction), shipping, seller name, seller feedback score, listing url, item_id, titlecount (number of rows returned) and total_results (headline count from ebay, null if sold: true)page parameter (1-based)for /product endpoint:
data is a single listing object with fields: price, condition, images array, item specifics dict, shipping details, returns policy, auction state (if applicable), seller info (name, feedback, location)for /seller endpoint:
data is a single seller profile object with fields: store name, feedback score (integer), feedback percentage, items sold (lifetime), followers, location, categories sold insuccess criteria:
credits_remaining >= 0data is populated (non-empty array for search, non-null object for product/seller)file location: results are returned in-memory as json, not written to disk
the skill worked if:
data populatedthe skill failed if:
data is null or an error messagehow the user knows:
credits: original skill by clawhub / scavio. enriched for implexa quality standards.