# eBay Auto Parts — Prices & Fitment (`ponderable_hydrometer/ebay-parts`) Actor

Search eBay for auto parts with live prices, seller data, vehicle fitment check and an OE/Premium/Mid/Budget brand-quality tier. Bring your own free eBay developer key.

- **URL**: https://apify.com/ponderable\_hydrometer/ebay-parts.md
- **Developed by:** [Ponderable Hydrometer](https://apify.com/ponderable_hydrometer) (community)
- **Categories:** E-commerce, Automation, Lead generation
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $3.00 / 1,000 results

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.
Actors are written with capital "A".

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

## eBay Aftermarket Parts — Price, Brand Tier & Fitment

**Search eBay aftermarket auto parts by part and vehicle, and get price, condition, brand, seller — plus two things nobody else surfaces:** a hand-authored **brand-quality tier** (OE/Premium / Mid / Budget) and real **fitment** via eBay's own compatibility check. Bring your own free eBay developer key.

For parts resellers, repricing tools, garages and auto lead-gen.

### What you get

Per listing:

- **Listing** — `itemId`, `title`, `price`, `currency`, `condition`, `conditionId`, `buyingOptions[]`, `itemUrl`, `image`, `itemLocation`
- **Seller** — `seller`, `sellerFeedbackPct`, `sellerFeedbackScore`
- **Brand + tier** — `brand` from eBay's aspect, and `brandTier` = **OE/Premium**, **Mid** or **Budget** from a curated brand map (the differentiator)
- **Fitment** (when a vehicle is passed) — `compatibility` = `COMPATIBLE` / `NOT_COMPATIBLE` / `UNDETERMINED`, plus `compatibilityNote`

### Output sample

```json
{
  "itemId": "v1|1234567890|0",
  "title": "Bosch QuietCast Front Brake Pads BC1234",
  "price": 48.97,
  "currency": "USD",
  "condition": "New",
  "conditionId": "1000",
  "brand": "Bosch",
  "brandTier": "OE/Premium",
  "seller": "partsdirect_us",
  "sellerFeedbackPct": 99.4,
  "sellerFeedbackScore": 128456,
  "buyingOptions": ["FIXED_PRICE"],
  "itemUrl": "https://www.ebay.com/itm/1234567890",
  "image": "https://i.ebayimg.com/.../s-l1600.jpg",
  "itemLocation": "US",
  "compatibility": "COMPATIBLE",
  "compatibilityNote": null
}
```

`compatibility` is `null` when no vehicle is provided.

### Input

| Field | Type | Default | Description |
|-------|------|---------|-------------|
| `query` | string | `brake pads` | Part to search, e.g. `oil filter` |
| `make` / `model` / `year` | string | — | Vehicle for the fitment check |
| `trim` / `engine` | string | — | Optional, for a more precise fitment check |
| `clientId` | string (secret) | — | eBay App ID / Client ID (Production) |
| `clientSecret` | string (secret) | — | eBay Cert ID / Client Secret (Production) |
| `marketplaceId` | string | `EBAY_US` | `EBAY_US`, `EBAY_GB`, `EBAY_DE`, … |
| `categoryId` | string | `6030` | eBay category (6030 = Motors Parts & Accessories) |
| `filter` | string | — | Raw Browse filter, e.g. `conditions:{NEW},price:[10..80]` |
| `sort` | string | — | e.g. `price` (lowest first), `-price` |
| `maxResults` | integer | `50` | Cap on listings returned |

### Example input

```json
{
  "query": "brake pads",
  "make": "Honda",
  "model": "Accord",
  "year": "2020",
  "clientId": "YOUR_APP_ID",
  "clientSecret": "YOUR_CERT_ID"
}
```

### Bring your own key (free, required)

Create a free application at **developer.ebay.com**, get your **Production** keys, and pass `clientId` (App ID) and `clientSecret` (Cert ID) — both stored as secret inputs. The actor authenticates via OAuth client-credentials. **Without both keys the actor exits cleanly with no results** (it uses your own eBay rate limits, keeping cost low).

### Why this actor

- **`brandTier` — a quality signal nobody else has** — eBay exposes the brand but not whether it's OE/Premium, Mid or Budget; this actor attaches it from a hand-curated map.
- **Real fitment** — eBay's own `check_compatibility` per listing, not a guess.
- **BYO-key** — you get your own eBay quota; you only pay Apify for the rows returned.

### Pricing

Pay per result — **$3.00 per 1,000 results** (one result = one listing row). BYO eBay key means you use your own eBay rate limits; you only pay Apify for the results returned.

### Important: fitment is a signal, not a guarantee

A `COMPATIBLE` verdict comes from eBay's compatibility check, which relies on seller-supplied fitment data — it can be missing or wrong. `UNDETERMINED` means the listing has no fitment catalog. **Always verify the exact part number against your vehicle before buying.** The `brandTier` is a convenience heuristic, not an endorsement. Prices change constantly; not affiliated with eBay.

### Related actors

- **VIN Decoder** — decode a VIN to make/model/year/engine for fitment lookups.
- **Discogs Scraper** — marketplace price and supply data for music releases.
- **App Store Scraper** — apps, ratings and reviews.

# Actor input Schema

## `query` (type: `string`):

Part to search for, e.g. "brake pads", "oil filter", "spark plug".

## `make` (type: `string`):

Optional. Vehicle make for fitment check, e.g. "Honda".

## `model` (type: `string`):

Optional. Vehicle model for fitment check, e.g. "Accord".

## `year` (type: `string`):

Optional. Model year for fitment check, e.g. "2020".

## `trim` (type: `string`):

Optional. Trim for a more precise fitment check, e.g. "EX-L".

## `engine` (type: `string`):

Optional. Engine for fitment, e.g. "2.0L L4 Gas DOHC".

## `clientId` (type: `string`):

Your eBay Production App ID / Client ID from developer.ebay.com. Free. Kept secret.

## `clientSecret` (type: `string`):

Your eBay Production Cert ID / Client Secret from developer.ebay.com. Free. Kept secret.

## `marketplaceId` (type: `string`):

eBay marketplace, e.g. EBAY\_US, EBAY\_GB, EBAY\_DE.

## `categoryId` (type: `string`):

eBay category to restrict to. Default 6030 = eBay Motors Parts & Accessories. Empty = all categories.

## `filter` (type: `string`):

Optional raw Browse filter, e.g. "conditions:{NEW},price:\[10..80],priceCurrency:USD".

## `sort` (type: `string`):

Optional sort, e.g. "price" (lowest first) or "-price". Empty = Best Match.

## `maxResults` (type: `integer`):

Cap on listings returned.

## Actor input object example

```json
{
  "query": "brake pads",
  "marketplaceId": "EBAY_US",
  "categoryId": "6030",
  "maxResults": 50
}
```

# Actor output Schema

## `results` (type: `string`):

All rows produced by this run, as JSON.

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "query": "brake pads"
};

// Run the Actor and wait for it to finish
const run = await client.actor("ponderable_hydrometer/ebay-parts").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = { "query": "brake pads" }

# Run the Actor and wait for it to finish
run = client.actor("ponderable_hydrometer/ebay-parts").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "query": "brake pads"
}' |
apify call ponderable_hydrometer/ebay-parts --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,ponderable_hydrometer/ebay-parts"
        }
    }
}

```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/70hija8xWkBPP445p/builds/mg9Ulw8TaqAhT8fIX/openapi.json
