# EBay sold listings

EBay items that actually sold in the last 1 to 90 days for a keyword, each with final sold price, shipping, total price, end date, condition, listing type. Needs keywords. Served by Apify.

eBay items that actually sold in the last 1 to 90 days for a keyword, each with final sold price, shipping, total price, end date, condition, listing type (auction, Buy It Now, best offer accepted), bids and quantity sold. Use it for resale price comps and market value; active listings are served by litescrape/ebay-search. Price: up to $0.004 per sold listing, plus up to $0.0001 per run. Billed at the run's actual cost, never more than max_cost_usd (default $0.25), which is enforced upstream as the run's charge limit. Returns { run, items } when the run ends within 40 s, otherwise a run id: fetch the items with apify/run-results (free, tool "ebay-sold-listings"). A run that times out or reaches the limit returns and bills its partial items.

- Tool ID: `apify/ebay-sold-listings`
- Name in the catalog: eBay sold listings
- Provider: [Apify](/providers/apify.md)
- Capability: [E-commerce](/tools/ecommerce.md)
- Price: usage based, the maximum is shown before a run
- Authentication: an authorised Agentik workspace is required for execution, including zero-price tools.

## Pricing contract

Billed at the cost the provider reports for the call, never above $5. Your agent sees the maximum before running.


```json
{
  "model": "reported",
  "costPath": "data.usageTotalUsd",
  "requireCost": true,
  "maxUsdField": "max_cost_usd",
  "maxUsdDefault": 0.25,
  "maxUsdCap": 5,
  "headroom": 1
}
```

Pricing source: [https://apify.com/caffein.dev/ebay-sold-listings/pricing](https://apify.com/caffein.dev/ebay-sold-listings/pricing). Pay-per-event rate card of caffein.dev/ebay-sold-listings, read from the public Apify API (api.apify.com/v2/acts/caffein.dev~ebay-sold-listings): every event and tier price, the pricing model, who pays platform usage and the minimal charge limit..

Price verification date: 2026-11-03.

## Complete input schema


```json
{
  "type": "object",
  "properties": {
    "keywords": {
      "type": "array",
      "minItems": 1,
      "maxItems": 3,
      "items": {
        "type": "string",
        "minLength": 1,
        "maxLength": 100
      },
      "description": "Search keywords, one search each (1 to 3), e.g. ['rtx 4080'] or ['iphone 13 128gb']"
    },
    "ebaySite": {
      "type": "string",
      "enum": [
        "ebay.com",
        "ebay.co.uk",
        "ebay.de",
        "ebay.fr",
        "ebay.it",
        "ebay.es",
        "ebay.ca",
        "ebay.com.au"
      ],
      "default": "ebay.com",
      "description": "eBay site, e.g. 'ebay.de'"
    },
    "count": {
      "type": "integer",
      "minimum": 1,
      "maximum": 200,
      "default": 20,
      "description": "Sold listings per keyword, 1 to 200 (each listing is billed), e.g. 20"
    },
    "daysToScrape": {
      "type": "integer",
      "minimum": 1,
      "maximum": 90,
      "default": 30,
      "description": "How many days back to look, 1 to 90, e.g. 30"
    },
    "sortOrder": {
      "type": "string",
      "enum": [
        "endedRecently",
        "pricePlusPostageLowest",
        "pricePlusPostageHighest"
      ],
      "default": "endedRecently",
      "description": "Order of the results, e.g. 'pricePlusPostageLowest'"
    },
    "categoryId": {
      "type": "string",
      "pattern": "^[0-9]{1,8}$",
      "default": "0",
      "description": "eBay category id ('0' for all), e.g. '27386' for graphics cards"
    },
    "minPrice": {
      "type": "integer",
      "minimum": 0,
      "maximum": 1000000,
      "description": "Lowest sold price, e.g. 100"
    },
    "maxPrice": {
      "type": "integer",
      "minimum": 0,
      "maximum": 1000000,
      "description": "Highest sold price, e.g. 500"
    },
    "itemCondition": {
      "type": "string",
      "enum": [
        "any",
        "new",
        "used"
      ],
      "default": "any",
      "description": "Item condition, e.g. 'used'"
    },
    "buyingFormat": {
      "type": "string",
      "enum": [
        "all",
        "auction",
        "buyItNow",
        "acceptsOffers"
      ],
      "default": "all",
      "description": "Listing format, e.g. 'auction'"
    },
    "itemLocation": {
      "type": "string",
      "enum": [
        "default",
        "domestic",
        "worldwide"
      ],
      "default": "default",
      "description": "Where items ship from, e.g. 'domestic'"
    },
    "exactMatch": {
      "type": "boolean",
      "default": true,
      "description": "Drop eBay's loose 'fewer words' matches, e.g. false to keep them"
    },
    "max_cost_usd": {
      "type": "number",
      "minimum": 0.01,
      "maximum": 5,
      "default": 0.25,
      "description": "Charge limit for this run in USD, reserved from your balance and enforced upstream as the run's charge limit (default $0.25, at most $5). The run stops charging there."
    }
  },
  "required": [
    "keywords"
  ],
  "additionalProperties": false
}
```

## Published example

This is the provider tool’s published example. Replace example values with the user’s requested inputs, respecting the schema; do not execute an example merely to test a connection.


```json
{
  "tool_id": "apify/ebay-sold-listings",
  "input": {
    "keywords": [
      "iphone 13 128gb"
    ],
    "count": 2,
    "max_cost_usd": 0.05
  }
}
```

## Execute and retrieve

Inspect again before execution, explain the price and obtain the required authority. Use MCP run_tool or POST /v1/run with this tool ID, valid input and an idempotency key. Save the returned run ID and follow the actual state. If Agentik answers that the tool is temporarily unavailable, do not retry it blindly; use discovery to propose an alternative.

This tool uses deferred settlement. Follow its returned task/run instructions; preserve the existing reservation until the result is reconciled.

A partial or uncertain result can still have consumed provider resources. Consult [billing](/docs/billing.md), [idempotency](/docs/idempotency.md) and [asynchronous results](/docs/async.md).

[REST inspection](https://api.agentik.cc/v1/tools/apify/ebay-sold-listings) · [OpenAPI](/openapi.json) · [Connection guide](/connect.md)

---

[HTML page](/providers/apify/ebay-sold-listings) · [Agent index](/llms.txt)
