{
  "openapi": "3.0.1",
  "info": {
    "title": "Gumroad Product Search & Storefront Extractor",
    "description": "Search Gumroad digital products by keyword, look up specific product URLs, or pull a whole seller storefront, with price, rating, product type and creator details per item.",
    "version": "1.1",
    "x-build-id": "zubjuelYWJCVnwtus"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/nimbryxo-studio~gumroad-product-search-and-storefront-extractor/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-nimbryxo-studio-gumroad-product-search-and-storefront-extractor",
        "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/nimbryxo-studio~gumroad-product-search-and-storefront-extractor/runs": {
      "post": {
        "operationId": "runs-sync-nimbryxo-studio-gumroad-product-search-and-storefront-extractor",
        "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/nimbryxo-studio~gumroad-product-search-and-storefront-extractor/run-sync": {
      "post": {
        "operationId": "run-sync-nimbryxo-studio-gumroad-product-search-and-storefront-extractor",
        "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",
        "required": [
          "mode"
        ],
        "properties": {
          "mode": {
            "title": "Mode",
            "enum": [
              "searchProducts",
              "byProductUrls",
              "bySellerUrls"
            ],
            "type": "string",
            "description": "searchProducts searches Gumroad Discover. byProductUrls reads exact product pages in full. bySellerUrls reads every public product of a creator.",
            "default": "searchProducts"
          },
          "searchQueries": {
            "title": "Search queries",
            "type": "array",
            "description": "Keywords to search on Gumroad Discover (mode=searchProducts). One query per line, e.g. notion template, lightroom presets, vrchat avatar.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "productUrls": {
            "title": "Product URLs",
            "type": "array",
            "description": "Gumroad product links to read in full (mode=byProductUrls), e.g. https://creator.gumroad.com/l/product. Filters still apply.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "sellerUrls": {
            "title": "Creator storefront URLs",
            "type": "array",
            "description": "Gumroad creator stores to read in full (mode=bySellerUrls), e.g. https://creator.gumroad.com or https://gumroad.com/creator. Every public product in the store is collected once.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "tags": {
            "title": "Tags",
            "type": "array",
            "description": "Gumroad Discover tags (mode=searchProducts). Multiple tags are combined with AND, e.g. notion and template.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "category": {
            "title": "Category",
            "enum": [
              "all",
              "drawing-and-painting",
              "3d",
              "design",
              "music-and-sound-design",
              "gaming",
              "self-improvement",
              "films",
              "education",
              "software-development",
              "business-and-money",
              "photography",
              "comics-and-graphic-novels",
              "writing-and-publishing",
              "fitness-and-health",
              "fiction-books",
              "recorded-music",
              "audio"
            ],
            "type": "string",
            "description": "Top-level Gumroad category to browse. Leave 'All categories' to search the whole marketplace.",
            "default": "all"
          },
          "subcategory": {
            "title": "Subcategory path (optional)",
            "type": "string",
            "description": "Nested Gumroad category path that overrides Category, e.g. 3d/vrchat, design/icons, software-development/web-development."
          },
          "sort": {
            "title": "Sort results",
            "enum": [
              "featured",
              "best_sellers",
              "most_reviewed",
              "highest_rated",
              "newest",
              "hot_and_new",
              "curated",
              "price_asc",
              "price_desc"
            ],
            "type": "string",
            "description": "Gumroad's own result order for keyword, tag and category searches.",
            "default": "featured"
          },
          "nativeTypes": {
            "title": "Product types",
            "type": "array",
            "description": "Only include these Gumroad product types: digital, course, ebook, membership, bundle, podcast, audiobook, newsletter, physical, commission, call, coffee, ticket. Leave empty for all types.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "fileTypes": {
            "title": "Included file types",
            "type": "array",
            "description": "Only include products that ship at least one of these formats, e.g. pdf, zip, mp4, psd, epub, blend. In creator mode this reads product pages to verify formats.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "minPrice": {
            "title": "Minimum listed price",
            "minimum": 0,
            "maximum": 1000000,
            "type": "number",
            "description": "Minimum price in the product's own listed currency. Free products are 0. Use USD prices from details mode for cross-currency comparisons."
          },
          "maxPrice": {
            "title": "Maximum listed price",
            "minimum": 0,
            "maximum": 1000000,
            "type": "number",
            "description": "Maximum price in the product's own listed currency. Use 0 for free products only."
          },
          "minRating": {
            "title": "Minimum average rating",
            "minimum": 0,
            "maximum": 5,
            "type": "number",
            "description": "Drop products rated below this value (0–5). Products without ratings are skipped when this is set."
          },
          "freeOnly": {
            "title": "Free products only",
            "type": "boolean",
            "description": "Only include products listed at price 0.",
            "default": false
          },
          "payWhatYouWantOnly": {
            "title": "Pay-what-you-want only",
            "type": "boolean",
            "description": "Only include products where the buyer can set the price.",
            "default": false
          },
          "sellerVerifiedOnly": {
            "title": "Verified creators only",
            "type": "boolean",
            "description": "Only include products from creators Gumroad marks as verified.",
            "default": false
          },
          "includeDetails": {
            "title": "Read full product pages",
            "type": "boolean",
            "description": "Add full descriptions, file formats and sizes, variants, billing recurrences, refund policy, sales count, rating breakdown, creation/update dates and the USD price Gumroad displays.",
            "default": false
          },
          "includeReviews": {
            "title": "Collect written reviews",
            "type": "boolean",
            "description": "Add public written reviews (rating, message, public rater display name, date, creator reply). Written reviews only; star-only ratings are counted in ratingCount.",
            "default": false
          },
          "maxReviewsPerProduct": {
            "title": "Max reviews per product",
            "minimum": 1,
            "maximum": 1000,
            "type": "integer",
            "description": "Upper limit for written reviews collected per product.",
            "default": 20
          },
          "includeSellerRecord": {
            "title": "Emit creator records",
            "type": "boolean",
            "description": "Also emit one seller record per unique creator. Seller records do not count toward Max items and are capped at 1,000 per run.",
            "default": true
          },
          "sellerQuery": {
            "title": "Filter storefront products",
            "type": "string",
            "description": "Optional text filter for mode=bySellerUrls. Keeps creator products whose name or permalink contains this text."
          },
          "monitorMode": {
            "title": "Monitor for new or changed products",
            "type": "boolean",
            "description": "When enabled, products unchanged since the last run with this key are skipped. First run emits everything.",
            "default": false
          },
          "monitorKey": {
            "title": "Monitor key",
            "type": "string",
            "description": "Name of the saved snapshot. Use one key per search, storefront or product list you schedule.",
            "default": "default"
          },
          "maxItems": {
            "title": "Max products",
            "minimum": 1,
            "maximum": 5000,
            "type": "integer",
            "description": "Maximum product records to emit. Seller records are emitted on top of this cap.",
            "default": 50
          }
        }
      },
      "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
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "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
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}