# PC Parts Finder — GPU, CPU, RAM & Desktop (`optirefine/pc-parts-finder-gpu-cpu-ram-desktop`) Actor

Discover used and refurbished PC parts for sale from Google Search: GPUs, CPUs, RAM, SSDs, motherboards and desktop PCs. Filter product links by country, price, condition and seller domain. Export searchable CSV/JSON product leads.

- **URL**: https://apify.com/optirefine/pc-parts-finder-gpu-cpu-ram-desktop.md
- **Developed by:** [OptiRefine](https://apify.com/optirefine) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $5.00 / 1,000 pc part founds

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?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
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.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## 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.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## Used PC Parts Finder — Google Search GPU, CPU, RAM & Desktop Deals

Discover second-hand GPUs, processors, RAM, SSDs, motherboards, power supplies, and refurbished or used desktop PCs for sale. Search the public web through **Google Search**, find merchant and marketplace listings, filter likely buying links, and export structured results as CSV, JSON, Excel, or through the Apify API.

**Created by OptiRefine** · Actor slug: `optirefine/used-pc-parts-finder` · Initial source version: `0.1`

### What makes this useful?

Rather than returning every Google result as an unrelated search hit, this Actor organizes **used computer hardware listings** into rows with a direct link, component type, model (where detectable), search-result price, currency, condition, and source website. Common use cases include:

- Find second-hand graphics cards such as **NVIDIA GeForce RTX 3060, RTX 3080, GTX 1660**, or **AMD Radeon RX 6800**.
- Find used or refurbished **Intel Core i5/i7** and **AMD Ryzen** processors for older PC builds.
- Find **DDR4 / DDR5 RAM kits**, memory upgrades, used SSDs, motherboards, and power supplies.
- Research **used gaming PCs**, refurbished desktops, ex-office computers, and potentially reusable parts.
- Build purchase research shortlists, source links for repair shops, or export candidate offers for manual review.

### Getting started without JSON

1. Enter one product per line in **Parts or PCs to find**. Example: `RTX 3060`, `Ryzen 5 5600X`, `16GB DDR4 RAM`, `Dell OptiPlex 7050`.
2. Select a country and, optionally, a city/region such as Toronto.
3. Select a category and preferred condition, such as **Used or refurbished**.
4. Optionally set a maximum budget, preferred websites (`ebay.ca, kijiji.ca, newegg.ca`), and whether to restrict searches to those domains.
5. Start with **1 page per search** and **10–30 results**, then adjust if needed. Export the **Listings** table.

#### Example: graphics cards in Canada

| Field | Value |
| --- | --- |
| Parts or PCs | `RTX 3060` and `RX 6800 XT` on separate lines |
| Country | Canada |
| City/region | Toronto |
| Part category | Graphics cards (GPU) |
| Condition | Used or refurbished |
| Maximum price | `300` (CAD) |
| Pages per search | `1` |
| Preferred domains | `ebay.ca, kijiji.ca` |

**Note:** The Actor only includes listings with a recognizable, same-currency price when you set a maximum budget. A price may be absent from Google Search snippets, and the Actor will not guess.

### What you get

| Field | Meaning |
| --- | --- |
| `title`, `url` | Google result title and link to the external listing |
| `domain`, `marketplace` | Website where the result is hosted |
| `partType`, `model` | GPU, CPU, RAM, storage, motherboard, PSU, PC; hardware model when recognized |
| `condition` | Used, refurbished, new, or unknown, inferred from search text |
| `price`, `currency`, `priceText` | Explicit amount mentioned by a Google result, or `null` |
| `priceSource`, `priceVerified` | Search title or snippet; `priceVerified` is always false without merchant verification |
| `ramGeneration`, `ramCapacityGb` | Basic RAM information when present in the title |
| `searchQuery`, `sourceRank` | Google query and search ranking |
| `countryCode`, `discoveredAt`, `sourceRunId` | Search configuration, discovery timestamp, backend-run reference |

Rows are deduplicated by cleaned URL, ranked for relevance, and filtered to reduce editorial pages and unrelated Google results. The **PC parts and specs** tab shows a more technical view. The `OUTPUT` key-value record has counts and run status.

### Data source, reliability, and costs

**This Actor does not browse eBay or other marketplaces or scrape item-detail pages.** It calls the Apify-maintained [Google Search Results Scraper](https://apify.com/apify/google-search-scraper) (`apify/google-search-scraper`) as its search backend through Apify's API. There is no separate Google API key to enter when the Actor runs on Apify.

**Important:** The Google Search backend starts as a **separate paid Actor run on the user's Apify account** and may incur its own charges, in addition to any price configured for this Actor. Do not market the service as free or as a single all-inclusive charge. Restrict searches and pages if you are cost-sensitive. The backend's current rate, quotas, and terms are on its own Pricing tab.

- Availability and seller identity are **not verified**. Search-index results can be outdated or lead to a removed item, category, or listing.
- Prices and condition are inferred from Google titles/snippets; they may be stale, incomplete, or reference a different option. Always review listing and shipping costs before buying.
- A country and city bias Google searches, but does not guarantee local sellers or in-stock offers.
- There is no live compatibility checker or FX conversion; hardware compatibility must be checked independently.
- Seller sites may restrict automated access. Follow Google's and merchants' terms, licensing requirements, and applicable laws when using or redistributing result data.
- The Actor does not collect buyer credentials or seller personal contact information.

### Runtime and quotas

- Up to 12 search terms per run; 1–2 Google pages per term (~10 organic hits per page).
- Up to 100 normalized result rows per run.
- The upstream search has a 180-second run timeout, and this Actor stops waiting after about 200 seconds. A soft processing limit is applied at about 250 seconds.
- One external Google Search Actor run is started per run. Extra search terms/pages increase backend charges.
- If the Google backend fails, the Actor fails clearly rather than returning demo rows as if they were live.

### Frequently asked questions

**Does it work with eBay, Kijiji, Craigslist, Amazon, and refurbished computer stores?** It can return results indexed by Google from those stores. You may prioritize specific domains, or use **Only include preferred domains** (1–3 domains) to add Google `site:` filters. Inclusion is not guaranteed, and it does not log into sites.

**Can I find cheap graphics cards under $200?** Yes, enter the GPU model and set the budget. Prices must appear in the Google result and be in the expected country currency; no price means no match when a maximum price is selected.

**Can I export to Excel or Google Sheets?** Export the default dataset to CSV/Excel/JSON, or use Apify integrations to pass the dataset onward.

**Why are some items missing?** Google does not index all marketplace listings. Result pages also contain guides and duplicates that are filtered out. A narrow budget or condition filter may remove uncertain results.

**Is this an official Google product?** No. This is an independent OptiRefine Actor that runs Apify's maintained Google Search Scraper, not a Google service or official Google Search API.

### For developers

- Source: native Node.js 22, no npm runtime dependencies, Dockerfile and Apify actor schemas provided.
- `npm test` runs local parser, query, business-rule, orchestration and mocked HTTP API tests without paid calls.
- `src/main.js`: source run orchestration, time budget, normalized dataset output.
- `src/core.js`: input validation, query construction, classification, price and URL parsing, deduplication and filters.
- `src/apify-api.js`: scoped Apify REST calls with token from `APIFY_TOKEN` runtime environment.
- The actor uses **synthetic `apify-default-dataset-item`** event charging automatically when enabled in Console. It doesn't manually create billing events.

For deployment and test-run setup, see `DEPLOY.md`. For SEO copy, see `SEO_STORE_LISTING.md`. For proof of what was tested, see `QA_REPORT.md`.

# Actor input Schema

## `searchTerms` (type: `string`):

Examples: RTX 3060, Ryzen 5 5600X, 16GB DDR4 RAM, Dell OptiPlex 7050. Maximum 12 lines. Search Google for items being offered for sale.

## `countryCode` (type: `string`):

Where to search for sellers; also establishes the expected price currency.

## `searchLocation` (type: `string`):

Narrow searches to an area such as Toronto, Vancouver, New York or London. Google indexing is not a live inventory map.

## `partType` (type: `string`):

All types or only matching component listings.

## `condition` (type: `string`):

Target used or refurbished listings. Google result text may not mention the actual condition; see 'Verified condition only' below.

## `maxPrice` (type: `number`):

Set a budget in the search country's currency. Unknown prices and other currencies are omitted whenever a budget is set; no FX conversion is attempted.

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

Limit final deduplicated results. Higher values are not guaranteed because some Google results are articles, out of stock or missing buying information.

## `maxPagesPerQuery` (type: `integer`):

1 page is approximately 10 organic hits. More pages increase upstream cost. Restricted to 1 or 2 to keep runs short.

## `preferredSites` (type: `string`):

Optional comma-separated domains, e.g. ebay.ca, kijiji.ca, newegg.ca. Can boost preferred results or filter strictly using the checkbox below.

## `onlyPreferredSites` (type: `boolean`):

If enabled, Google searches only up to 3 chosen domains using site: filters. You must supply 1-3 preferred seller domains.

## `requirePrice` (type: `boolean`):

Require a recognizable amount in Google result title or snippet. Price is not verified at the merchant.

## `onlyKnownCondition` (type: `boolean`):

Exclude results when used/refurbished condition is not explicitly stated. Useful for minimizing uncertain matches.

## Actor input object example

```json
{
  "searchTerms": "RTX 3060\nRyzen 5 5600X\n16GB DDR4 RAM\nused gaming PC",
  "countryCode": "ca",
  "searchLocation": "",
  "partType": "all",
  "condition": "used_or_refurbished",
  "maxPrice": 0,
  "maxResults": 30,
  "maxPagesPerQuery": 1,
  "preferredSites": "",
  "onlyPreferredSites": false,
  "requirePrice": false,
  "onlyKnownCondition": false
}
```

# Actor output Schema

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

No description

## `runSummary` (type: `string`):

No description

# 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 = {
    "searchTerms": `RTX 3060
Ryzen 5 5600X
16GB DDR4 RAM
used gaming PC`
};

// Run the Actor and wait for it to finish
const run = await client.actor("optirefine/pc-parts-finder-gpu-cpu-ram-desktop").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 = { "searchTerms": """RTX 3060
Ryzen 5 5600X
16GB DDR4 RAM
used gaming PC""" }

# Run the Actor and wait for it to finish
run = client.actor("optirefine/pc-parts-finder-gpu-cpu-ram-desktop").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 '{
  "searchTerms": "RTX 3060\\nRyzen 5 5600X\\n16GB DDR4 RAM\\nused gaming PC"
}' |
apify call optirefine/pc-parts-finder-gpu-cpu-ram-desktop --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,optirefine/pc-parts-finder-gpu-cpu-ram-desktop"
        }
    }
}
```

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/JnsoeUrZ67NEICOmu/builds/Xv1kk0zNWMMZ7cxIv/openapi.json
