# Gumroad Product Scraper (`khadinakbar/gumroad-scraper`) Actor

Scrape public Gumroad products from keyword search, creator, or product URLs. Use for product and creator-market research, not orders or private data. Returns price, rating, creator, optional details, and provenance. $0.006/product + $0.00005 start; platform usage extra.

- **URL**: https://apify.com/khadinakbar/gumroad-scraper.md
- **Developed by:** [Khadin Akbar](https://apify.com/khadinakbar) (community)
- **Categories:** E-commerce, Automation, Developer tools
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $6.00 / 1,000 gumroad product scrapeds

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.

In JavaScript/TypeScript projects, use official [JavaScript/TypeScript client](https://docs.apify.com/api/client/js/docs.md):

```bash
npm install apify-client
```

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python/docs.md):

```bash
pip install apify-client
```

In shell scripts, use [Apify CLI](https://docs.apify.com/cli/docs.md):

````bash
# MacOS / Linux
curl -fsSL https://apify.com/install-cli.sh | bash
# Windows
irm https://apify.com/install-cli.ps1 | iex
```bash

In AI frameworks, you might use the [Apify MCP server](https://docs.apify.com/integrations/mcp.md).

If your project is in a different language, use 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

## Gumroad Product Scraper

Extract structured data from public Gumroad search results, creator profiles, and product pages. It returns one product per row with price, currency, rating, creator information, optional public detail fields, source URL, and collection time.

Use it for digital-product research, creator catalog analysis, competitive pricing, and offer discovery. Do not use it for checkout, buyer, order, download, or any authenticated seller data.

### Inputs

| Field | Purpose |
| --- | --- |
| `searchQueries` | Keyword searches against Gumroad Discover, such as `notion template`. |
| `startUrls` | Public Gumroad creator roots, product URLs, or Discover URLs with `query`. |
| `maxResults` | Global cap from 1–200; limits billable product rows. |
| `includeDetails` | Fetch public detail pages for descriptions and exposed sales/subscription fields. |

At least one of `searchQueries` or `startUrls` is required.

```json
{
  "searchQueries": ["notion template", "procreate brush"],
  "startUrls": ["https://creator.gumroad.com/"],
  "maxResults": 50,
  "includeDetails": true
}
````

### Output

Each dataset row has stable, agent-friendly fields:

| Field | Meaning |
| --- | --- |
| `productName`, `productUrl`, `productType` | Public product identity and canonical URL. |
| `sellerName`, `sellerProfileUrl`, `sellerVerified` | Public creator attribution. |
| `price`, `priceCurrency`, `isPayWhatYouWant` | Public offer and pricing data. |
| `rating`, `ratingCount`, `salesCount` | Public social-proof fields when Gumroad exposes them. |
| `description`, `imageUrl`, `isSubscription` | Compact public detail fields. |
| `sourceMode`, `sourceUrl`, `sourceQuery`, `scrapedAt` | Provenance and freshness. |

### Pricing — Pay per event + usage

| Event | Price |
| --- | ---: |
| Actor start | $0.00005 per valid run |
| Gumroad product scraped | $0.006 per validated dataset row |

For example, a run capped at 50 products has a maximum event charge of **$0.30005**, plus platform usage under Apify's Pay per event + usage setting. Products that fail validation or are not written are never billed.

### How it works

Gumroad's public pages include a server-rendered Inertia payload. This actor reads that payload using a consistent public web session, extracts public product cards, optionally enriches them from their product pages, validates the complete record, and then writes and bills the row together. It uses a single Apify Residential Proxy session per run, bounded retries for 429/5xx responses, explicit result caps, and truthful terminal outcomes.

The actor currently collects the public first result set exposed by each Discover page. It does not claim exhaustive pagination when Gumroad does not expose a public next-page contract.

### Outcome contract

Every run writes `OUTPUT` and `RUN_SUMMARY`.

- `COMPLETE` — all requested public sources returned usable records.
- `PARTIAL` — useful records were preserved but detail enrichment, a source, or a configured cost cap had warnings.
- `VALID_EMPTY` — valid sources completed but contained no matching public products.
- `INVALID_INPUT` — change the supplied query or URL; this exits successfully and is not billed for products.
- `UPSTREAM_FAILED` — valid public sources did not return usable data after retries.

### Legal

This actor accesses only public Gumroad page data. It does not access accounts, checkout flows, private creator information, buyers, orders, downloads, or other authenticated content. You are responsible for ensuring your use complies with Gumroad's terms, robots directives, copyright/database rights, and applicable law.

# Actor input Schema

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

Keyword queries sent to Gumroad Discover, such as 'notion template'. Enter plain buyer or product terms; the actor fetches the public first result set for each query. Defaults to \['notion template'] and supports up to 10 queries. NOT a creator or product URL — use Start URLs for those.

## `startUrls` (type: `array`):

Public HTTPS Gumroad URLs to scrape directly, such as 'https://creator.gumroad.com/' or 'https://creator.gumroad.com/l/product'. A Gumroad Discover URL must include a query, for example 'https://gumroad.com/discover?query=notion'. Creator roots return their public product cards and product URLs return one detailed row. NOT arbitrary websites, checkout URLs, or authenticated pages.

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

Hard cap on the total validated products written in this run. The cap applies across every search and URL source and prevents event charges above this number. Defaults to 50 and accepts integers from 1 through 200. NOT a page count or a guarantee that a source has this many public products.

## `includeDetails` (type: `boolean`):

When enabled, the actor visits each discovered public product page for its description and any exposed sales or subscription fields. This produces richer rows but adds one public request per discovered product. Defaults to true; turn it off for a faster listing-only scan. It never accesses checkout, customer, or private seller data.

## Actor input object example

```json
{
  "searchQueries": [
    "notion template",
    "procreate brush"
  ],
  "startUrls": [
    "https://creator.gumroad.com/",
    "https://creator.gumroad.com/l/product"
  ],
  "maxResults": 50,
  "includeDetails": true
}
```

# Actor output Schema

## `products` (type: `string`):

One validated public Gumroad product per dataset row.

## `output` (type: `string`):

Compact run outcome and billing counters.

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

Detailed source coverage, diagnostics, and warnings.

# 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": [
        "notion template"
    ],
    "startUrls": [],
    "maxResults": 50,
    "includeDetails": true
};

