# APMEX Precious Metals and Bullion Scraper (`parseforge/apmex-scraper`) Actor

Scrape gold, silver, platinum, and palladium product listings from APMEX. Get prices, as-low-as pricing, original prices, metal type, weight, purity, badges (Sale, Top Pick), and product IDs. Browse by metal type, search by keyword, or use a direct URL.

- **URL**: https://apify.com/parseforge/apmex-scraper.md
- **Developed by:** [ParseForge](https://apify.com/parseforge) (community)
- **Categories:** E-commerce, Automation, Other
- **Stats:** 9 total users, 4 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $13.93 / 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.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/platform/actors/running/actors-in-store#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

![ParseForge Banner](https://raw.githubusercontent.com/ParseForge/apify-assets/main/banner.jpg)

## 🥇 APMEX Precious Metals Scraper

> 🚀 **Collect gold, silver, platinum, and palladium product listings with live pricing, weight, purity, and product details from one of the largest online precious metals retailers.**

<table><tr>
<td style="border-left:4px solid #0F766E;padding:12px 16px;font-weight:600">Pull structured records from APMEX Precious Metals and Bullion — clean fields ready as CSV, JSON, JSONL, Excel, or XML for downstream pipelines.</td>
</tr></table>

##### Copy to your AI assistant

Copy this block into ChatGPT, Claude, Cursor, or any LLM to start using this actor.

```
parseforge/apmex-scraper on Apify. Call: ApifyClient("TOKEN").actor("parseforge/apmex-scraper").call(run_input={...}), then client.dataset(run["defaultDatasetId"]).list_items().items for results. Key inputs: startUrl (string, default "https://www.apmex.com/category/19000/gold-bars-rounds"), maxItems (integer, default 10), metalType (string), searchQuery (string). Full actor spec: fetch build via GET https://api.apify.com/v2/acts/parseforge~apmex-scraper (Bearer TOKEN). Get token: https://console.apify.com/account/integrations
```

Whether you are an investor tracking bullion prices, a dealer monitoring product availability, or a researcher analyzing the precious metals market, the APMEX Scraper delivers structured product data in seconds. Browse by metal type, search by keyword, or paste any category URL to start collecting.

No coding, no manual browsing. Configure your filters, click Start, and download your data as JSON, CSV, or Excel.

| 🎯 Target | APMEX precious metals product listings |
|---|---|
| 🔎 Best for | Price tracking, market research, dealer intelligence, investment analysis |

### 📋 What it does

- Collects product names, current asking prices, "as low as" pricing tiers, and original prices for gold, silver, platinum, and palladium items
- Extracts weight, purity, metal type, product badges (Sale, Top Pick), and product IDs from listings
- Supports filtering by metal type, keyword search, or direct category URL input
- Returns product images and direct URLs for each listing

> ⚠️ **Good to Know**: The scraper uses a browser to bypass site protection, so it runs slower than API-based scrapers (approximately 10 to 20 products per minute). Free users are limited to 10 items per run.

### 🚀 How to use

1. [Create a free Apify account](https://console.apify.com/sign-up?fpr=vmoqkp) (includes $5 credit)
2. Search for **APMEX Scraper** in the Apify Store
3. Select your metal type, enter a search query, or paste a category URL
4. Click **Start** and wait for results
5. Download your data as JSON, CSV, or Excel

### 🔗 Recommended Actors

- [**🔍 Google Search Scraper**](https://apify.com/parseforge/google-search-scraper) - Multi-engine SERP results with country and language targeting
- [**🗺️ Nominatim OSM Scraper**](https://apify.com/parseforge/nominatim-osm-scraper) - Geocode addresses via OpenStreetMap
- [**📊 Indexmundi Scraper**](https://apify.com/parseforge/indexmundi-scraper) - Global demographic and economic indicators
- [**📰 RAG Web Browser**](https://apify.com/parseforge/rag-web-browser) - Crawl and extract clean text from any URL for AI retrieval
- [**🌐 Website Content Crawler**](https://apify.com/parseforge/website-content-crawler) - Crawl entire sites and export structured content

> 💡 **Pro Tip:** browse the complete [ParseForge collection](https://apify.com/parseforge) for more reference-data scrapers.

### 🆘 Need Help?

If you hit a bug, have questions about setup, or need a scraper we haven't built yet, open our [contact form](https://tally.so/r/BzdKgA) or write to parseforge@protonmail.com. We also take on paid custom data projects.

For faster answers, join our [Discord](https://parseforge.co/discord). It's the best place to get support and suggest new actors.

# Actor input Schema

## `startUrl` (type: `string`):

APMEX category or search page URL. Browse apmex.com, apply your filters, and paste the URL here.

## `maxItems` (type: `integer`):

How many products to collect per run.

## `metalType` (type: `string`):

Filter by precious metal type. Ignored if Start URL is provided.

## `searchQuery` (type: `string`):

Search for specific products (e.g., 'American Eagle', '1 oz Gold Bar'). Overrides Start URL and Metal Type.

## Actor input object example

```json
{
  "startUrl": "https://www.apmex.com/category/19000/gold-bars-rounds",
  "maxItems": 10
}
```

# Actor output Schema

## `overview` (type: `string`):

Overview of products with key fields

## `fullData` (type: `string`):

Complete dataset with all scraped fields

# 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 = {
    "startUrl": "https://www.apmex.com/category/19000/gold-bars-rounds",
    "maxItems": 10
};

// Run the Actor and wait for it to finish
const run = await client.actor("parseforge/apmex-scraper").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 = {
    "startUrl": "https://www.apmex.com/category/19000/gold-bars-rounds",
    "maxItems": 10,
}

# Run the Actor and wait for it to finish
run = client.actor("parseforge/apmex-scraper").call(run_input=run_input)

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

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

```

## CLI example

```bash
echo '{
  "startUrl": "https://www.apmex.com/category/19000/gold-bars-rounds",
  "maxItems": 10
}' |
apify call parseforge/apmex-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=parseforge/apmex-scraper",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/acts/hmug4GNhMqVHrX0Z3/builds/lDG5ac7RfoQ3ToQhP/openapi.json
