# Golden Eagle Coins Scraper - Bullion & Coin Prices (`lulzasaur/goldeneaglecoin-scraper`) Actor

Scrape GoldenEagleCoin.com bullion & numismatic coins. Get title, metal, type (coin/bar/round), weight, purity, price, payment-tier pricing (wire/check, Bitcoin, CC/PayPal), volume tiers, availability, image, URL. Search products or crawl categories. Structured JSON output.

- **URL**: https://apify.com/lulzasaur/goldeneaglecoin-scraper.md
- **Developed by:** [lulz bot](https://apify.com/lulzasaur) (community)
- **Categories:** Other
- **Stats:** 3 total users, 2 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $10.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?

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

## Golden Eagle Coins Scraper — Bullion & Coin Prices

Scrape **[GoldenEagleCoin.com](https://www.goldeneaglecoin.com)** — one of the oldest US precious-metals dealers (est. 1974) — for live bullion and numismatic coin prices, including the full **payment-method pricing** (Wire/Check vs Bitcoin vs Credit Card/PayPal) and **quantity volume-discount tiers** that most price trackers miss.

### What it does

- **Search mode** — enter any queries (`silver eagle`, `gold buffalo`, `morgan dollar`, `krugerrand`) and get the top matching products from the site's search API.
- **Category mode** — point it at any category URL (e.g. `/buy-silver/american-silver-eagles/silver-eagles`) and it scrapes every product card **including the full Qty × payment-method pricing table**. Hub pages like `/buy-gold` are descended into automatically.
- Both modes can be combined; results are de-duplicated by product ID.

### Output fields

| Field | Description |
|---|---|
| `productId` | Golden Eagle product ID |
| `title` | Product name |
| `metal` | Gold / Silver / Platinum / Palladium / Copper |
| `productType` | Coin / Bar / Round / Note |
| `weight` | Weight in troy ounces (derived from title) |
| `purity` | Fineness where stated (e.g. `.999`, `22k`) |
| `price`, `priceWireCheck` | Base wire/check price (USD) |
| `priceBitcoin` | Bitcoin payment price |
| `priceCcPaypal` | Credit card / PayPal price |
| `priceAsLowAs` | Lowest volume-tier price (category mode) |
| `tierPricing` | Array of `{quantity, wireCheck, bitcoin, ccPaypal}` volume tiers |
| `priceFormula` | Dealer pricing formula vs spot (e.g. `$SILVER+5.25`, search mode) |
| `availability`, `inStock` | Stock status |
| `image`, `url` | Product image and page URL |

### Example output

```json
{
  "productId": 7799,
  "title": "1 oz American Silver Eagle BU - Random Year",
  "metal": "Silver",
  "productType": "Coin",
  "weight": 1,
  "purity": ".999",
  "price": 63.78,
  "priceBitcoin": 64.42,
  "priceCcPaypal": 66.33,
  "priceAsLowAs": 61.78,
  "tierPricing": [
    { "quantity": "1-19", "wireCheck": 63.78, "bitcoin": 64.42, "ccPaypal": 66.33 },
    { "quantity": "1500+", "wireCheck": 61.78 }
  ],
  "availability": "In stock",
  "inStock": true,
  "url": "https://www.goldeneaglecoin.com/item/1-oz-american-silver-eagle-bu-_-random-year"
}
```

### Use cases

- Track bullion dealer premiums over spot across payment methods
- Monitor volume-discount breakpoints for large purchases
- Arbitrage / price-comparison feeds against other dealers (APMEX, SD Bullion, JM Bullion)
- Numismatic inventory monitoring (certified, proof, key-date coins)

### Input example

```json
{
  "searchQueries": ["gold buffalo"],
  "categoryUrls": ["https://www.goldeneaglecoin.com/buy-silver/american-silver-eagles/silver-eagles"],
  "maxResults": 100,
  "inStockOnly": false
}
```

No proxy needed — the site serves its SSR pages and search API openly.

# Actor input Schema

## `searchQueries` (type: `array`):

Search terms to look up on GoldenEagleCoin.com (e.g. 'silver eagle', 'gold buffalo', 'morgan dollar', 'krugerrand'). Each query returns up to 20 top-matching products via the site's search API.

## `categoryUrls` (type: `array`):

Golden Eagle Coins category pages to crawl (e.g. https://www.goldeneaglecoin.com/buy-silver/american-silver-eagles/silver-eagles). Hub pages like /buy-gold are descended into automatically. Category pages include full quantity/payment-tier pricing tables.

## `metal` (type: `string`):

Filter results by metal.

## `productType` (type: `string`):

Filter results by product type.

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

Maximum total number of products to scrape across all queries and categories.

## `minPrice` (type: `number`):

Filter: only return products at or above this price (USD, wire/check price).

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

Filter: only return products at or below this price (USD, wire/check price).

## `inStockOnly` (type: `boolean`):

Only return products that are currently in stock.

## `proxyConfiguration` (type: `object`):

Proxy settings. Golden Eagle Coins works without proxies (SSR HTML + open search API return 200 to a plain browser UA).

## Actor input object example

```json
{
  "searchQueries": [
    "silver eagle"
  ],
  "categoryUrls": [
    "https://www.goldeneaglecoin.com/buy-silver/american-silver-eagles/silver-eagles"
  ],
  "metal": "Any",
  "productType": "Any",
  "maxResults": 100,
  "inStockOnly": false,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

## `dataset` (type: `string`):

No description

## `csv` (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 = {
    "searchQueries": [
        "silver eagle"
    ],
    "categoryUrls": [
        "https://www.goldeneaglecoin.com/buy-silver/american-silver-eagles/silver-eagles"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("lulzasaur/goldeneaglecoin-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 = {
    "searchQueries": ["silver eagle"],
    "categoryUrls": ["https://www.goldeneaglecoin.com/buy-silver/american-silver-eagles/silver-eagles"],
}

# Run the Actor and wait for it to finish
run = client.actor("lulzasaur/goldeneaglecoin-scraper").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 '{
  "searchQueries": [
    "silver eagle"
  ],
  "categoryUrls": [
    "https://www.goldeneaglecoin.com/buy-silver/american-silver-eagles/silver-eagles"
  ]
}' |
apify call lulzasaur/goldeneaglecoin-scraper --silent --output-dataset

```

## MCP server setup

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

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/5Y7bgG5x8nms3UxoM/builds/zsCPZeIJ0SSAkXZy4/openapi.json