// Run the Actor and wait for it to finish
const run = await client.actor("khadinakbar/gumroad-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": ["notion template"],
    "startUrls": [],
    "maxResults": 50,
    "includeDetails": True,
}

# Run the Actor and wait for it to finish
run = client.actor("khadinakbar/gumroad-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": [
    "notion template"
  ],
  "startUrls": [],
  "maxResults": 50,
  "includeDetails": true
}' |
apify call khadinakbar/gumroad-scraper --silent --output-dataset

```

## MCP server setup

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

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "Gumroad Product Scraper",
        "description": "Scrape public Gumroad products from keyword search, creator, or product URLs. Use for product and creator-market research, not orders or private data. Returns price, rating, creator, optional details, and provenance. $0.006/product + $0.00005 start; platform usage extra.",
        "version": "0.1",
        "x-build-id": "ga5oaE0zwlRykUv1S"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/khadinakbar~gumroad-scraper/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-khadinakbar-gumroad-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        },
        "/acts/khadinakbar~gumroad-scraper/runs": {
            "post": {
                "operationId": "runs-sync-khadinakbar-gumroad-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor and returns information about the initiated run in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/runsResponseSchema"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/acts/khadinakbar~gumroad-scraper/run-sync": {
            "post": {
                "operationId": "run-sync-khadinakbar-gumroad-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        }
    },
    "components": {
        "schemas": {
            "inputSchema": {
                "type": "object",
                "properties": {
                    "searchQueries": {
                        "title": "Gumroad search queries",
                        "type": "array",
                        "description": "Keyword queries sent to Gumroad Discover, such as 'notion template'. Enter plain buyer or product terms; the actor fetches the public first result set for each query. Defaults to ['notion template'] and supports up to 10 queries. NOT a creator or product URL — use Start URLs for those.",
                        "items": {
                            "type": "string"
                        },
                        "default": []
                    },
                    "startUrls": {
                        "title": "Creator, product, or Discover URLs",
                        "type": "array",
                        "description": "Public HTTPS Gumroad URLs to scrape directly, such as 'https://creator.gumroad.com/' or 'https://creator.gumroad.com/l/product'. A Gumroad Discover URL must include a query, for example 'https://gumroad.com/discover?query=notion'. Creator roots return their public product cards and product URLs return one detailed row. NOT arbitrary websites, checkout URLs, or authenticated pages.",
                        "items": {
                            "type": "string"
                        },
                        "default": []
                    },
                    "maxResults": {
                        "title": "Maximum products",
                        "minimum": 1,
                        "maximum": 200,
                        "type": "integer",
                        "description": "Hard cap on the total validated products written in this run. The cap applies across every search and URL source and prevents event charges above this number. Defaults to 50 and accepts integers from 1 through 200. NOT a page count or a guarantee that a source has this many public products.",
                        "default": 50
                    },
                    "includeDetails": {
                        "title": "Enrich with product detail pages",
                        "type": "boolean",
                        "description": "When enabled, the actor visits each discovered public product page for its description and any exposed sales or subscription fields. This produces richer rows but adds one public request per discovered product. Defaults to true; turn it off for a faster listing-only scan. It never accesses checkout, customer, or private seller data.",
                        "default": true
                    }
                }
            },
            "runsResponseSchema": {
                "type": "object",
                "properties": {
                    "data": {
                        "type": "object",
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "actId": {
                                "type": "string"
                            },
                            "userId": {
                                "type": "string"
                            },
                            "startedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "finishedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "status": {
                                "type": "string",
                                "example": "READY"
                            },
                            "meta": {
                                "type": "object",
                                "properties": {
                                    "origin": {
                                        "type": "string",
                                        "example": "API"
                                    },
                                    "userAgent": {
                                        "type": "string"
                                    }
                                }
                            },
                            "stats": {
                                "type": "object",
                                "properties": {
                                    "inputBodyLen": {
                                        "type": "integer",
                                        "example": 2000
                                    },
                                    "rebootCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "restartCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "resurrectCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "computeUnits": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "options": {
                                "type": "object",
                                "properties": {
                                    "build": {
                                        "type": "string",
                                        "example": "latest"
                                    },
                                    "timeoutSecs": {
                                        "type": "integer",
                                        "example": 300
                                    },
                                    "memoryMbytes": {
                                        "type": "integer",
                                        "example": 1024
                                    },
                                    "diskMbytes": {
                                        "type": "integer",
                                        "example": 2048
                                    }
                                }
                            },
                            "buildId": {
                                "type": "string"
                            },
                            "defaultKeyValueStoreId": {
                                "type": "string"
                            },
                            "defaultDatasetId": {
                                "type": "string"
                            },
                            "defaultRequestQueueId": {
                                "type": "string"
                            },
                            "buildNumber": {
                                "type": "string",
                                "example": "1.0.0"
                            },
                            "containerUrl": {
                                "type": "string"
                            },
                            "usage": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "integer",
                                        "example": 1
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "usageTotalUsd": {
                                "type": "number",
                                "example": 0.00005
                            },
                            "usageUsd": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "number",
                                        "example": 0.00005
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
