# eBay API

Search eBay active or sold listings, seller inventories, and buyer feedback to compare item prices.

Keep active and sold listings separate when comparing prices, and verify what a best-offer record represents.

- Request: POST https://api.everyinfra.com/api/v1/social with `{"platform": "ebay", "action": "<action>", "params": {...}}`
- Canonical page: [https://everyinfra.com/en/ebay-api](https://everyinfra.com/en/ebay-api?utm_medium=ai_doc&utm_campaign=page_md)
- Each capability uses the price recorded in the public catalog. The response includes the amount charged. Authentication failures, invalid parameters, failed calls, and empty results are not charged.

## Actions

### search — Search
Find eBay listings for a `keyword`. Get asking price, currency, condition, shipping terms and seller. You can filter by condition, site domain or price range. `sold_only` keeps listings seen as sold. It does not measure total market volume.
- Sync delivery · Price: $1.39 per 1,000 requests (every 20 rows count as one call)
- Catalog values: defaultLimit=20, maxLimit=50. For some actions a limit controls pages or per-parent expansion, so it is not always the final row count.
- Parameters:
  - `keyword` (required): Search term for active listings in `search` actions, or ended/sold listings in `sold` actions. Asking prices in active listings should not be assumed to match final transaction amounts.
  - `condition` (optional): Filters search results by item condition. Preserve capitalization and spaces: New, Used, Refurbished, or For parts or not working. This is an item-condition filter, not a positive or negative review filter.
  - `country` (optional): A compatibility input for domain that also takes an eBay site domain such as ebay.com, not a country code such as US or DE. When both are present, domain takes precedence.
  - `domain` (optional): Selects the eBay site domain, such as ebay.com, ebay.de, or ebay.co.uk, without a scheme or path. It defaults to ebay.com and is used to build pages for search, store, and reviews.
  - `max_price` (optional): Sets a numeric upper bound for item prices in search. Use it with min_price to define a range, and do not assume that shipping or taxes are included.
  - `min_price` (optional): Sets a numeric lower bound for item prices. Filters active listing prices in `search` actions and ended/sold listing prices in `sold` actions. Currency is determined by the target marketplace site and listing data, not API billing. In `sold`, filtering uses whole numbers and decimals round down.
  - `sold_only` (optional): Boolean toggle in `search` actions to return only completed sales when set to `true`. Must be passed as a JSON boolean, not a string (`"false"`).
- Returns fields: item_id, title, url, price, price_text, currency, condition, shipping, seller, image_url, scraped_at, platform
- Capability page: [https://everyinfra.com/en/ebay-api/search](https://everyinfra.com/en/ebay-api/search?utm_medium=ai_doc&utm_campaign=page_md) (Markdown: https://everyinfra.com/en/ebay-api/search.md)

### store — Store
Pull the item listings from one eBay seller's store by their exact `seller` username, with price, condition, shipping and image for each item. You get listings only, not the seller's balance, private reputation or internal inventory.
- Sync delivery · Price: $1.39 per 1,000 requests (every 20 rows count as one call)
- Catalog values: defaultLimit=20, maxLimit=50. For some actions a limit controls pages or per-parent expansion, so it is not always the final row count.
- Parameters:
  - `seller` (required): The exact eBay seller account username, not a store display title or company name. Used in `store` queries to fetch seller item listings, and in `reviews` queries paired with `item_id` to retrieve buyer feedback.
  - `country` (optional): A compatibility input for domain that also takes an eBay site domain such as ebay.com, not a country code such as US or DE. When both are present, domain takes precedence.
  - `domain` (optional): Selects the eBay site domain, such as ebay.com, ebay.de, or ebay.co.uk, without a scheme or path. It defaults to ebay.com and is used to build pages for search, store, and reviews.
  - `store` (optional): Compatibility alias for `seller` representing the seller account username, not an arbitrary shop title. The `store` action still requires the primary `seller` parameter.
  - `url` (optional): Overrides automatic URL construction with a direct eBay store/seller listing page in `store` actions, or a `/fdbk/` feedback page in `reviews` actions. Providing a URL does not waive the requirement for `seller` or `item_id` parameters.
  - `username` (optional): Compatibility alias for the `seller` account username in `store` and `reviews` actions. The `seller` parameter takes precedence and remains required; this field does not represent buyer or reviewer handles.
- Returns fields: item_id, title, url, price, price_text, currency, condition, shipping, seller, image_url, scraped_at, platform
- Capability page: [https://everyinfra.com/en/ebay-api/store](https://everyinfra.com/en/ebay-api/store?utm_medium=ai_doc&utm_campaign=page_md) (Markdown: https://everyinfra.com/en/ebay-api/store.md)

### reviews — Reviews
Read buyer feedback for one eBay listing. Identify it by the `seller` username plus `item_id`. Get rating, seller reply, the reviewer's own feedback score and product details. The full feedback history is not guaranteed.
- Sync delivery · Price: $1.39 per 1,000 requests (every 20 rows count as one call)
- Catalog values: defaultLimit=20, maxLimit=100. For some actions a limit controls pages or per-parent expansion, so it is not always the final row count.
- Parameters:
  - `seller` (required): The exact eBay seller account username, not a store display title or company name. Used in `store` queries to fetch seller item listings, and in `reviews` queries paired with `item_id` to retrieve buyer feedback.
  - `item_id` (required): The numeric eBay item identifier associated with a seller listing (typically extracted from `/itm/` URLs), used paired with `seller` in `reviews` queries. Represents a specific listing, not a generalized catalog product ID or review entry ID.
  - `country` (optional): A compatibility input for domain that also takes an eBay site domain such as ebay.com, not a country code such as US or DE. When both are present, domain takes precedence.
  - `domain` (optional): Selects the eBay site domain, such as ebay.com, ebay.de, or ebay.co.uk, without a scheme or path. It defaults to ebay.com and is used to build pages for search, store, and reviews.
  - `product_id` (optional): Compatibility alias for `item_id` accepting the numeric eBay item identifier. `reviews` actions still require `item_id`.
  - `q` (optional): Compatibility alias for `item_id` accepting the numeric eBay item identifier in `reviews` actions. Does not serve as a free-text search query; use `keyword` for product searches.
  - `seller_name` (optional): The eBay seller account username.
  - `url` (optional): Overrides automatic URL construction with a direct eBay store/seller listing page in `store` actions, or a `/fdbk/` feedback page in `reviews` actions. Providing a URL does not waive the requirement for `seller` or `item_id` parameters.
  - `username` (optional): Compatibility alias for the `seller` account username in `store` and `reviews` actions. The `seller` parameter takes precedence and remains required; this field does not represent buyer or reviewer handles.
- Returns fields: text, rating, rating_scale, username, submitted_at, seller_reply, image_count, reviewer_feedback_score, reviewer_feedback_star, product_name, product_id, product_price, platform, image_url, images
- Capability page: [https://everyinfra.com/en/ebay-api/reviews](https://everyinfra.com/en/ebay-api/reviews?utm_medium=ai_doc&utm_campaign=page_md) (Markdown: https://everyinfra.com/en/ebay-api/reviews.md)

### sold — Sold listings
Track completed eBay sales for a `keyword` over a lookback window in days. Get sold price, shipping, total price, sale date, listing type and seller feedback. These describe each closed listing. They do not estimate net revenue or future demand.
- Sync delivery · Price: $1.39 per 1,000 requests (every 20 rows count as one call)
- Catalog values: defaultLimit=20, maxLimit=200. For some actions a limit controls pages or per-parent expansion, so it is not always the final row count.
- Parameters:
  - `keyword` (required): Search term for active listings in `search` actions, or ended/sold listings in `sold` actions. Asking prices in active listings should not be assumed to match final transaction amounts.
  - `days` (optional): Integer representing the historical lookback window in days for `sold` queries (defaults to `30`). Indicates time range rather than listing duration or returned item counts; complete records are not guaranteed for arbitrary day spans.
  - `min_price` (optional): Sets a numeric lower bound for item prices. Filters active listing prices in `search` actions and ended/sold listing prices in `sold` actions. Currency is determined by the target marketplace site and listing data, not API billing. In `sold`, filtering uses whole numbers and decimals round down.
  - `site` (optional): Specifies the eBay domain for `sold` queries (for example, `ebay.com` or `ebay.co.uk`), defaulting to `ebay.com`. Distinct from the `domain` parameter used in `search`, `store`, or `reviews` actions; price currencies correspond to returned listing records.
  - `sort` (optional): Sort order for `sold` actions; allowed values are `newest` (most recently ended first) and `distance` (proximity). Does not sort by original listing creation date. Defaults to recently ended order if omitted. One of: distance, newest.
- Returns fields: id, url, name, sold_price, shipping_price, total_price, currency, sold_at, condition, listing_type, best_offer_accepted, category, seller_username, seller_feedback_score, seller_positive_percent, image_url, platform
- Capability page: [https://everyinfra.com/en/ebay-api/sold](https://everyinfra.com/en/ebay-api/sold?utm_medium=ai_doc&utm_campaign=page_md) (Markdown: https://everyinfra.com/en/ebay-api/sold.md)

### product_detail — Product details
Read one eBay listing in full from its link or numeric item ID: price, condition, availability, listing type, best-offer flag, shipping and returns, watchers, brand and catalog codes, category path, every image, and the seller's feedback score and positive rate. Auction fields such as `bid_count` and `ends_at`, and codes such as `gtin`, appear only when the listing shows them.
- Sync delivery · Price: $0.96 per 1,000 requests
- Parameters:
  - `url` (required): One eBay listing: its link, such as https://www.ebay.com/itm/133576802017 (tracking parameters and the title part are dropped), or the numeric item ID alone, which is read on ebay.com. Links from other eBay sites are read on that site. Store pages, search pages and lists are rejected before the call runs.
- Returns fields: item_id, title, subtitle, url, price, currency, condition, availability, listing_type, bid_count, best_offer_enabled, ends_at, quantity_available, quantity_sold, watchers, brand, model, mpn, gtin, product_id, categories, image_url, images, item_location, shipping_price, free_shipping, returns_accepted, seller, seller_url, seller_feedback_score, seller_positive_percent, updated_at, platform
- Capability page: [https://everyinfra.com/en/ebay-api/product_detail](https://everyinfra.com/en/ebay-api/product_detail?utm_medium=ai_doc&utm_campaign=page_md) (Markdown: https://everyinfra.com/en/ebay-api/product_detail.md)

## eBay API questions

### What can I retrieve with the eBay API?

Set `platform` to `ebay`. The current catalog lists search, store, reviews, sold listings, and product details. These action names identify different eBay objects or views; they are not interchangeable search modes.

### Which input starts the eBay `search` request?

Search term for active listings in `search` actions, or ended/sold listings in `sold` actions. Asking prices in active listings should not be assumed to match final transaction amounts. Send it as `keyword` inside `params`.

### Which fields can eBay `search` return?

Its declared schema includes `item_id`, `title`, `price`, and `price_text`. A declared field can still be absent from an individual record, and every other action has its own field list.

### Does every eBay action return immediately?

Actions labeled asynchronous return a job ID you poll. Every other action can also run asynchronously: add `"mode": "async"` to the request body to receive a job ID immediately, useful for slow tasks or large limits. The current catalog contains sync delivery.

## Also

- Machine catalog (no key): https://everyinfra.com/openapi.json · GET /api/v1/social/catalog?platform=ebay
- API guide for AI clients: https://everyinfra.com/llms.txt · agents guide: https://everyinfra.com/agents.md
