# Gumroad Scraper - Digital Products, Prices & Creators (`haketa/gumroad-scraper`) Actor

Scrape Gumroad digital products by search, tag or category. Export name, price, currency, ratings, seller/creator, native type, thumbnail and URL - or pull full details from product URLs. No login or API key.

- **URL**: https://apify.com/haketa/gumroad-scraper.md
- **Developed by:** [Haketa](https://apify.com/haketa) (community)
- **Categories:** E-commerce, Business
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

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

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

<div align="center">

## Gumroad Scraper — Digital Products, Prices, Ratings & Creators

**Scrape Gumroad digital products at scale with zero coding. Extract prices, ratings, creators, categories and sales metrics from discover search or direct product URLs.**

Export to **JSON, CSV, Excel, or API**.

![Gumroad](https://img.shields.io/badge/Gumroad-Digital%20Products-FF90E8?style=for-the-badge)
![Apify Actor](https://img.shields.io/badge/Apify-Actor-97C93F?style=for-the-badge)
![Export](https://img.shields.io/badge/Export-JSON%20%C2%B7%20CSV%20%C2%B7%20Excel-blue?style=for-the-badge)
![No Code](https://img.shields.io/badge/No%20Code-Required-purple?style=for-the-badge)

</div>

> Built for market researchers, indie creators & indie hackers, growth and partnership marketers, resellers, recruiters sourcing digital-product makers, and data teams who need fresh **Gumroad data** without copy‑pasting it one product at a time.

***

### 📑 Contents

- [At a glance](#-at-a-glance)
- [Why scrape Gumroad?](#-why-scrape-gumroad)
- [What this Gumroad scraper does](#-what-this-gumroad-scraper-does)
- [Use cases](#-use-cases)
- [Input](#-input)
- [Output](#-output)
- [Field coverage](#-field-coverage--reliability)
- [Pagination & scale](#-pagination--scale)
- [How to use](#️-how-to-use)
- [Tips](#-tips)
- [FAQ](#-faq)
- [Related scrapers](#-related-scrapers)
- [Changelog](#-changelog)

***

### ⚡ At a glance

| Parameter | Details |
|---|---|
| **Platform** | [Gumroad](https://gumroad.com) (gumroad.com) |
| **Data types** | Digital products, courses, ebooks, templates, memberships, 3D assets |
| **Search & filters** | Keyword query, tags, 18 categories, 8 sort orders, or direct product URLs |
| **Key fields** | Name, price (cents & dollars), currency, ratingAverage, ratingCount, creator handle & profile, thumbnail |
| **Enrichment mode** | `includeDetails: true` fetches full descriptions, category taxonomy path, and public sales counts |
| **Speed & throughput** | 36 products per page, up to 1,000+ products in ~30–60 seconds |
| **Default run** | Returns 50 popular Notion templates out of the box |
| **Output formats** | JSON, CSV, Excel, XML, HTML, or direct Apify REST API |
| **Authentication** | None needed — works without a Gumroad account or API key |

***

### 🔎 Why scrape Gumroad?

Gumroad is one of the largest marketplaces for independent creators selling digital products — Notion templates, ebooks, Lightroom presets, design assets, online courses, memberships, 3D models, music and more. Each listing carries a price, a star rating, a review count, a seller and a product type. That catalogue is a goldmine for **market research, pricing analysis and creator lead generation**.

The problem: Gumroad has **no public bulk export**. Reading listings one product at a time in a browser does not scale, prices and ratings change constantly, and there is no official **Gumroad API** for discovery. Collecting a whole niche by hand is slow, error‑prone and instantly stale.

This **Gumroad scraper** solves that. It reads Gumroad's own page state directly, so the fields you get are exactly what Gumroad renders — prices in cents and dollars, real rating averages and counts, native currency, verified‑seller flags and canonical product URLs — paginated automatically and de‑duplicated by product ID.

**Common reasons people scrape Gumroad:**

- **Track prices and positioning** across an entire niche (e.g. every "notion template") in one run.
- **Discover top creators and best‑sellers** by sorting on ratings or review volume.
- **Build creator lead lists** — seller name, profile URL and handle — for outreach, partnerships, sponsorships or recruiting.
- **Monitor a category** (Design, Education, Business & Money, 3D …) over time to spot trends and new launches.
- **Analyze pricing models** — free, fixed price, pay‑what‑you‑want and memberships across a market.
- **Feed dashboards and models** with fresh, structured **Gumroad data** instead of manual copy‑paste.
- **Benchmark your own listing** against the competition before you launch or re‑price.

***

### ✨ What this Gumroad scraper does

- ✅ **Search the discover feed** by full‑text `query` (e.g. *notion template*, *lightroom preset*, *ai course*).
- ✅ **Filter by tag** (`tags`) and/or **category** (`category`) — 18 top‑level Gumroad categories.
- ✅ **Sort** results: recommended, curated picks, hot & new, newest, most reviewed, highest rated, price ascending or descending.
- ✅ **Paginate automatically** through the full result set (**36 products per page**) up to your `maxItems`, de‑duplicating by product ID.
- ✅ **Capture rich product fields** — identity (`productId`, `permalink`, `name`), pricing (`priceCents`, `price`, `currency`, `formattedPrice`, `isPayWhatYouWant`), ratings (`ratingAverage`, `ratingCount`), seller (`sellerName`, `sellerProfileUrl`, `sellerHandle`, `sellerId`, `sellerIsVerified`), media (`thumbnailUrl`, `coverUrl`) and product type (`nativeType`, `recurrence`, `isSalesLimited`).
- ✅ **Enrich on demand** with `includeDetails` — open each product's own page to add its real **category** (full taxonomy path), **salesCount** and **description/summary**.
- ✅ **Extract specific products** by URL (`productUrls`) with full detail — summary, description, cover image and public sales count when the seller exposes it.
- ✅ **Export** every field below to **JSON, CSV, Excel** or pull it from the Apify **API**.
- ✅ **Fast & reliable** — a real Firefox TLS fingerprint plus Apify Proxy rotation sails past Cloudflare on the datacenter tier; a recent run pulled **500 products in ~27 seconds**.

Only claims the code actually implements — the fields above are exactly what the Actor outputs.

***

### 🎯 Use cases

| Who | What they get |
| --- | --- |
| **Creators & indie hackers** | Benchmark competitor products, prices and ratings before launching or re‑pricing your own. |
| **Market & product researchers** | Map an entire niche — price distribution, average ratings, product‑type mix. |
| **Agencies & marketers** | Build creator lead lists (name, profile, handle) for partnerships and sponsorships. |
| **Recruiters & sourcers** | Find prolific digital‑product creators in a specific category. |
| **Analysts & data teams** | Feed pricing and ratings data into dashboards, spreadsheets and models. |
| **Dropshippers & resellers** | Spot trending, highly‑rated digital products and bundles. |
| **VCs & market analysts** | Size the creator‑economy for a vertical by counting and pricing its listings. |

***

### 📥 Input

Configure a search (query + optional tag/category + sort), or switch to Product‑URL mode. All fields are optional — an empty run browses the whole catalogue.

| Field | Type | Description |
| --- | --- | --- |
| `query` | string | Full‑text search on the discover feed. Leave empty to browse the whole catalogue. |
| `tags` | array of strings | Filter to one or more Gumroad tags (combined with the query). |
| `category` | string | One of 18 top‑level categories (e.g. `design`, `self-improvement`, `3d`). Empty = any. |
| `sort` | string | `default`, `curated`, `hot_and_new`, `newest`, `most_reviewed`, `highest_rated`, `price_asc`, `price_desc`. |
| `includeDetails` | boolean | Off (default): fast, cheap discovery. On: open each product page to add real **category**, **salesCount** and **description** (one extra request per product — slower). |
| `productUrls` | array of strings | Alternative mode: paste product URLs (`https://creator.gumroad.com/l/slug`) to extract full details. When set, search inputs are ignored. |
| `maxItems` | integer | Max products to save (default **50**). `0` = no limit. Ignored in Product‑URL mode. |
| `proxyConfiguration` | object | Apify Proxy. Datacenter by default; switch to Residential **US** if you ever hit a challenge. |

#### Example input (default — trial‑friendly)

```json
{
  "query": "notion template",
  "sort": "default",
  "maxItems": 50,
  "proxyConfiguration": { "useApifyProxy": true }
}
```

#### Example input (category + sort, deeper pull)

```json
{
  "query": "",
  "category": "design",
  "sort": "most_reviewed",
  "maxItems": 500,
  "proxyConfiguration": { "useApifyProxy": true }
}
```

#### Example input (enriched discovery with category & sales count)

```json
{
  "query": "lightroom preset",
  "includeDetails": true,
  "maxItems": 100,
  "proxyConfiguration": { "useApifyProxy": true }
}
```

#### Example input (specific products)

```json
{
  "productUrls": [
    "https://productivesetups.gumroad.com/l/headquarters",
    "https://gumroad.com/l/some-slug"
  ]
}
```

***

### 📤 Output

Each product becomes one dataset record. Here is a **real record from a fresh run** (discover mode, query `notion template`):

```json
{
  "productId": "rS7gSD0HH4dRnYrlzIQHkg==",
  "permalink": "hpqcg",
  "name": "Headquarters Notion Productivity Template",
  "description": null,
  "priceCents": 7900,
  "price": 79,
  "currency": "AUD",
  "formattedPrice": "A$79",
  "isPayWhatYouWant": false,
  "ratingAverage": 5,
  "ratingCount": 201,
  "salesCount": null,
  "sellerId": "3915531815605",
  "sellerName": "Productive Setups",
  "sellerProfileUrl": "https://productivesetups.gumroad.com/",
  "sellerHandle": "productivesetups",
  "sellerIsVerified": false,
  "productUrl": "https://productivesetups.gumroad.com/l/headquarters",
  "thumbnailUrl": "https://public-files.gumroad.com/amydmj889wi1brzz5eeztpayq9ii",
  "coverUrl": "https://public-files.gumroad.com/amydmj889wi1brzz5eeztpayq9ii",
  "tags": null,
  "category": null,
  "nativeType": "digital",
  "recurrence": null,
  "durationInMonths": null,
  "isSalesLimited": false,
  "quantityRemaining": null,
  "url": "https://productivesetups.gumroad.com/l/headquarters",
  "searchQuery": "notion template",
  "scrapedAt": "2026-11-02T02:19:41.045Z"
}
```

In **Product‑URL mode** (or discover mode with `includeDetails: true`) you additionally get a populated `description` (summary / plain‑text), a full‑resolution `coverUrl`, the real `category` (full taxonomy path), and `salesCount` when the seller publicly shows it.

#### Field reference

| Field | Description |
| --- | --- |
| `productId` | Gumroad's internal product ID (used for deduplication). |
| `permalink` | Short product permalink slug. |
| `name` | Product title. |
| `description` | Summary / plain‑text description. Present in Product‑URL mode or with `includeDetails`. |
| `priceCents` | Price in cents, in the product's own currency. |
| `price` | Price in major units (e.g. dollars). |
| `currency` | ISO currency code (`USD`, `EUR`, `GBP`, `AUD`, `CAD`, …). |
| `formattedPrice` | Human‑readable price (`A$79`, `$9`, `Free`, `Pay what you want`). |
| `isPayWhatYouWant` | Whether the buyer names the price. |
| `ratingAverage` | Average star rating (0–5). |
| `ratingCount` | Number of ratings. |
| `salesCount` | Public lifetime sales — only when the seller enables it (else `null`). Most reliable in detail mode. |
| `sellerId` | Seller's internal ID. |
| `sellerName` | Creator / seller display name. |
| `sellerProfileUrl` | Creator's Gumroad profile URL. |
| `sellerHandle` | Creator's subdomain handle (e.g. `productivesetups`). |
| `sellerIsVerified` | Verified‑seller flag (boolean). |
| `productUrl` / `url` | Canonical product URL (tracking params stripped). |
| `thumbnailUrl` | Product thumbnail image. |
| `coverUrl` | Cover image (full resolution in detail mode). |
| `tags` | Tags you filtered on (discover) or product tags (detail mode). |
| `category` | Category taxonomy path. Present when you set a category filter or `includeDetails`. |
| `nativeType` | Product type: `digital`, `bundle`, `course`, `membership`, `ebook`, … |
| `recurrence` / `durationInMonths` | Membership billing cadence (`monthly`, …) / term, when applicable. |
| `isSalesLimited` / `quantityRemaining` | Limited‑quantity flags. |
| `isRecurringBilling` / `isTieredMembership` | Membership structure (detail mode). |
| `searchQuery` | The query that produced this record. |
| `scrapedAt` | ISO timestamp of extraction. |

#### 📊 Field coverage & reliability

| Emoji | Field group | Coverage | Description & Notes |
|---|---|---|---|
| 🆔 | `productId`, `permalink`, `name`, `productUrl`, `url` | 🟢 High (100%) | Gumroad product ID, URL slug, product name, and canonical product link |
| 💰 | `price`, `priceCents`, `currency`, `formattedPrice` | 🟢 High (100%) | Numeric price, minor units, ISO currency code, and formatted display price |
| 🎁 | `isPayWhatYouWant`, `nativeType` | 🟢 High (100%) | PWYW pricing flag and native product type (digital, course, membership, etc.) |
| ⭐ | `ratingAverage`, `ratingCount` | 🟢 High (100%) | Community average star rating (0-5) and total reviews count |
| 👤 | `sellerName`, `sellerProfileUrl`, `sellerHandle`, `sellerId` | 🟢 High (100%) | Creator display name, store link, subdomain handle, and merchant ID |
| 🛡️ | `sellerIsVerified` | 🟢 High (100%) | Boolean verification indicator for trusted creator accounts |
| 🖼️ | `thumbnailUrl`, `coverUrl` | 🟢 High (~99.8%) | Product preview thumbnail and cover image asset links |
| ⏱️ | `scrapedAt`, `searchQuery` | 🟢 High (100%) | Timestamp of extraction and input search query attribution |
| 🏷️ | `category`, `tags` | 🟡 Conditional (100% in detail mode / filter) | Taxonomy path and product tags (enriched via `includeDetails` or category filter) |
| 📝 | `description` | 🟡 Conditional (100% in detail mode / URLs) | Plain-text product summary and description (populated in detail mode or URLs) |
| 📈 | `salesCount` | 🟡 Conditional (~15-25%) | Public lifetime sales volume (opt-in metric shown only when creator enables it) |
| 🔄 | `recurrence`, `durationInMonths`, `isRecurringBilling` | 🟡 Conditional (~10%) | Membership billing interval and duration attributes |

> In fast discovery mode, core product identity, pricing, star ratings, and seller data reach **100% coverage with 0% duplicates**. Optional detail fields (`category`, `salesCount`, `description`) are enriched via `includeDetails: true` or Product URLs mode.

***

### 🔁 Pagination & scale

Gumroad serves **36 products per page** and reports a `total` for every search. The Actor pages through automatically (`from` cursor steps of 36) until it reaches your `maxItems` or the end of the result set, **de‑duplicating by `productId`** so you never get the same product twice across pages or inputs. A single broad search typically exposes a deep slice (often thousands of products), so you can pull large, targeted datasets in one run — in a recent verification run the Actor returned **500 unique products in ~27 seconds** with **zero duplicates**. For the widest coverage, combine a `query` or `category` with a `sort` and raise `maxItems` (set `0` for no limit).

***

### ⚙️ How to use

1. Open the Actor on **Apify Console** and set a `query` (or a `category`, or paste `productUrls`).
2. Choose a `sort` and a `maxItems` limit; optionally toggle `includeDetails` for category + sales count.
3. Click **Start** and watch the live log count products as they are saved.
4. Export from the **Dataset** tab (JSON, CSV, Excel, HTML, RSS) or fetch via the **Apify API**.
5. Automate it: run on a **schedule**, call it from the API, or wire the dataset into **Make, Zapier, Google Sheets** or a webhook for always‑fresh **Gumroad data**.

Runs are cheap on the default **datacenter** proxy. If Gumroad ever presents a Cloudflare challenge to a datacenter range, switch `proxyConfiguration` to **Residential** with country **US** — that also keeps prices in each product's native currency.

***

### 💡 Tips

- **Niche research:** set `query` to your niche and `sort` to `most_reviewed` to surface proven best‑sellers first.
- **Price mapping:** pull a category with `sort: price_desc` then `price_asc` to see the full price spread.
- **Lead gen:** every record carries `sellerName`, `sellerProfileUrl` and `sellerHandle` — dedupe on `sellerId` to build a clean creator list.
- **Need real categories or sales counts?** Turn on `includeDetails`, or shortlist first and feed the `productUrl`s back in via `productUrls` for full descriptions and cover images.
- **Go wide:** leave `query` empty and pick only a `category` to scan a whole vertical; set `maxItems: 0` for the maximum slice.
- **Spot pricing models:** `isPayWhatYouWant` and a `price` of `0` distinguish pay‑what‑you‑want, free and paid listings at a glance.

***

### ❓ FAQ

**Is scraping Gumroad legal?**
This Actor collects only publicly available data from Gumroad's own discover feed and public product pages — no login, no private data. As with any scraping, use the output responsibly, respect Gumroad's Terms of Service, and don't republish copyrighted content.

**Do I need a Gumroad account or API key?**
No. There is no official public Gumroad discovery API — this **Gumroad scraper** reads the public pages directly. No login, no key, no cookies.

**How many products can I get, and how fast?**
Up to your `maxItems`. Gumroad exposes a deep slice per search (often several thousand), paged 36 at a time. A fresh run returned **500 unique products in about 27 seconds** on the datacenter proxy.

**Which fields come back?**
Product name, permalink/ID, price (cents + dollars + formatted), currency, pay‑what‑you‑want flag, rating average and count, seller name/profile/handle/ID/verified flag, native type, thumbnail/cover and the canonical URL — all at ~100% coverage. `includeDetails` and Product‑URL mode add description, full cover, real category and public sales count.

**Can I get the number of sales?**
Only when a creator chooses to display their sales count publicly — Gumroad hides it otherwise, so `salesCount` is often `null`. It is most reliable in Product‑URL mode or with `includeDetails` on.

**Can I filter by category, tag or price?**
Yes — filter by `category` (18 top‑level categories) and `tags`, and sort by price (`price_asc` / `price_desc`), ratings, newest and more. You can post‑filter on `price`, `currency` or `nativeType` after export.

**How do I scrape a specific creator's products?**
Open their Gumroad profile, copy each product URL, and pass them in `productUrls`. Discover search is catalogue‑wide, not per‑creator.

**What categories can I filter by?**
3D, Audio, Business & Money, Comics & Graphic Novels, Design, Drawing & Painting, Education, Fiction Books, Films, Fitness & Health, Gaming, Music & Sound Design, Other, Photography, Recorded Music, Self Improvement, Software Development, Writing & Publishing.

**Why are some prices `0`?**
Free products and pay‑what‑you‑want products return `0` cents; the `isPayWhatYouWant` flag distinguishes them, and `formattedPrice` shows `Free` or `Pay what you want`.

**How fresh is the data?**
Every run hits Gumroad live, so the data is current at run time (`scrapedAt` records the exact moment). Schedule the Actor to keep a dataset continuously up to date.

**How can I extract 1,000+ digital products in bulk?**
Set `maxItems` to 1,000 or higher. For broader vertical harvesting, specify a `category` (such as `self-improvement` or `design`) or leave `query` blank to crawl across all top discover listings. The actor will step through sequential pagination pages (36 products per page) and deduplicate records on `productId` in real time.

**How does multi-currency pricing work?**
Gumroad products are priced in the seller's base currency (e.g., USD, EUR, GBP, AUD, JPY). Each record includes both `priceCents` (minor units) and `price` (standard decimal units), alongside the detected ISO `currency` code and human-readable `formattedPrice`.

**In what format can I export the data?**
JSON, CSV, Excel, HTML table or RSS — from the dataset UI or the Apify API.

***

### 🔗 Related scrapers

Part of a family of creator‑economy and marketplace scrapers:

- [Patreon Scraper](https://apify.com/haketa/patreon-scraper) — creators, membership tiers, patron counts and pricing.
- [Product Hunt Launches Scraper](https://apify.com/haketa/producthunt-launches-scraper) — trending product launches, upvotes and makers.
- [Skool Scraper](https://apify.com/haketa/skool-scraper) — community discovery with members, price and ratings.
- [Substack Scraper](https://apify.com/haketa/substack-scraper) — newsletters, authors and subscriber signals.
- [Discogs Scraper](https://apify.com/haketa/discogs-scraper) — music releases, pricing and marketplace supply.
- [Shopify Store Scraper](https://apify.com/haketa/shopify-store-scraper) — products, prices and variants from Shopify stores.

***

### 📋 Changelog

#### v1.2 (2026-11)

- **1,000+ deep pagination unlocked**: Upgraded discover pagination loop so setting `maxItems: 1000+` smoothly crawls through consecutive 36-item cursor batches without artificial cutoffs.
- **Fast prefill optimization**: Set `maxItems: 0` (unlimited auto-pagination) with a 50-item fast prefill for sub-30s sample runs.
- **Enhanced Inertia.js pipeline**: Fortified direct JSON state handling with Firefox fingerprinting for reliable Cloudflare clearance.
- **Schema & field normalization**: Aligned `dataset_schema.json` views, ensured display types, and added multi-currency support.

#### v1.1 (2026-10)

- **Dual extraction mode**: Added direct product URL extraction mode with full description, high-res cover art, and creator taxonomy enrichment.
- **Pay-per-event instrumentation**: Integrated fine-grained charge events for discovery vs detailed extraction tiers.

#### v1.0 (2026-09)

- Initial release featuring Gumroad discover feed search, tag filtering, creator profile extraction, and star rating metrics.

***

**Ready to pull a whole niche of digital products? Set a `query`, raise `maxItems`, and hit Start to scrape Gumroad now.**

# Changelog

This Actor's version history is a separate document: https://apify.com/haketa/gumroad-scraper/changelog.md

# Actor input Schema

## `query` (type: `string`):

Full-text search on Gumroad's discover feed, e.g. <b>notion template</b>, <b>lightroom preset</b>, <b>ai course</b>. Leave empty to browse the whole catalogue (optionally narrowed by category/tag).

## `tags` (type: `array`):

Filter results to one or more Gumroad tags, e.g. <b>notion template</b>, <b>vrchat</b>, <b>procreate</b>. Combined with the search query.

## `category` (type: `string`):

Limit results to one top-level Gumroad category. Combined with the search query.

## `sort` (type: `string`):

Order of the discover results.

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

Off (default): fast, cheap discovery — the search feed does NOT expose a per-product category, so <b>category</b> is only filled when you pick a Category filter above. On: open each product's own page to enrich it with its real <b>category</b> (full taxonomy path, e.g. <code>self-improvement/productivity</code>), <b>salesCount</b>, <b>summary</b> and <b>description</b>. This is noticeably slower and heavier (one extra request per product). Product URLs mode always returns these details.

## `productUrls` (type: `array`):

Instead of searching, extract specific products. Paste full Gumroad product URLs, e.g. <code>https://creator.gumroad.com/l/slug</code> or <code>https://gumroad.com/l/slug</code>. When set, search inputs above are ignored and each product is returned with its full details (summary, description, sales count when public, cover image).

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

Maximum number of products to save. Set 0 for no limit / automatic pagination governed by available results. Prefill 50 for quick trial. Ignored in Product URLs mode (all pasted URLs are fetched).

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

Apify Proxy. Datacenter (the default) works for this endpoint. If you ever hit a Cloudflare challenge, switch to <b>Residential</b> with country <b>US</b> — this also keeps prices in each product's native currency.

## Actor input object example

```json
{
  "query": "notion template",
  "tags": [],
  "category": "",
  "sort": "default",
  "includeDetails": false,
  "productUrls": [],
  "maxItems": 50,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

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

Open to view, filter and export all scraped results from this run (JSON, CSV, Excel).

# 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 = {
    "query": "notion template",
    "tags": [],
    "includeDetails": false,
    "productUrls": [],
    "maxItems": 50,
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("haketa/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 = {
    "query": "notion template",
    "tags": [],
    "includeDetails": False,
    "productUrls": [],
    "maxItems": 50,
    "proxyConfiguration": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("haketa/gumroad-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 '{
  "query": "notion template",
  "tags": [],
  "includeDetails": false,
  "productUrls": [],
  "maxItems": 50,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call haketa/gumroad-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,haketa/gumroad-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/4FnixtIiOsB4b91ew/builds/Sq6EcHAUDnZ3BDnFH/openapi.json
