# Mile High Comics Scraper - Back Issues, Prices & Grades (`lulzasaur/milehighcomics-scraper`) Actor

Scrape Mile High Comics back-issue comics. Get title, series, issue number, publisher, condition grade, per-grade price (Fair to Near Mint), availability, cover image and URL for Spider-Man, Batman, X-Men and thousands of other comics.

- **URL**: https://apify.com/lulzasaur/milehighcomics-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

## NewKadia Comic Book Scraper

Scrape back-issue comic listings from **NewKadia** (newkadia.com, one of the largest online back-issue comic retailers — the storefront is now served by **Comic Source / comicsource.com**).

Search by keyword and get structured data for every matching comic: title, series, issue number, condition grades, per-grade prices, cover variants, availability, image and product URL.

### What you get

Per comic (one dataset row):

| Field | Description |
|-------|-------------|
| `title` | Full comic title (e.g. `X-Men: The End: Men & X-Men #2`) |
| `series` | Series/title with the issue number stripped |
| `issue` | Issue number (e.g. `2`) |
| `publisher` | Publisher/category when exposed by the store (may be null) |
| `condition` | Best available condition grade (e.g. `Near Mint +`) |
| `grades` | All available condition grades |
| `covers` | Cover/edition variants (e.g. `Direct`, `Newsstand`) |
| `variants` | Per-variant breakdown: `{ cover, condition, price, sku, availability }` |
| `price` / `priceMin` / `priceMax` | Price range across grades (USD) |
| `availability` / `available` | `In Stock` / `Out of Stock` (+ boolean) |
| `imageUrl` | Cover image URL |
| `url` | Product page URL |
| `query` | The search term that matched this comic |
| `scrapedAt` | ISO timestamp |

### Input

```json
{
  "searchQueries": ["spider-man", "x-men"],
  "maxItems": 100,
  "scrapeDetails": true
}
```

- **searchQueries** — comic search terms (title, character, series).
- **maxItems** — max comics per query (~36 per results page).
- **scrapeDetails** — when `true` (default), fetches each comic page for all condition grades, per-grade prices, cover variants and stock status. Set `false` for a faster, card-only run (title, from-price, image, URL, issue, series).
- **proxyConfiguration** — optional; works without a proxy from most egress.

### Use cases

- Comic collectors tracking back-issue prices and grades
- Resellers/arbitrage sourcing raw comics to grade
- Price comparison across marketplaces
- Building comic price datasets

### Notes

- Data source: Comic Source Shopify storefront (search results HTML + product-page schema.org `ProductGroup` JSON-LD).
- Pricing is Pay-Per-Event: a small per-run start fee plus a per-result charge.

# Actor input Schema

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

List of comic titles / keywords to look up on Mile High Comics (e.g. 'spider-man', 'batman', 'x-men', 'saga'). Each query returns matching series; every issue of each series is scraped.

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

Maximum number of comic issues to scrape per search query (each issue is one row, with prices for all grades).

## `maxTitlesPerQuery` (type: `integer`):

Maximum number of matching series (titles) to open per search query. Mile High returns up to 50 series per search.

## `maxPagesPerTitle` (type: `integer`):

Long-running series are paginated (~20 issues per page). This caps how many pages to follow per series.

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

Proxy settings. Mile High Comics is a plain server-rendered site that serves 200 to a direct request, so no proxy is needed by default.

## Actor input object example

```json
{
  "searchQueries": [
    "batman"
  ],
  "maxItems": 300,
  "maxTitlesPerQuery": 15,
  "maxPagesPerTitle": 3,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# 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": [
        "batman"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("lulzasaur/milehighcomics-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": ["batman"] }

# Run the Actor and wait for it to finish
run = client.actor("lulzasaur/milehighcomics-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 '{
  "searchQueries": [
    "batman"
  ]
}' |
apify call lulzasaur/milehighcomics-scraper --silent --output-dataset

```

## MCP server setup

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

```

## OpenAPI specification

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