# David Lawrence Rare Coins Auction Scraper (`lulzasaur/davidlawrence-scraper`) Actor

Scrape David Lawrence Rare Coins (DLRC) auction lots: coin/currency title, category, series, PCGS/NGC/CAC grade, current bid, sale price, auction name & close date, cert number, lot URL and image. Open JSON API, no proxy.

- **URL**: https://apify.com/lulzasaur/davidlawrence-scraper.md
- **Developed by:** [lulz bot](https://apify.com/lulzasaur) (community)
- **Categories:** E-commerce
- **Stats:** 2 total users, 1 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/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

## GreatCollections Scraper - Coin & Currency Auctions

Scrape graded **coin and currency auctions** from [GreatCollections.com](https://www.greatcollections.com) — one of the largest certified coin auction houses, having sold over 1,000,000 PCGS, NGC, CACG, ANACS and PMG certified coins and paper money.

Perfect for numismatic price research, grading arbitrage ("is it worth grading?"), populating a coin price database, building deal alerts, or complementing PSA/NGC/PCGS population data with live auction and realized-price comps.

### What it does

Search GreatCollections and get clean, structured coin-lot data:

- **Keyword search** — e.g. `Morgan Dollar`, `1909-S VDB`, `PCGS MS-65`, `Gold Eagle`, `CAC`, `Toned`
- **Multiple queries** — pass an array; each is searched separately
- **Live auctions** — current bid, bid count, time left
- **Sold / realized prices** — closed lots return their realized sold price
- **Parsed attributes** — grade, grading service, year, proof flag, CAC approval pulled from each title
- **Optional detail pages** — certification number, denomination, series, mintage, mint location, composition, strike type and industry number

### Input

| Field | Type | Description |
|-------|------|-------------|
| `searchQueries` | array | Keywords to search. Each query is searched separately. |
| `maxResults` | integer | Max lots to scrape across all queries. `0` = unlimited. Default `50`. |
| `scrapeDetails` | boolean | Fetch each coin's detail page for cert number, denomination, series, mintage, etc. Slower but richer. Default `false`. |
| `sortBy` | enum | `newest`, `endingSoon`, `priceLow`, `priceHigh`. |
| `proxyConfiguration` | object | Optional proxy settings. |

### Output

Each coin lot returns (fields after `imageUrl` only present when `scrapeDetails` is on):

```json
{
    "itemId": "2174934",
    "title": "1878-S Morgan Silver Dollar PCGS AU-55 (Toned)",
    "gradingService": "PCGS",
    "grade": "AU-55",
    "year": 1878,
    "isProof": false,
    "cacApproved": false,
    "status": "live",
    "currentBid": 42,
    "soldPrice": null,
    "buyNowPrice": null,
    "bidCount": 6,
    "timeLeft": "4d, 5h",
    "listingUrl": "https://www.greatcollections.com/Coin/2174934/1878-S-Morgan-Silver-Dollar-PCGS-AU-55",
    "imageUrl": "https://photos.greatcollections.com/.../2174934-1.jpg",
    "certNumber": "25325814",
    "denomination": "$1",
    "country": "United States",
    "series": "Morgan Silver Dollar",
    "mintLocation": "San Francisco",
    "mintage": "9,774,000",
    "composition": "90% Silver, 10% Copper",
    "strikeType": "Business Strike",
    "industryNumber": "7080",
    "gradingServiceFull": "PCGS AU-55",
    "searchQuery": "Morgan Dollar",
    "scrapedAt": "2026-06-24T08:18:51.445Z"
}
```

### Field notes

- `status` — `live` (open auction), `sold` (realized price available), `closed`, or `buyNow`.
- `currentBid` is the live high bid; `soldPrice` is the realized price on closed lots.
- `gradingService`, `grade`, `year`, `isProof`, `cacApproved` are parsed from the title and best-effort.
- For guaranteed `certNumber` and full coin specs, enable `scrapeDetails`.

### Notes

- Fast Cheerio/HTTP scraper — no headless browser required.
- All prices are in U.S. Dollars.
- For very large runs, enable Apify Residential proxy in `proxyConfiguration`.

# Actor input Schema

## `listingType` (type: `string`):

Which David Lawrence Rare Coins (DLRC) listings to scrape. 'Auction' = live auction lots with bids. 'BuyNow' = fixed-price inventory. 'All' = everything currently listed.

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

Maximum number of coin/currency lots to scrape. Set to 0 for unlimited (all available). Default is 100.

## `sortBy` (type: `string`):

How to sort results before scraping.

## Actor input object example

```json
{
  "listingType": "Auction",
  "maxResults": 100,
  "sortBy": "ClosingSoonest"
}
```

# Actor output Schema

## `dataset` (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 = {
    "listingType": "Auction",
    "maxResults": 100
};

// Run the Actor and wait for it to finish
const run = await client.actor("lulzasaur/davidlawrence-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 = {
    "listingType": "Auction",
    "maxResults": 100,
}

# Run the Actor and wait for it to finish
run = client.actor("lulzasaur/davidlawrence-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 '{
  "listingType": "Auction",
  "maxResults": 100
}' |
apify call lulzasaur/davidlawrence-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,lulzasaur/davidlawrence-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/qrRD0m10UdqSu46jY/builds/mSyoGlN3Z7s4Fd7bO/openapi.json
